-
1. Re: JBoss 4.0.3SP1 Problems with multiple instances
visolvejboss Jun 17, 2006 12:45 AM (in response to garamirez)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>
-
2. Re: JBoss 4.0.3SP1 Problems with multiple instances
garamirez Jun 17, 2006 5:45 PM (in response to garamirez)Many thanks for your help. Problem solved.
Sincerely,
Germán.