-
1. Re: How to stop multiple instances on same server in jboss-7.1.1 final?
indranil32 Oct 11, 2013 4:01 AM (in response to gupta.sakshi001)if your Jboss AS is running as user jboss-as/jboss, just search the PIDs and kill them.
Small script to do it together.
for i in `ps -ef | grep ${jboss-user}| awk '{print $2}'`;
do
kill -9 $i
done
-
2. Re: How to stop multiple instances on same server in jboss-7.1.1 final?
gupta.sakshi001 Oct 11, 2013 4:46 AM (in response to indranil32)But i do not want to kill it.I want to shut it down.So please tell me any other way.
-
3. Re: How to stop multiple instances on same server in jboss-7.1.1 final?
indranil32 Oct 11, 2013 5:32 AM (in response to gupta.sakshi001)If you have 10 different standalone folders[which is quite surprising], that means you are running 10 different jboss instances. Each standalone folder should have its own mgmt-users.properties & application-users.properties file. Hence you cannot connect to all of them at the same time.
Best way is convert them into OS services [How to install JBoss AS 7 as a Linux service] and use : service {serviceName} start/stop
-
4. Re: How to stop multiple instances on same server in jboss-7.1.1 final?
gupta.sakshi001 Oct 11, 2013 6:27 AM (in response to indranil32)Can you tell me what is {serviceName} in service {serviceName} start/stop ?? and i am able to run all 10 instances by this method.
-
5. Re: How to stop multiple instances on same server in jboss-7.1.1 final?
indranil32 Oct 11, 2013 6:27 AM (in response to gupta.sakshi001)Please check the link i provided.