-
1. Re: Multiple installs on one machine
peterj Jun 29, 2010 5:15 PM (in response to tacleal)What IPs are you binding to? Please show the commands you are running, and the error message you are getting.
-
2. Re: Multiple installs on one machine
tacleal Jun 29, 2010 5:31 PM (in response to peterj)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.
Node1
/usr/local/mwresb/jboss/bin/run.sh -c default -b XXX.XXX.XXX.22
node2
/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
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:500)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176)
at org.apache.catalina.connector.Connector.initialize(Connector.java:1073)...
-
3. Re: Multiple installs on one machine
tacleal Jun 29, 2010 5:34 PM (in response to tacleal)Ok, now I am confused. It just started.
-
4. Re: Multiple installs on one machine
peterj Jun 29, 2010 5:35 PM (in response to tacleal)Is port 8080 already being using in xxx.xxx.xxx.220? You can check using netstat.
-
5. Re: Multiple installs on one machine
peterj Jun 29, 2010 5:37 PM (in response to peterj)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.
-
6. Re: Multiple installs on one machine
tacleal Jun 29, 2010 5:44 PM (in response to peterj)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.
Tom
-
7. Re: Multiple installs on one machine
peterj Jun 29, 2010 6:03 PM (in response to tacleal)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.
-
8. Re: Multiple installs on one machine
peterj Jun 29, 2010 6:05 PM (in response to peterj)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.