Start Tomcat error Java.lang.Exception:Socket bind failed

Source: Internet
Author: User
Tags apache tomcat

Serious:Error Initializing Endpoint
Java.lang.Exception:Socket Bind failed: [730048]????????? X??? (э?é/??????? /???)???? Í??
At Org.apache.tomcat.util.net.AprEndpoint.init (aprendpoint.java:647)
At Org.apache.coyote.http11.Http11AprProtocol.init (http11aprprotocol.java:107)
At Org.apache.catalina.connector.Connector.initialize (connector.java:1014)
At Org.apache.catalina.core.StandardService.initialize (standardservice.java:680)
At Org.apache.catalina.core.StandardServer.initialize (standardserver.java:795)
At Org.apache.catalina.startup.Catalina.load (catalina.java:524)
At Org.apache.catalina.startup.Catalina.load (catalina.java:548)
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:597)
At Org.apache.catalina.startup.Bootstrap.load (bootstrap.java:261)
At Org.apache.catalina.startup.Bootstrap.main (bootstrap.java:413)
2011-10-14 15:51:20 Org.apache.catalina.startup.Catalina Load
Severity: Catalina.start
Lifecycleexception:Protocol Handler initialization failed: java.lang.Exception:Socket BindFailed: [730048]????????? X??? (э?é/??????? /???)???? Í??
At Org.apache.catalina.connector.Connector.initialize (connector.java:1016)
At Org.apache.catalina.core.StandardService.initialize (standardservice.java:680)
At Org.apache.catalina.core.StandardServer.initialize (standardserver.java:795)
At Org.apache.catalina.startup.Catalina.load (catalina.java:524)
At Org.apache.catalina.startup.Catalina.load (catalina.java:548)
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:597)
At Org.apache.catalina.startup.Bootstrap.load (bootstrap.java:261)
At Org.apache.catalina.startup.Bootstrap.main (bootstrap.java:413)
2011-10-14 15:51:20 Org.apache.catalina.startup.Catalina Load
Info: Initialization processed in 761 MS
2011-10-14 15:51:20 org.apache.catalina.core.StandardService Start
Information: Starting service Catalina
2011-10-14 15:51:20 org.apache.catalina.core.StandardEngine Start
Info: Starting Servlet engine:apache tomcat/6.0.29
2011-10-14 15:51:20 Org.apache.catalina.startup.HostConfig Deploydescriptor
Info: Deploying Configuration Descriptor Host-manager.xml
2011-10-14 15:51:21 Org.apache.catalina.startup.HostConfig Deploydescriptor
Info: Deploying Configuration Descriptor Manager.xml
2011-10-14 15:51:21 Org.apache.catalina.startup.HostConfig deploydirectory
Info: Deploying Web application Directory Docs
2011-10-14 15:51:21 Org.apache.catalina.startup.HostConfig deploydirectory
Info: Deploying Web application directory Examples
2011-10-14 15:51:21 Org.apache.catalina.core.ApplicationContext Log
Information: contextlistener:contextinitialized ()
2011-10-14 15:51:21 Org.apache.catalina.core.ApplicationContext Log
Information: sessionlistener:contextinitialized ()
2011-10-14 15:51:21 Org.apache.catalina.startup.HostConfig deploydirectory
Info: Deploying Web application Directory ROOT
2011-10-14 15:51:21 Org.apache.catalina.startup.HostConfig deploydirectory
Info: Deploying Web application Directory SCM
2011-10-14 15:51:23 Org.apache.coyote.http11.Http11AprProtocol Start
Serious:Error Starting Endpoint
Java.lang.Exception:Socket bind failed: [730048]????????? X??? (э?é/??????? /???)???? Í??
At Org.apache.tomcat.util.net.AprEndpoint.init (aprendpoint.java:647)
At Org.apache.tomcat.util.net.AprEndpoint.start (aprendpoint.java:754)
At Org.apache.coyote.http11.Http11AprProtocol.start (http11aprprotocol.java:137)
At Org.apache.catalina.connector.Connector.start (connector.java:1087)
At Org.apache.catalina.core.StandardService.start (standardservice.java:534)
At Org.apache.catalina.core.StandardServer.start (standardserver.java:710)
At Org.apache.catalina.startup.Catalina.start (catalina.java:581)
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:597)
At Org.apache.catalina.startup.Bootstrap.start (bootstrap.java:289)
At Org.apache.catalina.startup.Bootstrap.main (bootstrap.java:414)
2011-10-14 15:51:23 Org.apache.catalina.startup.Catalina Start
Severity: Catalina.start:
Lifecycleexception:service.getname (): "Catalina"; Protocol handler start failed: Java.lang.Exception:Socket bind failed: [730048]????????? X??? (э?é/??????? /???)???? Í??
At Org.apache.catalina.connector.Connector.start (connector.java:1094)
At Org.apache.catalina.core.StandardService.start (standardservice.java:534)
At Org.apache.catalina.core.StandardServer.start (standardserver.java:710)
At Org.apache.catalina.startup.Catalina.start (catalina.java:581)
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:597)
At Org.apache.catalina.startup.Bootstrap.start (bootstrap.java:289)
At Org.apache.catalina.startup.Bootstrap.main (bootstrap.java:414)
2011-10-14 15:51:23 Org.apache.catalina.startup.Catalina Start
Info: Server Startup in 2937 MS
2011-10-14 15:51:23 Org.apache.catalina.core.StandardServer await
Severity: standardserver.await:create[8005]:
Java.net.BindException:Address already in Use:jvm_bind
At Java.net.PlainSocketImpl.socketBind (Native Method)
At Java.net.PlainSocketImpl.bind (plainsocketimpl.java:359)
At Java.net.ServerSocket.bind (serversocket.java:319)
At Java.net.serversocket.<init> (serversocket.java:185)
At Org.apache.catalina.core.StandardServer.await (standardserver.java:373)
At Org.apache.catalina.startup.Catalina.await (catalina.java:662)
At Org.apache.catalina.startup.Catalina.start (catalina.java:614)
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:597)
At Org.apache.catalina.startup.Bootstrap.start (bootstrap.java:289)
At Org.apache.catalina.startup.Bootstrap.main (bootstrap.java:414)
2011-10-14 15:51:23 Org.apache.coyote.http11.Http11AprProtocol Pause
Info: Pausing Coyote http/1.1 on http-8888
2011-10-14 15:51:23 Org.apache.coyote.ajp.AjpAprProtocol Pause
Info: Pausing Coyote ajp/1.3 on ajp-8009

In summary, there are several solutions:

1. The port number is occupied and the Tomcat port number is changed;

2. Change the Tmcat service attribute to manual and reload Tomcat;

3. Restart the MyEclipse;

4. Open Task Manager and find Javaw.exe to kill the process;

5. Start-run-enter cmd-netstat-ano-carriage return-check the PID on port 8888
Open Windows Task Manager via Ctrl+alt+delete shortcut key-View-Select column-Tick PID (process identifier) (P)-Find the end process of port 8888 pid-
Or start-run-input Cmd-netstat-ano|find "8888"-tasklist|find "pid"-askkill/pid PID

Reference Document Http://blog.sina.com.cn/s/blog_6e1879750100wryu.html

Start Tomcat error Java.lang.Exception:Socket bind failed

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.