This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I can't stop JBoss server from IDE. It is stuck forever. To reproduce: - add jboss-4.0.4.GA server instance to Runtime view - start server using context menu and wait until it is up - stop server using context menu. Progress bar starts to run but JBoss console doesn't change. It stays in that state (see attached thread dump) until it time outs. If I shutdown server from command line, it works well. Build 20060919-0644, JDK1.6.0-b99, WindowsXP, jboss-4.0.4.GA.
Created attachment 34309 [details] Thread dump.
I can reproduce it with JDK1.5.0_07 and build 200607010200.
Is this a regression, or did this never work?
I cannot reproduce it on my machine.
I can everytime. Cannot be cause find out from thread dump?
I can not reproduce on my machine (JDK 1.5.0_06, Win XP, jboss-4.0.4.GA). Jirko, can you please attach the JBoss console output and the JBoss log file (under server/default/log)? Thanks.
Jirko, can you please also try with NetBeans 5.0, so we know if this is a regression? Thanks.
I can reproduce it even with NB5.0. It is strange because I think it used to work on my computer before.
Created attachment 34366 [details] Logs from JBoss and IDE.
Fixed in the release55_dev branch. Checking in src/org/netbeans/modules/j2ee/jboss4/ide/JBStopRunnable.java; /cvs/serverplugins/jboss4/src/org/netbeans/modules/j2ee/jboss4/ide/Attic/JBStopRunnable.java,v <-- JBStopRunnable.java new revision: 1.1.2.6.6.1; previous revision: 1.1.2.6 done
Created attachment 34386 [details] patch
The problem was that the JAVA_HOME environment property was not set.
The fix seems fine to me.
Verified in NetBeans 5.5 Dev 20060925-0755.
Fix merged to the release55 branch. Checking in src/org/netbeans/modules/j2ee/jboss4/ide/JBStopRunnable.java; /cvs/serverplugins/jboss4/src/org/netbeans/modules/j2ee/jboss4/ide/Attic/JBStopRunnable.java,v <-- JBStopRunnable.java new revision: 1.1.2.7; previous revision: 1.1.2.6 done
Verified in build 20060927-0520.