On Mon, Jan 08, 2007 at 10:34:50AM -0500, PeterJ wrote:
> Look at the ./docs/examples/binding-manager/sample-bindings.xml file. It 
> simplifies setting ports for 2 servers.
> 
> The other option for running two servers is to bind each to its own IP 
> address. Of course, you need to either be able to assign multiple IP 
> addresses to a NIC, or have multiple NICs.  Then each server can use the same 
> ports, just different addresses.
> 

Using different bind address (the -b option to run.bat) is the best option
if you can do it.

A nice feature of windows I've found is that you can create ips in the
loopback range automatically; so you can start up a series of jbosses
with (for example)

        run -c jboss1 -b 127.0.0.1
        run -c jboss2 -b 127.0.0.2
        run -c jboss3 -b 127.0.0.3

and so on.  This only helps you if the jboss does not
need to be connected to remotely; ie. it's good for
development.

On unix you need to 'plumb' the interfaces explicitly.

Matt

        


_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to