Configuring multiple JBoss instances on one machine

Look at this link:
I chose the alternative port method as I didnd’t have multiple ip
addresses on my machine.
I created these 2 new jboss locations :
  • $JBOSS_HOME/server/node1
  • $JBOSS_HOME/server/node2
and modified the jboss-server.xml file for each under the conf
directory, setting ports-01 for node1, ports-02 for node2.
Then I started each instance as…
  • $JBOSS_HOME/bin/run.sh -c node1 &
  • $JBOSS_HOME/bin/run.sh -c node2 &
That got me up and running at these ports with no conflicts:
2010-08-09 00:30:09,289 INFO  [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8180
http://localhost:8180/
2010-08-09 00:33:01,995 INFO  [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8280
http://localhost:8280/
Explore posts in the same categories: Java J2EE

Comment: