I try with javawrapper and this message appear when i shutdown my service:
INFO | jvm 1 | 2004/06/11 10:40:23 | 10:40:23,552 INFO [HypersonicDatabase] Stopping
ERROR | wrapper | 2004/06/11 10:40:30 | Shutdown failed: Timed out waiting for the JVM to terminate.
ERROR | wrapper | 2004/06/11 10:40:30 | JVM did not exit on request, terminated
STATUS | wrapper | 2004/06/11 10:40:30 | <-- Wrapper Stopped
My problem is the following:
RedHat ES 3.0
JBoss 3.2 with default server config
JBoss is binded to a specific IP address, not 0.0.0.0.
I start it with 'jboss_redhat_init.sh start'.
It starts successfully and listening only that IP address what I binded to.
But if I want to stop it with 'jboss_redhat_init.sh stop' it tries to connect to localhost:1099, but cannot of course, because it does not listen on localhost.
Why wants shutdown process connect to localhost? How can I stop the server then?
on the Shutdown.jar you can find a jndi.properties
modify this file with your good IP adress or network name and the good port.
Also i found a solution to my problem on warpper use no delay at shutdown and wrapper wait for the end of the shutdown.
Or, instead of hacking config files, you could run 'shutdown.bat' (or 'shutdown.sh') with no parameters and discover that there's a '-s' option which appears to solve the problem.
I try to make a shutdown without halting the JVM
But the system cannot stop properly the jboss-service.xml and jboss-jca.sar make a ConcurrentModificationException (3.0.8 and 3.2.4)