Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4451831
Votes 0
Synopsis jmqadmin: On Linux Platform Add Destination Object causes a hang
Category jmq:admin
Reported Against 2.0fcs
Release Fixed
State 11-Closed, duplicate of 4392518, bug
Priority: 3-Medium
Related Bugs 4392518
Submit Date 27-APR-2001
Description
jmqadmin on Linux Platform Add Destination Object causes a hang.

Steps to reproduce the problem:

Start jmqadmin
1) Create a file based  customer  store.
2) Click on the  customer  store that created in the previous step
3) Slect Add Destination Object.
4) Now type in a lookup name for the  customer  = myQueue
5) Click OK to create the  customer 


Now repete step 2 and 3 this will cause the jmqadmin to hang.
Work Around
De(iconify) dialog from the control panel.

Use latest gnome binaries.
Evaluation
  xxxxx@xxxxx   2001-04-27
-------------------------
I am able to reproduce this using Redhat Linux 6.2 using Gnome.

What I also notice is that the second time *any* dialog is invoked in jmqadmin,
it is not shown and 'hangs' jmqadmin. This is due to the fact that the dialogs
are brought up in iconic state. If you look at the control panel at the bottom,
you should see an entry that corresponds to the dialog. It is probably labelled
"Add Destination Object" or whatever the dialog has as a title. jmqadmin is hung
at this stage because this dialogs are modal.

If you click on the dialog's entry in the control panel to deiconify it, it should
come up and everything should be fine.

This behaviour is not seen with Netscape Communicator's dialogs, but it is 
reproducible with SimpleChat and more importantly the SwingSet demo (it's "About" dialog).

I did more digging and found these bugs:

4392518 - Incorrect window (swing) handling with Gnome/enlightenment
4390137 - Frame is not getting visible in Linux once hidden
4393054 - hidden frames fail to be reshown under linux - they stay iconised

Apparently, this problem is a JDK/AWT bug which exists in JDK 1.3. I believe it is
addressed in the next version of the JDK. I will close this bug as a duplicate
of 4392518.

I also attempted to verify if this problem is indeed fixed in the next rev of the JDK but
I was not able to run jmqadmin using an internal build - I get some
JTree stack overflow error:

Exception in thread "main" java.lang.StackOverflowError
        at javax.swing.tree.VariableHeightLayoutCache.getNodeForPath(VariableHeightLayoutCache.java:805)

but I'm asuming that this is due to this stuff not even being beta quality.

However, running SimpleChat using the mentioned internal build shows that the iconified dialog
problem no longer exists, so it appears to be fixed.

Also, I tried to reproduce this problem using the latest Gnome binaries from www.ximian.com
- it is no longer reproducible with the latest gnome stuff.
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang