What Jboss configuration files need to be modified to allow multiple Jboss instances to run run on the same machine? I think the ports are the only things that need to change, but where? Thanks!
Joined: Sep 26, 2000
First you need to look at the jboss-service.xml file in your $JBOSS_HOME/server/$SERVER_NAME/conf directory. You'll see that there are some ports that need to be changed there for each different user. However, that's not all. Especially if you're using the embedded Jetty servlet container. If so you'll also need to change its settings. To do that you'll need to edit the port numbers in the jboss-service.xml file held in the $JBOSS_HOME/server/$SERVER_NAME/deploy/jetty-plugin.sar and repackage it up. The .sar file can be manipulated using the jar command (it's essentially a jar file by another name). Hope that helps.