Tomcat 7 startup.bat exception

后端 未结 5 592
栀梦
栀梦 2021-02-08 06:42

When i run startup.bat file of Tomcat 7 i m getting the following error.

INFO: Initializing ProtocolHandler [\"http-apr-8080\"] Mar 01, 2014 12:18:22

5条回答
  •  深忆病人
    2021-02-08 07:10

    An error like Failed to initialize end point associated with ProtocolHandler ["http-apr-8080"] means that Tomcat cannot start bind to (use) port 8080.

    I had a silar Failed to initialize end point associated with ProtocolHandler ["http-apr-80"] on port 80 the other day.

    Try to connect with telnet on 8080 (or whatever port this error occurs on) to figure out what process is using this port.

    1. Open a telnet connection telnet localhost 8080 (or whatever host and port you are using)
    2. Expect to see a blank screen with blinking cursor. If you get a Could not open connection to the host or similar error nothing is using this port after all.
    3. Type a command like GET (assuming HTTP protocol)
    4. See if the server responds whith a HTTP responds which could reveil a bit about what process is serving this port.

提交回复
热议问题