Announcement Announcement Module
Collapse
No announcement yet.
tomcat 6 says "listeners.ContextListener" is already configured for this context Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • tomcat 6 says "listeners.ContextListener" is already configured for this context

    i'm following the spring mvc step by step 2.5 PDF and noticed in my tomcat 6 startup log the following , any ideas as to what its reffering to?

    Code:
    Mar 22, 2008 4:47:09 PM org.springframework.web.servlet.FrameworkServlet initServletBean
    INFO: FrameworkServlet 'myapp': initialization completed in 243 ms
    Mar 22, 2008 4:47:09 PM org.apache.catalina.core.StandardContext addApplicationListener
    INFO: The listener "listeners.ContextListener" is already configured for this context. The duplicate definition has been ignored.
    Mar 22, 2008 4:47:09 PM org.apache.catalina.core.StandardContext addApplicationListener
    INFO: The listener "listeners.SessionListener" is already configured for this context. The duplicate definition has been ignored.
    Mar 22, 2008 4:47:09 PM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    Mar 22, 2008 4:47:09 PM org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    Mar 22, 2008 4:47:09 PM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/15  config=null
    Mar 22, 2008 4:47:09 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 1039 ms

  • #2
    I have the same problem with my out project (no Spring MVC there).
    Tomcat 5.x does not produce any such messages. If listener definition is removed from web.xml (there is one and only one there) listener is not started.

    Originally posted by ew0kian View Post
    i'm following the spring mvc step by step 2.5 PDF and noticed in my tomcat 6 startup log the following , any ideas as to what its reffering to?

    Code:
    Mar 22, 2008 4:47:09 PM org.springframework.web.servlet.FrameworkServlet initServletBean
    INFO: FrameworkServlet 'myapp': initialization completed in 243 ms
    Mar 22, 2008 4:47:09 PM org.apache.catalina.core.StandardContext addApplicationListener
    INFO: The listener "listeners.ContextListener" is already configured for this context. The duplicate definition has been ignored.
    Mar 22, 2008 4:47:09 PM org.apache.catalina.core.StandardContext addApplicationListener
    INFO: The listener "listeners.SessionListener" is already configured for this context. The duplicate definition has been ignored.
    Mar 22, 2008 4:47:09 PM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    Mar 22, 2008 4:47:09 PM org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    Mar 22, 2008 4:47:09 PM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/15  config=null
    Mar 22, 2008 4:47:09 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 1039 ms

    Comment


    • #3
      HI all,

      it seems to be a problem of the revision 6.0.16. As it is written in this page, this extra log lines will not affect the application, despite a little log annoyance.

      This link is the tracking issue for this bug which will be fixed in a next release.

      https://issues.apache.org/bugzilla/s...g.cgi?id=44423

      Bye all.

      Comment

      Working...
      X