if u read the help file, u will know the default argument of shutdown is -S, the answer is simple -- the default -S does not work.. so, try to modify almost the bottom line of shutdown.sh, replace a two-letter string like "@*" into "-S".. then it should stop jboss finely..
ps.. the damn problem bored me 3 months..
I tried this option "-S" but still with no success.
I think the previous poster was trying to say:
This should work as long as your JNDI port is open (1099). We had a client's sysadmin actually disable it in the conf/jboss-service.xml and we spent a day trying to work out why they couldn't shutdown their JBoss service when it was originally working flawlessly. *sigh* ;)
sry.. i mean,, at the bottom line of Shutdown.sh, it is org.jboss.Shutdown ...... i simply modified this line to org.jboss.Shutdown -S then it works perfectly..
i had the same Problem with the shutdown.sh but
the -S at the bottom line helped a little.
and still :
the server says :
03-08-06 16:59:40,178 INFO [org.jboss.jbossweb] Stopping Acceptor ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8080]
2003-08-06 16:59:40,179 INFO [org.jboss.jbossweb] Stopped SocketListener on 0.0.0.0:8080
2003-08-06 17:00:20,652 INFO [org.jboss.system.server.Server] Shutting down
2003-08-06 17:00:20,653 DEBUG [org.jboss.system.server.Server] exitOnShutdown: true
2003-08-06 17:00:20,653 DEBUG [org.jboss.system.server.Server] blockingShutdown: false
2003-08-06 17:00:20,653 INFO [org.jboss.system.server.Server] Shutting down the JVM now!
.. but the VM does not stop!
any suggestions ??