Difference between revisions of "Several JBoss instances in the same server"
From OpenKM Documentation
(Created page with 'You can have several JBoss instances in the same server, and only need to modify some default JBoss ports. # Edit ''$JBOSS_HOME/server/default/deploy/jbossweb-tomcat55.sar/serv…') |
|||
Line 2: | Line 2: | ||
# Edit ''$JBOSS_HOME/server/default/deploy/jbossweb-tomcat55.sar/server.xml'' and change these ports: 8080, 8009 and 8443. | # Edit ''$JBOSS_HOME/server/default/deploy/jbossweb-tomcat55.sar/server.xml'' and change these ports: 8080, 8009 and 8443. | ||
− | # Edit ''$JBOSS_HOME/server/default/conf/jboss-service.xml'' and change these ports: | + | # Edit ''$JBOSS_HOME/server/default/conf/jboss-service.xml'' and change these ports: 8083, 4444, 4445, 1098 and 1099. |
# Edit ''$JBOSS_HOME/server/default/deploy/jms/uil2-service.xml'' and change this port: 8093. | # Edit ''$JBOSS_HOME/server/default/deploy/jms/uil2-service.xml'' and change this port: 8093. | ||
# Edit ''$JBOSS_HOME/bin/shutdown.sh'' and add to the last "localhost" line the new HTTP port. | # Edit ''$JBOSS_HOME/bin/shutdown.sh'' and add to the last "localhost" line the new HTTP port. | ||
Line 14: | Line 14: | ||
</source> | </source> | ||
− | {{Advice | + | {{Advice|The simpliest way is increasing the default port by +1, keeping in mind the pairs 4444-4445 and 1098-1099 where your have to add +2 because are consecutives. Following this advice the news port will be: |
* 8080 -> 8081 (Put this one in the shutdown.sh script) | * 8080 -> 8081 (Put this one in the shutdown.sh script) | ||
* 8009 -> 8010 | * 8009 -> 8010 | ||
Line 23: | Line 23: | ||
* 1098 -> 1100 | * 1098 -> 1100 | ||
* 1099 -> 1101 | * 1099 -> 1101 | ||
− | * 8093 -> 8094 | + | * 8093 -> 8094}} |
More info about this topic at: | More info about this topic at: |
Revision as of 12:25, 9 February 2010
You can have several JBoss instances in the same server, and only need to modify some default JBoss ports.
- Edit $JBOSS_HOME/server/default/deploy/jbossweb-tomcat55.sar/server.xml and change these ports: 8080, 8009 and 8443.
- Edit $JBOSS_HOME/server/default/conf/jboss-service.xml and change these ports: 8083, 4444, 4445, 1098 and 1099.
- Edit $JBOSS_HOME/server/default/deploy/jms/uil2-service.xml and change this port: 8093.
- Edit $JBOSS_HOME/bin/shutdown.sh and add to the last "localhost" line the new HTTP port.
# Execute the JVM
exec "$JAVA" \
$JAVA_OPTS \
-classpath $JBOSS_CLASSPATH \
org.jboss.Shutdown localhost 8081 "$@"
More info about this topic at: