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

Reply via email to