我正在使用与Netbeans 6.5集成的tomcat6(发行版)。它没有任何问题,现在突然停止工作。现在,如果我尝试从控制台中的netbeans启动Tomcat,它打印服务器会在几毫秒内启动,所有其他事情都会在此之后,netbeans继续显示“启动tomcat”的状态栏,最后显示“Tomcat启动失败”。任何人都可以帮我解决这个问题吗?下面是启动netbeans时的控制台输出
Using CATALINA_BASE: E:\Tomcat distri\apache-tomcat-6.0.20
Using CATALINA_HOME: E:\Tomcat distri\apache-tomcat-6.0.20
Using CATALINA_TMPDIR: E:\Tomcat distri\apache-tomcat-6.0.20\temp
Using JRE_HOME: C:\Program Files\Java\jdk1.6.0_11
Sep 22, 2009 10:52:28 AM org.apache.catalina.core.AprLifecycleListener init
INFO: 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_11\bin;.;C:\SYSROOT\Sun\Java\bin;C:\SYSROOT\system32;C:\SYSROOT;C:\Program Files\Java\jdk1.6.0_11\bin;E:\Oracle\product\10.1.0\Client_4\bin;E:\Oracle\product\10.1.0\Client_4\jre\1.4.2\bin\client;E:\Oracle\product\10.1.0\Client_4\jre\1.4.2\bin;C:\SYSROOT\system32;C:\SYSROOT;C:\SYSROOT\SYSTEM;C:\SYSROOT\system32\Wbem;C:\Program Files\CA\eTrustITM\;C:\Program Files\CA\SharedComponents\ScanEngine\;C:\Program Files\CA\SharedComponents\CAUpdate\;C:\Program Files\CA\SharedComponents\ThirdParty\;C:\Program Files\CA\SharedComponents\SubscriptionLicense\;C:\Program Files\TortoiseSVN\bin;E:\Thomas
Sep 22, 2009 10:52:28 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Sep 22, 2009 10:52:28 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 999 ms
Sep 22, 2009 10:52:28 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 22, 2009 10:52:28 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
Sep 22, 2009 10:52:29 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Sep 22, 2009 10:52:29 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Sep 22, 2009 10:52:29 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/47 config=null
Sep 22, 2009 10:52:29 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 974 ms
Tomcat日志:
Sep 22, 2009 10:36:46 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Sep 22, 2009 10:36:46 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Sep 22, 2009 10:52:29 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Sep 22, 2009 10:52:29 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
答案 0 :(得分:0)
我不熟悉net bean,但它似乎启动了一个“空”tomcat,然后对应用程序进行热部署。