日期:2014-05-16  浏览次数:20467 次

装上oracle启动Tomcat时报错

装上oracle后,启动tomcat是所报的错误:

2011-4-13 20:53:21 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: C:\Program Files\Java\jdk1.6.0_12\bin;F:\TomCat\apache-tomcat-6.0.18\bin
2011-4-13 20:53:21 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:502)
?at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176)
?at org.apache.catalina.connector.Connector.initialize(Connector.java:1058)
?at org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
?at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
?at org.apache.catalina.startup.Catalina.load(Catalina.java:530)
?at org.apache.catalina.startup.Catalina.load(Catalina.java:550)
?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:260)
?at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
2011-4-13 20:53:21 org.apache.catalina.startup.Catalina load
严重: Catalina.start
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:1060)
?at org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
?at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
?at org.apache.catalina.startup.Catalina.load(Catalina.java:530)
?at org.apache.catalina.startup.Catalina.load(Catalina.java:550)
?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:260)
?at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
2011-4-13 20:53:21 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 579 ms
2011-4-13 20:53:21 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2011-4-13 20:53:21 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.18
2011-4-13 20:53:22 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2011-4-13 20:53:22 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2011-4-13 20:53:22 org.apache.coyote.http11.Http11Protocol start
严重: Error starting endpoint
java.net.BindException: Address already in use: JVM_Bind<null>:8080
?at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:502)
?at org.apache.tomcat.util.net.JIoEndpoint.start(JIoEndpoint.java:519)
?at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:203)
?at org.apache.catalina.connector.Connector.start(Connector.java:1131)
?at org.apache.catalina.core.StandardService.start(StandardService.java:531)
?at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
?at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
?at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
?at sun.reflect.NativeMethodAccessor