When you run the shutdown.sh script Jboss receives a “communication” through the NamingService port (default 1099) so if you want to stop a second Jboss instance you must modify the shutdown.sh script adding the line shown below:
JAVA_OPTS=-Djava.naming.provider.url=jnp://localhost:2099
Change the port number (in example 2099) to your Jboss correct value
Amazon wish list
tnx you have solved my problem today…….
Comment by mrbyte — November 7, 2007 @ 4:11 pm |
sorry…….
not work for me, i have solved with
$ shutdown.sh localhost
= the port that i have configured in my second jboss
Comment by mrbyte — November 7, 2007 @ 7:04 pm |
Solved my problem too ^_^
NamingService port number is in jboss-service.xml file … juste in case it can help beginner like me.
Comment by J2FF — November 25, 2009 @ 2:28 pm |