Difference between revisions of "Several JBoss in the same server"
From OpenKM Documentation
m (→Only one IP) |
(→Only one IP) |
||
Line 14: | Line 14: | ||
* http://docs.jboss.org/jbossas/javadoc/4.0.2/org/jboss/Shutdown.java.html | * http://docs.jboss.org/jbossas/javadoc/4.0.2/org/jboss/Shutdown.java.html | ||
* http://community.jboss.org/wiki/ConfiguringMultipleJBossInstancesOnOneMachine | * http://community.jboss.org/wiki/ConfiguringMultipleJBossInstancesOnOneMachine | ||
+ | * http://community.jboss.org/wiki/ConfigurePorts | ||
[[Category: Installation Guide]] | [[Category: Installation Guide]] | ||
[[Category: OKM Network]] | [[Category: OKM Network]] |
Revision as of 17:16, 20 October 2010
Using multiple IPs
If your server has several IP addresses assigned, the preferred solution is to use the -b command line option to bind each instance of JBoss AS to a particular IP address:
./run.sh -b 192.168.0.10
See also:
Only one IP
Modify $JBOSS_HOME/server/default/conf/jboss-service.xml and uncomment the "Service Binding" section and select a "ServerName" value from sample-bindings.xml. See $JBOSS_HOME/docs/examples/binding-manager/sample-bindings.xml "ports-default" entries for all JBoss port properties.
More info at: