ranjit
24-12-2008, 10:42
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.
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.