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.
JBoss 4.0.3RC2 can't be stopped from IDE. To reproduce: - unzip jboss-4.0.3RC2.zip into D:\ - add 'set JAVA_HOME=E:\jdk1.5.0_04' to E:\Program Files\bin\run.bat, shutdown.bat - start IDE - add JBoss server in Runtime tab - start JBoss server using popup menu Start on server node and wait until it is running. - try to stop JBoss server using Stop popup menu. Nothing happens in output window and it timeouts with the message: "Stop server JBoss Application Server 4.0 timeout or interrupted" Build 200509131800, JDK1.5.0_04, WindowsXP, JBoss4.0.3RC2.
I will take a look at this.
Works for me. XP, 1.5.0_04, jb-4.0.3RC2, space in install path and start/stop works just fine, either called from popup menu or from the icons in output tab. Can you reproduce this often or 100% or just once? After you got this error did you try to stop the server again, and what happened?
Probably fixed with issue 64456.
Nope, it's still and issue for jboss 4.0.3sp1. Tried to stop jboss from either runtime 'Jboss Application Server 4.0.3' icon or from Output Window 'Jboss Application Server 4.0.3' 'X' icon and still spins forever - no shutdown message in log. Basically have to exit NetBeans and kill any java.exe processes hanging around. Nasty as I have to re-start for each change.
Is it 100% reproducible? Which build of NetBeans do you have?
I'm currently seeing the same or a similar issue but only on Windows. Because I can't reproduce it on Linux with the same versions I assume its an environment or Windows related problem rather than a Netbeans bug. Versions: Java 1.5.0_07. JBoss 4.0.4GA-Patch1 (ejb3-clustered config) NetBeans 5.5 beta 2 I'm not sure whether it's worth reopening this, I'll leave it up to you. It seems 100% reproducible on my Windows machine. Let me know if you want any logs etc. Martin
Please provide the steps leading to the error and attach the server log, messages log and the Output console content.
Recently I have filed issue 81951. Please, look at it whether it is the same. If not, please write your steps to reproduce the failure as lkotouc requested.
I've looked and I don't think what I'm seeing is the same as 81951. Steps to reproduce (versions listed in my previous post): 1. Install + Register JBoss 4.0.4GA-patch1 if necessary (I have it installed in c:\java\jboss-4.0.4.GA) 2. Start JBoss from Runtime menu 3. Stop JBoss from Runtime menu or server log window or exit NetBeans The "Stopping JBoss" progress bar appears and nothing else seems to happen. The JBoss JVM does not exit, the server log does not contain shutdown messages. Eventually the progress bar disappears and the server is still running. I'll attach the log files in a few minutes.
Created attachment 32640 [details] JBoss Server Log
Created attachment 32641 [details] Netbeans messages.log
Created attachment 32642 [details] Server Console Output
I believe that this issue is really duplicate of the issue 81951. Thread dump could clarify it. Please run IDE with -J-Dnetbeans.serverplugins.jboss4.logging parameter and paste the lines from the messages log which are printed while trying to run and stop the server. Please do the thread dump during unsuccessfull stopping and attach it also. Thank you.
I just see a lot of lines like this in messages.log: Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@838fd6 Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@1e39ebf Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@f74fc5 Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@b6a52e ..... I'll attach a thread dump in a minute.
Created attachment 32680 [details] NB Thread Dump During Stop
Sorry, the messages are written into the standard output - just run the IDE from the command line using nb.exe command and messages should appear in the console
Just tried that. This is all I saw in the output: ************START thread 58 STARTING message fired STARTED message fired Startup thread NOTIFIED
Thanks for your help, it is really duplicate of the issue 81591. I am just going to commit the fix, just checkout the serverplugins/jboss4 module or wait for the daily build which should be ready following morning CET.
I just tried the daily build for 20060810 and JBoss is still not stopping. Should the fix be in there or do I need to wait a bit longer?
On netbeans 8.0.2 the jboss is started but never shows enabled the stop option. I'm on Windows 7 64 bits and I'm running it with jdk 6.0. My NB JDK is 1.8.0
(In reply to javatlacati from comment #20) > On netbeans 8.0.2 the jboss is started but never shows enabled the stop > option. > I'm on Windows 7 64 bits and I'm running it with jdk 6.0. My NB JDK is 1.8.0 I see the same issue. I am on Windows 7, Netbeans 8.1 with Jboss 1.7. Basically it can start the server, but it can't stop the server. If I click on the "stop" button, it hangs forever. To stop the server, I open up a command prompt window and issue the following command... jboss-cli.sh --connect command=:shutdown After that, Netbeans recognizes that Jboss is shut down.
What JDK is NB and JBoss running on? Can you try with the dev build of NetBeans? Is there any firewall in place? Please provide IDE log and thread dump if it is reproducible. Works fine for me. Also note JBoss 7 is not supported anymore by RedHat and it does not work with JDK8.