Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Voyager Tomcat fails to restart: could not find a free port in the range 7009...7009

    • Product: Voyager
    • Product Version: 9.2.0
    • Relevant for Installation Type: Multi-Tenant Direct, Dedicated-Direct, Local, TotalCare

    Symptoms

    • Voyager version is 9.0.0-9.2.0
    • Attempting to restart voyager using tsvrctl restartfails to start tomcat
    • catalina.out displays the following errors:

    SEVERE|wrapper|yajsw|16-01-05 17:04:33|could not find a free port in the range 7009...7009
    INFO|wrapper|yajsw|16-01-05 17:04:33|could not start controller -> abort
    INFO|wrapper|yajsw|16-01-05 17:04:33|Shutting down Wrapper

    Defect Status

    This issue has been resolved in Voyager 9.2.1. A fix is available for Voyager 9.0.0-9.2.0

    Replication Steps

    Run /m1/voyager/xxxdb/tomcat/tsvrctl restart or /m1/voyager/xxxdb/tomcat/tsvrctl stop/startin quick succession

    Workaround & Fix

    To temporarily workaround this issue:

    1. Run: /m1/voyager/xxxdb/tomcat/tsvrctl stop

    2. Wait 30 seconds

    3. Run: /m1/voyager/xxxdb/tomcat/tsvrctl start

    4. Verify that the server is starting up: tail -f /m1/voyager/xxxdb/tomcat/logs/catalina.out

    5. Repeat as necessary increasing the wait time by 10 seconds between stop and start commands.

     

    To permanently fix this issue in version 9.0.0-9.2.0:

    1. Open /m1/voyager/xxxdb/tomcat/wrapper/conf/voyager.conf.tml

    2. Locate the following lines and comment them out using '#':

    #wrapper.port=__WRAPPER_PORT__
    #wrapper.port.min=__WRAPPER_PORT__
    #wrapper.port.max=__WRAPPER_PORT__​​​​​​

    3. Restart Tomcat 


    • Article last edited: 31-May-2017