1 Reply Latest reply on Apr 29, 2005 11:02 AM by peterj

    Jboss 4 shutdown of non-default server in background

      Hello,

      I have created an identical server as "default". I named it as "devl".

      I am able to successfully start the "devl" server and work on it. If i start the "devl" server in foreground , I can shutdown by "ctrl-c". But How to shutdown the server that is started in background from the commandline. The shutdown.sh does not work for me.

      I tried the options in jboss documentation, but was unsuccessful. Can someone help?

      One other option is to shutdown the "devl" server is from admin console. But I am looking forward to stop it from the command line, so that the script can be invoked at the time of a unix server reboot.

      Thanks in advance.

      Regards,
      Rajesh.

        • 1. Re: Jboss 4 shutdown of non-default server in background
          peterj

          Is the admin console you mentioned the one provided by Unisys? If so, and if you used the admin console to create the 'devl' configuration, you should have a JBOSS_HOME/bin/JBossConsole/devl-stop.sh script. Just run that to stop the 'devl' server.

          If not, try the following when running shutdown.sh:

          ./shutdown.sh -s <your-host-name>:<jndi-port>


          For example, when I used the admin console to create the 'devl' server, to shut it down I type:

          ./shutdown.sh -s usmv-johnsop1-l:1199


          Hope this helps.