You could add timestamp milliseconds and threadnames to the logging to check
whether you are looking at duplicated loglines or same-looking loglines.
(maybe you have 2 appenders to the same file?)

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jan Kriesten
Sent: Tuesday 05 June 2007 08:10
To: General Discussion for the Resin application server
Subject: [Resin-interest] app loaded twice?



hi,

i've the following curiosity occouring:

i'm using a filter in the web.xml like this

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app
          PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
          "http://java.sun.com/dtd/web-app_2_3.dtd";>
<web-app>
  <filter>
    <filter-name>wSL</filter-name>
    <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class>
    <init-param>
      <param-name>applicationClassName</param-name>
      <param-value>de.silberlicht.wsl.test.HelloWorldApplication</param-value>
    </init-param>
  </filter>

  <filter-mapping>
    <filter-name>wSL</filter-name>
    <url-pattern>/app/*</url-pattern>
  </filter-mapping>
</web-app>

the filter seems to be initialized twice by resin. all logging appears twice:

19:34:33 DEBUG [de.silberlicht.wsl.test.HelloWorldApplication] - app init
19:34:33 DEBUG [de.silberlicht.wsl.test.HelloWorldApplication] - app init
19:34:33 DEBUG [de.silberlicht.wsl.persistence.CacheManager] - initializing 
cache...
19:34:33 DEBUG [de.silberlicht.wsl.persistence.CacheManager] - initializing 
cache...
19:34:33 DEBUG [de.silberlicht.cfg.ConfigLoader] - Inserting
'/usr/local/www/services/wicket.silberlicht.de/html/WEB-INF/wSL' for '$
{config.path}'
19:34:33 DEBUG [de.silberlicht.cfg.ConfigLoader] - Inserting
'/usr/local/www/services/wicket.silberlicht.de/html/WEB-INF/wSL' for '$
{config.path}'

- as if two instances have been loaded by resin?!

do you have any hints, how this could be happening or how i can verify that it's
resin which loads the filter twice?

best regards, --- jan.



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to