Results 1 to 3 of 3

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

  1. #1
    Join Date
    Nov 2007
    Location
    Austin, TX USA
    Posts
    154

    Default 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. #2
    Join Date
    Aug 2006
    Location
    Now Germany, previously Ukraine
    Posts
    1,546

    Default

    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.

    Quote 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

  3. #3

    Default

    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.
    --
    Davide

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •