问题描述
- tomcat 启动不了,请问是哪里出现问题了呢
-
2013-6-17 17:51:09 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 (x86)Javajre6bin;.;C:WindowsSunJavabin;C:Windowssystem32;C:Windows;C:/Program Files (x86)/Java/jre6/bin/client;C:/Program Files (x86)/Java/jre6/bin;C:/Program Files (x86)/Java/jre6/lib/i386;c:windowssystem32;C:Program FilesJavajdk1.6.0_43bin;.;D:adt-bundle-windows-x86_64-20130522adt-bundle-windows-x86_64-20130522sdkplatform-tools;D:adt-bundle-windows-x86_64-20130522adt-bundle-windows-x86_64-20130522sdktools;;E:eclipseeclipse;
2013-6-17 17:51:09 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2013-6-17 17:51:09 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 289 ms
2013-6-17 17:51:09 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2013-6-17 17:51:09 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.37
2013-6-17 17:51:09 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor host-manager.xml
2013-6-17 17:51:09 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2013-6-17 17:51:09 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2013-6-17 17:51:09 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
2013-6-17 17:51:09 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2013-6-17 17:51:09 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2013-6-17 17:51:09 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2013-6-17 17:51:09 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2013-6-17 17:51:09 org.apache.jk.common.ChannelSocket init
信息: Port busy 8009 java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind
2013-6-17 17:51:09 org.apache.jk.common.ChannelSocket init
严重: Can't find free port 8009 8009
2013-6-17 17:51:09 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/36 config=null
2013-6-17 17:51:09 org.apache.catalina.startup.Catalina start
信息: Server startup in 428 ms
解决方案
如果你的tomcat是第一次在myeclipse里面使用的话,那就需要配置jdk和path,
时间: 2024-10-27 11:03:33