4 Replies Latest reply on Feb 21, 2012 10:08 AM by vitarex79

    how to shutdown one instance

    boiter

      Hi

       

      i am new to Jboss, i created instances and i can run them. so i want to know how to shutdown one instance?

        • 1. Re: how to shutdown one instance
          wdfink

          Hi,

           

          how do you run the instance?

          Simple call on a shell 'run.sh (bat) ? - Just press CTRL-C and the server stops

           

          If you run it in background you might use the shutdown script, if you have more than one server running you have to set the servers IP address and JNDI port to stop the correct instance.

          Also you might use 'kill yJVM PID>' if you use a UNIX, the server is shuting down on receive SIG-TERM.

           

          Or did you use AS7, here this will be different!

          • 2. Re: how to shutdown one instance
            boiter

            Hi

             

            i created scripts : run -inst2.bat,run -inst3.bat and run -inst4.bat

            and inside the script is run.bat -c instance2, run.bat -c instance3 and run.bat -c instance4. 

             

            all instances they have different ports.

             

            i think CTRL -C is going to work for me. i am on windows mind u.

             

            thanx

            • 3. Re: how to shutdown one instance
              wdfink

              For testing and playing it will be ok.

              I hope you change the ports by using the port-binding manager https://community.jboss.org/wiki/ServiceBindingManager otherwise it is a lot of work to find all ports

              If you have no more questions you should mark the thread as 'answered' to make life of other community members easy.

               

              your welcome

              • 4. Re: how to shutdown one instance
                vitarex79

                It was nice to see that my question that was similar to this was answered. Thank you.

                _________________

                IPL Photofacial

                Stop Smoking Laser