What IPs are you binding to? Please show the commands you are running, and the error message you are getting.
Here are the 2 commands I am running. By company policy I had to mark out most of the IP. They are the same up until the end.
/usr/local/mwresb/jboss/bin/run.sh -c default -b XXX.XXX.XXX.22
/usr/local/mwresb/jboss/bin/run.sh -c esbserver -b XXX.XXX.XXX.220
From second node's log
2010-06-28 10:45:21,388 ERROR [org.apache.coyote.http11.Http11Protocol] Error initializing endpoint
java.net.BindException: Cannot assign requested address:8080
Ok, now I am confused. It just started.
Is port 8080 already being using in xxx.xxx.xxx.220? You can check using netstat.
Yes, you will still get the "started in xxx seconds" message, but that just means that the initalization process is finished. That doesn't mean that any problems were resolved, and in this case you will not be able to access any web apps because the port has not been opened.
OK, I should have been a little clearer. That exception was just one. There is (was) one for each port, 8080, 8009, etc.
It started without throwing any exceptions. I'll keep looking and see if I see something else.
Thanks for the help though.
OK, so apparently lots of things are not working. Do this - after starting the first instance go into netstat and verify which ports and IP addresses are opened. Actually, the console log will tell you which address is being used for some of the ports (8080 and some others). Make sure that the IP address being used is what you expect. For example, if you see this in the console log:
2010-06-25 12:11:13,098 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-xxx.xxx.xxx.22-8080
you are good to go. But if you see this:
2010-06-25 12:11:13,098 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
then you are in trouble.
Wait a second, that error text "Cannot assign requested address" is unusual. Usually I expect some error that indicatesthe port is already in use. Check your /etc/hosts file and verify that xxx.xxx.xxx.22 is a valid address for your computer. Or check with your DNS.