[jboss-user] [Clustering/JBoss] - Re: JBoss5.0.0.Beta1 multiple instances error

JerryGauth do-not-reply at jboss.com
Thu Jan 18 11:33:04 EST 2007

I've used the separate ports approach (e.g., the binding file) successfully in the past but stopped because I would frequently encounter problems which required me to make changes to the port configurations.

For developers at least, using the IP address binding approach is generally simpler.  If you have multiple IP addresses on your machine, you can simply bind each server instance to one of your IP addresses when you start the server (e.g., run.bat -c server1 -b

If you have a laptop with a wired connection and a wireless connection, you can use their IP addresses as the two IP addresses for a two node network.  If you only have a single connection, you should be able to follow your OS's instructions for enabling a loopback address to be used as the second IP address.  Presumably you can configure a three node network on your machine using wired/wireless/loopback but I haven't tried this.

If you need to use the binding file and it always fails on port 8080, try debugging the problem by modifying the use of port 8080 to another port in the file.  If the problem manifests itself on the new port, then you know that the override entries in the file aren't correct.  This could be because you didn't specify the correct node name or it could be because the file overrides themselves are wrong.    If the problem still shows up on port 8080, then look for uses of port 8080 in your server's service files and try changing them there.  This would indicate that either you haven't configured the override file process correctly or else the use of port 8080 has been changed and the format in the bindings file is no longer adequate to provide the override.

I've had far fewer problems since I started using the IP address approach.  The one caveat there is that you need to be aware of IP address changes if your machine has dynamic addresses.  In my case at least, this is rarely a problem.

Hope this helps.


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

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

More information about the jboss-user mailing list