[jboss-user] [Beginners Corner] - Re: shutdown.bat and cntrl-c not working but web-console and

PeterJ do-not-reply at jboss.com
Tue Jun 24 18:10:58 EDT 2008


If you have not changed the ports JBossAS is using, you should be able to stop JBossAS (running on the same machine) using:

shutdown -S

Are you running shutdown on the same machine on which JBossAS is running? If not, did you start JBossAS using the "-b 0.0.0.0" option? If you did, then stopping a remote JBossAS can be done using:

shutdown -S --server=hostname

If you tried the above and still have problems, do this:

1) run netstat (or tcpview) and note the ports opened by JBossAS (they will be assigned to 'java', if you are running multiple java apps, you will have to also look at the process id to identify the ports assigned to JBossAS)

2) Post the java command run when you run shutdown.bat

3) Once shutdown.bat hangs, type CTRL-Break and post the thread dump.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160371#4160371

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160371



More information about the jboss-user mailing list