严重: Error starting endpoint java.lang.Exception: Socket bind failed: [730048]

| 阅读数:--次| 作者:小周
摘要:严重: Error starting endpoint java.lang.Exception: Socket bind failed: [730048] ?????????×???(Э?é/????
问题描述:
前几天就发现这么一个问题,但是一直懒得解决~
严重: Error initializing endpoint  
java.lang.Exception: Socket bind failed: [730048] ?????????×???(Э?é/???????/???)????í??  
    at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:649)  
    at org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107)  
    at org.apache.catalina.connector.Connector.initialize(Connector.java:1049)  
    at org.apache.catalina.core.StandardService.initialize(StandardService.java:703)  
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:838)  
    at org.apache.catalina.startup.Catalina.load(Catalina.java:538)  
    at org.apache.catalina.startup.Catalina.load(Catalina.java:562)  
    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)  
2012-5-7 17:28:39 org.apache.catalina.core.StandardService initialize  
严重: Failed to initialize connector [Connector[HTTP/1.1-8080]]  
LifecycleException:  Protocol handler initialization failed: java.lang.Exception: Socket bind failed: [730048] ?????????×???(Э?é/???????/???)????í??  
    at org.apache.catalina.connector.Connector.initialize(Connector.java:1051)  
    at org.apache.catalina.core.StandardService.initialize(StandardService.java:703)  
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:838)  
    at org.apache.catalina.startup.Catalina.load(Catalina.java:538)  
    at org.apache.catalina.startup.Catalina.load(Catalina.java:562)  
    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)  
2012-5-7 17:28:39 org.apache.coyote.ajp.AjpAprProtocol init  
信息: Initializing Coyote AJP/1.3 on ajp-8009  
2012-5-7 17:28:39 org.apache.catalina.startup.Catalina load  
信息: Initialization processed in 1198 ms  


解决办法:
今天实在拖不下去啦,于是就上网查了一下下,无外乎两种方法:
第一种:打开任务管理器,结束javaw的进程
第二种:去把Tomcat中的server.xml中端口号8080改为别的数字。
但是我两种方法都试了,但是任然不行。而且这个808用了那么久了,改掉的话有点麻烦了。
造成这个问题原因就是咱们平常用的端口8080被占用啦,于是乎下了一个查看端口的工具TCPView(http://jsmcc.newhua.com/down/TcpView.zip)
发现了8080端口是被盛大下载器给占用了(法克~)
很明显啦,把占用端口的软件给卸载了就OK 啦~~
[html] view plaincopy
2012-5-7 17:51:14 org.apache.catalina.core.AprLifecycleListener init  
信息: Loaded APR based Apache Tomcat Native library 1.1.22.  
2012-5-7 17:51:14 org.apache.catalina.core.AprLifecycleListener init  
信息: APR capabilities: IPv6 [false], sendfile [true], accept filters [false], random [true].  
2012-5-7 17:51:15 org.apache.coyote.http11.Http11AprProtocol init  
信息: Initializing Coyote HTTP/1.1 on http-8080  
2012-5-7 17:51:15 org.apache.coyote.ajp.AjpAprProtocol init  
信息: Initializing Coyote AJP/1.3 on ajp-8009  
2012-5-7 17:51:15 org.apache.catalina.startup.Catalina load  
信息: Initialization processed in 1371 ms  
2012-5-7 17:51:15 org.apache.catalina.core.StandardService start  
信息: Starting service Catalina  
2012-5-7 17:51:15 org.apache.catalina.core.StandardEngine start  
信息: Starting Servlet Engine: Apache Tomcat/6.0.35  
2012-5-7 17:51:15 org.apache.catalina.startup.HostConfig deployDescriptor  
信息: Deploying configuration descriptor host-manager.xml  
2012-5-7 17:51:15 org.apache.catalina.startup.HostConfig deployDescriptor  
信息: Deploying configuration descriptor manager.xml  
2012-5-7 17:51:15 org.apache.catalina.startup.HostConfig deployDirectory  
信息: Deploying web application directory docs  
2012-5-7 17:51:15 org.apache.catalina.startup.HostConfig deployDirectory  
信息: Deploying web application directory examples  
2012-5-7 17:51:15 org.apache.catalina.core.ApplicationContext log  
信息: ContextListener: contextInitialized()  
2012-5-7 17:51:15 org.apache.catalina.core.ApplicationContext log  
信息: SessionListener: contextInitialized()  
2012-5-7 17:51:15 org.apache.catalina.startup.HostConfig deployDirectory  
信息: Deploying web application directory ROOT  
2012-5-7 17:51:15 org.apache.coyote.http11.Http11AprProtocol start  
信息: Starting Coyote HTTP/1.1 on http-8080  
2012-5-7 17:51:15 org.apache.coyote.ajp.AjpAprProtocol start  
信息: Starting Coyote AJP/1.3 on ajp-8009  
2012-5-7 17:51:15 org.apache.catalina.startup.Catalina start  
信息: Server startup in 816 ms  

OK,没错啦
返回顶部
学到老代码浏览 关闭浏览