5 Replies Latest reply on Jun 29, 2004 2:53 AM by ryo1986

    Shutdown Jboss server problem

    ryo1986

      Hi,

      When i close the dos windows containing jboss server, or when i stop the jboss service. the system don't wait for the end of the prossess.

      For Dos a message to force the end of the program appear, for service it stop but the process are not finish yet.

      How can i do to force the system to wait for the end of the jboss shutdown.

      Regards

        • 1. Re: Shutdown Jboss server problem
          ryo1986

          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

          A solution?

          • 2. Re: Shutdown Jboss server problem
            vamosb

            My problem is the following:

            Config:
            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?

            Balazs VAMOS

            • 3. Re: Shutdown Jboss server problem
              ryo1986

              Hi,

              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.

              regards

              • 4. Re: Shutdown Jboss server problem
                dannyyates

                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.

                • 5. Re: Shutdown Jboss server problem
                  ryo1986

                  I try to make a shutdown without halting the JVM
                  with config.setExitOnShutdown(false);

                  But the system cannot stop properly the jboss-service.xml and jboss-jca.sar make a ConcurrentModificationException (3.0.8 and 3.2.4)

                  an idea?

                  regards