我用NetBean连接Tomcat,开始没问题,后来我修改了一些文件,Tomcat就启动不了了,我只好重装Tomcat,可是,现在启动时,出现以下提示:
2008/04/10 9:27:18 org.apache.catalina.core.StandardContext addApplicationListener
情報: The listener "listeners.ContextListener" is already configured for this context. The duplicate definition has been ignored.
2008/04/10 9:27:18 org.apache.catalina.core.StandardContext addApplicationListener
情報: The listener "listeners.SessionListener" is already configured for this context. The duplicate definition has been ignored.
2008/04/10 9:27:20 org.apache.coyote.http11.Http11Protocol start
情報: Coyote HTTP/1.1を http-8080 で起動します
2008/04/10 9:27:20 org.apache.jk.common.ChannelSocket init
情報: JK: ajp13 listening on /0.0.0.0:8009
2008/04/10 9:27:20 org.apache.jk.server.JkMain start
情報: Jk running ID=0 time=0/93 config=null
2008/04/10 9:27:20 org.apache.catalina.startup.Catalina start
情報: Server startup in 5272 ms
然后,NetBean就连接不上Tomcat总是Waiting for Tomcat...,过一段时间就提示:Starting of Tomcat failed.
不用NetBean时,启动现象一样,但可以打开http://127.0.0.1:8080。
请各位大虾帮帮忙,谢谢!
------解决方案--------------------
你修改了什么文件? 监听??xml?
错误The listener "listeners.ContextListener" is already configured for this context. The duplicate definition has been ignored.
查查配置和监听。