5 Replies Latest reply on Aug 6, 2003 9:12 AM by driver

    [b]shutdown.sh[/b] in JBOSS/bin does not work

    sysuser1

      We have run.sh to start the JBOSS which works fine & shutdown.sh to shut the JBOSS down.
      shutdown.sh has no effect on the running JBOSS!!

        • 1. Re: [b]shutdown.sh[/b] in JBOSS/bin does not work
          jbossfan

          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..

          jbossfan..

          • 2. Re: [b]shutdown.sh[/b] in JBOSS/bin does not work
            sysuser1

            I tried this option "-S" but still with no success.
            Please help!!

            • 3. Re: [b]shutdown.sh[/b] in JBOSS/bin does not work
              jonlee

              I think the previous poster was trying to say:
              ./shutdown.sh --

              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* ;)

              • 4. Re: [b]shutdown.sh[/b] in JBOSS/bin does not work
                jbossfan

                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..

                good luck

                jbossfan..

                • 5. Re: [b]shutdown.sh[/b] in JBOSS/bin does not work
                  driver

                  Hi all,

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