Hi.

I have set upp JBoss with 5 diffrent instances. Maybe my way will help you out.

To make JBoss work with 2 instances you have to create two directories, JBoss0 and 
JBoss1, like {jboss-home}/server/jboss0/ and {jboss-home}/server/jboss1/.
In {jboss-home}/server/default/conf/jboss-service.xml you have to enable the 
ServiceBindingManager. Now you have to copy the directories conf/ lib/ and db/ from 
the default directory in to both jboss0 and jboss1. Next step is to define the ports. 
This is done in {jboss-home}/docs/examples/binding-service/sample-bindings.xml. Two 
server configurations named jboss0 and jboss1 are given. The jboss0 configuration uses 
the default settings for the ports, while the jboss1 configuration adds 10000 to each 
port number. This will make it easy to add even more instances. 

Now, to run you jbosses you have to start two terminal-consoles. Make sure you are 
standing in the correct directory, for instance 1 - {jboss-home}/server/jboss0 and 
write {jboss-home}/bin/run.sh -c jboss0. The same for instance no 2 in terminal 2. 
Make sure that the instances not are answering to the same ports.

Hope this will help.
Kindly
/Helena
 

<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827388#3827388";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827388>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to