Hello guys,

I'm working with wicket 1.3.1. I've just get a very strange stacktrace in my logs. It is the first time I see something so weird with Wicket.

The problem is that in the exception message, I can see components names which belongs to two separate pages, running on two separated filters!

For exemple, I have App1 and App2 running on the same context. I have Page1 with Panel1 on the App1, and Page2 with Panel2 on the App2.

Now, the error says:

   Exception class org.apache.wicket.WicketRuntimeException

   component *panel2*:form:repeater:2:linkxxx not found on page
   *Page1*.ImagePopup[id = 6], listener interface =
   [RequestListenerInterface name=IBehaviorListener, method=public
   abstract void org.apache.wicket.behavior.IBehaviorListener.onRequest()]

Here is my web.xml file, it may be interesting...

   <?xml version="1.0" encoding="UTF-8"?>
   <web-app xmlns="http://java.sun.com/xml/ns/j2ee";
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
   http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
       version="2.4">

       <session-config>
           <session-timeout>60</session-timeout>
       </session-config>

       <display-name>Application name</display-name>

       <context-param>
           <param-name>contextConfigLocation</param-name>
           <param-value>classpath:applicationContext.xml</param-value>
       </context-param>

       <filter>
           <filter-name>openSessionInViewFilterAPP1</filter-name>
           <filter-class>
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter
           </filter-class>
       </filter>

       <filter-mapping>
           <filter-name>openSessionInViewFilterAPP1</filter-name>
           <url-pattern>/app1/*</url-pattern>
       </filter-mapping>
<filter>
           <filter-name>openSessionInViewFilterAPP2</filter-name>
           <filter-class>
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter
           </filter-class>
       </filter>

       <filter-mapping>
           <filter-name>openSessionInViewFilterAPP2</filter-name>
           <url-pattern>/app2/*</url-pattern>
       </filter-mapping>

       <listener>
           <listener-class>
               org.springframework.web.context.ContextLoaderListener
           </listener-class>
       </listener>


       <filter>
           <filter-name>App1</filter-name>
           <filter-class>
               org.apache.wicket.protocol.http.WicketFilter
           </filter-class>
           <init-param>
               <param-name>applicationClassName</param-name>
               <param-value>app1.App1</param-value>
           </init-param>
       </filter>

       <filter-mapping>
           <filter-name>App1</filter-name>
           <url-pattern>/app1/*</url-pattern>
       </filter-mapping>


       <filter>
           <filter-name>App2</filter-name>
           <filter-class>
               org.apache.wicket.protocol.http.WicketFilter
           </filter-class>
           <init-param>
               <param-name>applicationClassName</param-name>
               <param-value>app2.App2</param-value>
           </init-param>
       </filter>

       <filter-mapping>
           <filter-name>App2</filter-name>
           <url-pattern>/app2/*</url-pattern>
       </filter-mapping>

       <!-- ------------------------------------------------------ -->
       <welcome-file-list>
           <welcome-file>index.jsp</welcome-file>
       </welcome-file-list>

   </web-app>

Does anybody have an idea? Let me know if you need further informations.

Thank you! ;)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to