Hello,

We were able to run multiple instances of JBoss with the following commands.

# run.sh -b localhost
# run.sh -b {ipaddess}

Note that, with this method we are starting two instances of JBoss with the 
same configuration mode (default). One of the problem with this method is 
second JBoss instance will thorw an error if you configured to run Hsqldb as 
your database.

Other option to run the multiple instances of JBoss is done by using two 
different configurations with different port numbers for each service.

Suppose if you want to run JBoss in default and all mode configuration in same 
machine then you can umcomment the Service Binding section of the 
jboss-service.xml file in the conf directory of any of configuration(default or 
all)


   <mbean code="org.jboss.services.binding.ServiceBindingManager"
  |      name="jboss.system:service=ServiceBindingManager">
  |      <attribute name="ServerName">ports-01</attribute>
  |      <attribute 
name="StoreURL">${jboss.home.url}/docs/examples/binding-manager/sample-bindings.xml</attribute>
  |      <attribute name="StoreFactoryClassName">
  |        org.jboss.services.binding.XMLServicesStoreFactory
  |      </attribute>
  |    </mbean>

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951426#3951426

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951426


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to