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!
George Brown
Ranch Hand
Joined: Sep 26, 2000
Posts: 919
posted
0
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.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: Multiple instances of Jboss on same machine?