Tomcat Boot error (8080 port occupied) Processing method _ Server Other

Source: Internet
Author: User
Tags memory usage tomcat

Error Description:
2009-7-12 15:40:35 Org.apache.coyote.http11.Http11BaseProtocol Start
Serious: Error starting Endpoint
Java.net.BindException:Address already in use:jvm_bind:8080
At Org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint (pooltcpendpoint.java:298)
At Org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint (pooltcpendpoint.java:313)
At Org.apache.coyote.http11.Http11BaseProtocol.start (http11baseprotocol.java:151)
At Org.apache.coyote.http11.Http11Protocol.start (http11protocol.java:76)
At Org.apache.catalina.connector.Connector.start (connector.java:1090)
At Org.apache.catalina.core.StandardService.start (standardservice.java:457)
At Org.apache.catalina.core.StandardServer.start (standardserver.java:700)
At Org.apache.catalina.startup.Catalina.start (catalina.java:552)
At Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method)
At Sun.reflect.NativeMethodAccessorImpl.invoke (nativemethodaccessorimpl.java:39)
At Sun.reflect.DelegatingMethodAccessorImpl.invoke (delegatingmethodaccessorimpl.java:25)
At Java.lang.reflect.Method.invoke (method.java:585)
At Org.apache.catalina.startup.Bootstrap.start (bootstrap.java:295)
At Org.apache.catalina.startup.Bootstrap.main (bootstrap.java:433)
2009-7-12 15:40:35 Org.apache.catalina.startup.Catalina Start
Serious: Catalina.start:
LifecycleException:service.getName (): "Catalina"; Protocol handler start failed:java.net.BindException:Address already in use:jvm_bind:8080
At Org.apache.catalina.connector.Connector.start (connector.java:1097)
At Org.apache.catalina.core.StandardService.start (standardservice.java:457)
At Org.apache.catalina.core.StandardServer.start (standardserver.java:700)
At Org.apache.catalina.startup.Catalina.start (catalina.java:552)
At Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method)
At Sun.reflect.NativeMethodAccessorImpl.invoke (nativemethodaccessorimpl.java:39)
At Sun.reflect.DelegatingMethodAccessorImpl.invoke (delegatingmethodaccessorimpl.java:25)
At Java.lang.reflect.Method.invoke (method.java:585)
At Org.apache.catalina.startup.Bootstrap.start (bootstrap.java:295)
At Org.apache.catalina.startup.Bootstrap.main (bootstrap.java:433)
2009-7-12 15:40:35 Org.apache.catalina.startup.Catalina Start
Info: Server Startup in 9860 MS
Key information:
Java.net.BindException:Address already in use:jvm_bind:8080
Error Reason:
8080 ports are occupied by other applications!
Solution:
The first step, the command prompt symbol, executes the command: Netstat–ano
Active connections
Proto Local address Foreign address State PID
TCP 0.0.0.0:8080 0.0.0.0:0 Listening 656
TCP 0.0.0.0:8080 0.0.0.0:0 Listening 656
Visible, 8080-port-consuming process PID is 656
Step two, command prompt symbol, execute command: tasklist
Image name PID session name Session # Memory usage
========================= ====== ================ ======== ============
TNSLSNR.exe 656 Console 0 8,992 K
Visible, the process that occupies the 8080 port is TNSLSNR.exe
The third step, through Task Manager, terminates the process TNSLSNR.exe
Fourth step, restart Tomcat to start normally

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.