Snippets code from my daily experience

June 9, 2007

More Jboss on same machine (shutdown)

Filed under: java, jboss — dafi @ 9:19 am

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

3 Comments »

  1. tnx you have solved my problem today…….

    Comment by mrbyte — November 7, 2007 @ 4:11 pm | Reply

  2. 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 | Reply

  3. 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 | Reply


RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.