-
1. Re: how to shutdown one instance
wdfink Jan 13, 2012 5:21 AM (in response to boiter)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 Jan 13, 2012 6:20 AM (in response to wdfink)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 Jan 13, 2012 7:17 AM (in response to boiter)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 Feb 21, 2012 10:08 AM (in response to boiter)It was nice to see that my question that was similar to this was answered. Thank you.
_________________