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 #1Just Joined!
- Join Date
- Dec 2008
- Posts
- 1
Tomcat - Binding to an IP address dynamically
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 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"
connectionTimeout="30000" debug="0"
disableUploadTimeout="true" enableLookups="false"
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 #2Linux Newbie
- Join Date
- Apr 2008
- Location
- India
- Posts
- 170
hello,
the main thing in is tomcats domain must resolve properly....in such case
assign ip to your domain and try loading tomcat ....Regards
David.s
davidanands.co.cc
-->Success is the list of failures ...!!!


Reply With Quote
