当前位置: 代码迷 >> J2EE >> Tomcat启动有关问题:The listener "listeners.SessionListener" is already configured for this context
  详细解决方案

Tomcat启动有关问题:The listener "listeners.SessionListener" is already configured for this context

热度:468   发布时间:2016-04-22 02:41:14.0
Tomcat启动问题:The listener "listeners.SessionListener" is already configured for this context
我用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.

查查配置和监听。
  相关解决方案