I am running into an issue that I _think_ is related to our terracotta
installation.
1. User visits page with a PageableListView.
2. User navigates to another page in the PageableListView
3. User clicks on a link generated within the listview
The following exception is generated
org.apache.wicket.WicketRuntimeException: component
mainContentPanel:photoListContainer:photoList:82:switchLink not
found on page com.example.wicket.pages.ExamplePage[id = 2],
listener interface = [RequestListenerInterface
name=IBehaviorListener, method=public abstract void
org.apache.wicket.behavior.IBehaviorListener.onRequest()]
at
org
.apache
.wicket
.request
.AbstractRequestCycleProcessor
.resolveListenerInterfaceTarget(AbstractRequestCycleProcessor.java:
416)
at
org
.apache
.wicket
.request
.AbstractRequestCycleProcessor
.resolveRenderedPage(AbstractRequestCycleProcessor.java:461)
at
org
.apache
.wicket
.protocol
.http
.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:139)
at com.example.wicket.WicketApplication
$2.resolve(WicketApplication.java:119)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1229)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1349)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
at
org
.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:
387)
at
org
.apache
.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:199)
at
org
.apache
.catalina
.core
.ApplicationFilterChain
.internalDoFilter(ApplicationFilterChain.java:235)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206)
at
org
.springframework
.orm
.hibernate3
.support
.OpenSessionInViewFilter
.doFilterInternal(OpenSessionInViewFilter.java:198)
at
org
.springframework
.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:
76)
at
org
.apache
.catalina
.core
.ApplicationFilterChain
.internalDoFilter(ApplicationFilterChain.java:235)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206)
at
com.randomcoder.security.DisableUrlSessionFilter.doFilter(Unknown
Source)
at
org
.apache
.catalina
.core
.ApplicationFilterChain
.internalDoFilter(ApplicationFilterChain.java:235)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206)
at
org
.apache
.catalina
.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org
.apache
.catalina
.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org
.apache
.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org
.apache
.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org
.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
568)
at
org
.apache
.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
109)
at
com.tc.tomcat55.session.SessionValve55.tcInvoke(SessionValve55.java:
63)
at
com.tc.tomcat55.session.SessionValve55.invoke(SessionValve55.java:50)
at
org
.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
286)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:
283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at
org
.apache
.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at org.apache.jk.common.ChannelSocket
$SocketConnection.runIt(ChannelSocket.java:889)
at org.apache.tomcat.util.threads.ThreadPool
$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:595)
If I run only one server, then everything works as expected. As soon
as I add extra servers I begin to see this error.
From what I can tell, it appears as though the page map is not being
distributed via terracotta, though I could be wrong. :)
The reason I think this is it appears as though the PageableListView
page that I navigate to doesn't exist in the pagemap on the server
that handles the request when I click a link and as such, generates
the above exception.
Installation:
Terracotta 2.7.1
Wicket 1.3.5
tim-wicket-1.3-1.1.3
Any suggestions welcome.
thanks,
-- Mike
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]