Address already in use: JVM_Bind <null>:8080
2012-3-28 15:43:37 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Java\Java\jdk1.6.0_24\bin;D:\Java\Tomcat\apache-tomcat-6.0.33\bin
2012-3-28 15:43:38 org.apache.coyote.http11.Http11Protocol init
严重: Error initializing endpoint
java.net.BindException: Address already in use: JVM_Bind <null>:8080
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:549)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176)
at org.apache.catalina.connector.Connector.initialize(Connector.java:1022)
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.start(Catalina.java:582)
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)
Caused by: java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
at java.net.ServerSocket.bind(ServerSocket.java:328)
at java.net.ServerSocket.<init>(ServerSocket.java:194)
at java.net.ServerSocket.<init>(ServerSocket.java:150)
at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:50)
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:538)
... 12 more
2012-3-28 15:43:38 org.apache.catalina.core.StandardService initialize
严重: Failed to initialize connector [Connector[HTTP/1.1-8080]]
LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind <null>:8080
at org.apache.catalina.connector.Connector.initialize(Connector.java:1024)
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.start(Catalina.java:582)
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)
2012-3-28 15:43:38 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 451 ms
2012-3-28 15:43:38 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2012-3-28 15:43:38 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.33
2012-3-28 15:43:38 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor host-manager.xml
2012-3-28 15:43:38 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2012-3-28 15:43:38 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2012-3-28 15:43:38 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
2012-3-28 15:43:38 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2012-3-28 15:43:38 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2012-3-28 15:43:38 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2012-3-28 15:43:38 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory weibo
2012-3-28 15:43:39 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
解决方案:进程里面关闭javax.exe 1 楼 logo.ron.1988 2012-03-28 这个 不是8080 端口被占用吗。 2 楼 qiaolevip 2012-03-30 logo.ron.1988 写道这个 不是8080 端口被占用吗。
嗯,你也可以杀掉8080端口,但是没有这个方便吗。