There are several ways to run multiple nodes from a single machine.

1)  As noted in an earlier reply, you can configure multiple IP addresses on a 
machine and then start the JBoss server with an associated IP address (e.g., 
run.bat -c mynode1 -b 192.168.1.100)

2)  You can use a single IP address as long as you use a different set of ports 
for each server.  The easiest way to accomplish this is via the Service Binding 
Manager, as described in the Services Binding Management section of the JBoss 
AS Guide.  http://docs.jboss.org/jbossas/jboss4guide/r3/html/ch10.html#d0e23108

If you require load balancing, it can be achieved using Apache mod_jk as noted 
in an earlier post.  This process is described in Chapter 6 of the JBoss AS 
Clustering Guide.  See the section on configuring session replication and 
installing mod_jk.
http://docs.jboss.org/jbossas/clustering/JBossClustering7.pdf


The installation and configuration of mod_jk is also discussed on the JBoss 
Clustering wiki at 
http://www.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss.

The wiki page notes that the worker.nodex.local_worker=1 entries in the 
configuration file must be commented out to achieve load balancing.  This 
information isn't currently provided in the Clustering Guide so you need to do 
this if you want load balancing.

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

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


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to