-
1. Re: CoExist JBoss4.0.5.GA with apache Tomcat
rkhurana Jan 19, 2007 3:18 PM (in response to rkhurana)Ok I know what the problem is. My machine has IP 192.168.1.201 and another static IP say 1.2.3.4. After the changes made to use ports-01, if I type http://192.168.1.201:8180, then it works but not with http://1.2.3.4:8180. In the server.log, I see that jboss.bind.address is taken as 0.0.0.0. I somehow need to change jboss.bind.address to 1.2.3.4. How do I do it?
-
2. Re: CoExist JBoss4.0.5.GA with apache Tomcat
rkhurana Jan 19, 2007 3:45 PM (in response to rkhurana)And If I use ./run.sh -b 1.2.3.4, then I get all sorts of Bind Exceptions saying that the port is being used. I have stopped Tomcat and web server. I dont understand who is using all those ports.
-
3. Re: CoExist JBoss4.0.5.GA with apache Tomcat
rkhurana Jan 19, 2007 4:10 PM (in response to rkhurana)Ok I now globally replaced ${jboss.bind.address} with my IP 1.2.3.4 but I get the same errors (Bind Exceptions) as using "run.sh -b 1.2.3.4"
I have no clue now... the experts, pls reply. -
4. Re: CoExist JBoss4.0.5.GA with apache Tomcat
peterj Jan 19, 2007 4:16 PM (in response to rkhurana)If the bind address is 0.0.0.0, then the server should be accepting input from all ip address (both 1.2.3.4 and 192.168.1.201). Since using http://192.168.1.201:8180 works, I would say that the server is reading the bindings file correctly.
Since running "run.sh -b 1.2.3.4" caused binding exceptions, it would be safe to say that either the ports are already in use on that IP address, or there is something on your system (say a firewall) that is not allowing the server to open those ports on that IP address. I don't use Solaris, so I could not offer any suggestions along those lines. -
5. Re: CoExist JBoss4.0.5.GA with apache Tomcat
rkhurana Jan 19, 2007 4:24 PM (in response to rkhurana)I dont think the ports are in use, since I have tried to use ports-01, ports-02 and ports-03 and the same error is reported. So it boils down to the fact that something is preventing to open those ports on the external IP (1.2.3.4) whereas on the internal IP (192.168.1.201, its fine)..