当前位置: 代码迷 >> Eclipse >> 啊 Address already in use: JVM_Bind:8081?如何解决?
  详细解决方案

啊 Address already in use: JVM_Bind:8081?如何解决?

热度:794   发布时间:2016-04-23 14:05:12.0
请教高手啊, Address already in use: JVM_Bind:8081?怎么解决???
2011-10-18 17:54:50 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: E:\fateson\Java\jdk1.5.0_15\bin;D:\Tomcat 5.5\bin
2011-10-18 17:54:51 org.apache.coyote.http11.Http11BaseProtocol init
严重: Error initializing endpoint
java.net.BindException: Address already in use: JVM_Bind:8081
at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:298)
at org.apache.coyote.http11.Http11BaseProtocol.init(Http11BaseProtocol.java:139)
at org.apache.catalina.connector.Connector.initialize(Connector.java:1017)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:578)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:782)
at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
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.load(Bootstrap.java:267)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
2011-10-18 17:54:51 org.apache.catalina.startup.Catalina load
严重: Catalina.start
LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind:8081
at org.apache.catalina.connector.Connector.initialize(Connector.java:1019)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:578)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:782)
at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
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.load(Bootstrap.java:267)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
2011-10-18 17:54:51 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 2735 ms
2011-10-18 17:54:51 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2011-10-18 17:54:51 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/5.5.25
2011-10-18 17:54:51 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2011-10-18 17:54:53 org.apache.catalina.startup.HostConfig deployWAR
信息: Deploying web application archive emap106.war
2011-10-18 17:54:55 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(D:\Tomcat 5.5\webapps\emap106\WEB-INF\lib\servlet-api-2.4.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
 INFO [main] g(ApplicationContext.java:647) 2011-10-18 17:54:56.734 - Initializing Spring root WebApplicationContext
AbandonedObjectPool is used (org.apache.commons.dbcp.AbandonedObjectPool@a92aaa)
  LogAbandoned: false
  RemoveAbandoned: true
  RemoveAbandonedTimeout: 60
 WARN [main] JDBCExceptionReporter.java:77) 2011-10-18 17:55:11.062 - SQL Error: 0, SQLState: null
ERROR [main] JDBCExceptionReporter.java:78) 2011-10-18 17:55:11.062 - Cannot create PoolableConnectionFactory (到主机 的 TCP/IP 连接失败。 java.net.UnknownHostException: )
 WARN [main] ings(SettingsFactory.java:117) 2011-10-18 17:55:11.109 - Could not obtain connection metadata
  相关解决方案