Results 1 to 2 of 2
Hi, I am using Tomcat version 5.5.23. I have a requirement which says that Tomcat should bind to a particular IP when it is accessible. The IP will not be ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-24-2008 #1
- Join Date
- Dec 2008
Tomcat - Binding to an IP address dynamically
I am using Tomcat version 5.5.23.
I have a requirement which says that Tomcat should bind to a particular IP
when it is accessible.
The IP will not be available when Tomcat starts up but still configured in server.xml.
Currently I do a stop/start of Tomcat to bind to the IP when it becomes accessible.
But Is there any way by which I can bind tomcat to the partcular IP without stop/start of tomcat.
Is it possible to bind tomcat to this IP dynamically.
Could you please help me out, my server.xml looks like,
<Connector port="4085" address="test1.logical" acceptCount="10"
maxSpareThreads="75" maxThreads="150" minSpareThreads="25"
test1.logical is the ip address which will not be available all the time.
Please suggest your thoughts.
- 12-28-2008 #2
- Join Date
- Apr 2008
the main thing in is tomcats domain must resolve properly....in such case
assign ip to your domain and try loading tomcat ....Regards
-->Success is the list of failures ...!!!