aspose file tools
The moose likes JBoss and the fly likes Multiple instances of Jboss on same machine? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "Multiple instances of Jboss on same machine?" Watch "Multiple instances of Jboss on same machine?" New topic
Author

Multiple instances of Jboss on same machine?

Gene Smith
Greenhorn

Joined: Jan 11, 2002
Posts: 12
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
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?
 
Similar Threads
Multiple instances of JBoss 2.4.x
Configuring multiple instances of Tomcat 5 in same machine
Running Multiple JBoss Instances On Same Machine
WebLogic 10.3.4 - Cache Issue
multiple instances of JBoss on same machine