no log messages after redeployment

Hi, I use the JNDI switch for logback. If I undeploy my application, the old JNDI context ist destroyed. That's fine. But I redeploy the same application with the same context name, no logging messages are displayed. If I restart Tomcat6 and the deployed application comes up, i see the messages again. The libs which are needed by my application are stored in the tomcat6/sharedLib folder. Any idea why the messages are missing? Ingo This is my web.xml: <filter> <filter-name>LoggerContextFilter</filter-name> <filter-class>ch.qos.logback.classic.selector.servlet.LoggerContextFilter</filter-class> </filter> <filter-mapping> <filter-name>LoggerContextFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> <!-- Detaches logger repositories. --> <listener> <listener-class>ch.qos.logback.classic.selector.servlet.ContextDetachingSCL</listener-class> </listener> ... <env-entry> <description>JNDI logging context for this app</description> <env-entry-name>logback/context-name</env-entry-name> <env-entry-value>EIMContext-1</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> <env-entry> <description>URL for configuring logback context</description> <env-entry-name>logback/configuration-resource</env-entry-name> <env-entry-value>eim_logback.xml</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry>
participants (1)
-
Ingo Siebert