Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Unhappy 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"
    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.

  2. #2
    Linux Newbie
    Join Date
    Apr 2008

    the main thing in is tomcats domain must resolve such case
    assign ip to your domain and try loading tomcat ....
    David Anand
    -->Success is the list of failures ...!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts