Re: [Wicket-user] Pagemap null is locked
Everyone, This was a secondary effect caused by a Model that could not be successfully serialized. In the model, one of the members held a non-serializable object. I set the member to null in the onDetach() method, but apparently onDetach() was not being called. I have since changed the member so that it is declared as transient, since all I was doing in onDetach() is setting it to null. I am investigating why onDetach() was not called, but have not yet come up with an answer. Thanks, On Tue, 2006-09-12 at 14:29 -0500, Philip A. Chapman wrote: Everyone, I am getting the following error whenever I try to hit a certain page in my webapp. The error can be reproduced and happens every time I try to access the page. I have not yet been successful in creating a small non-trivial test app that will display this behaviour. Any thoughts would be appreciated. Thanks, WicketMessage: After 20s the Pagemap null is still locked by: Thread[resin-803,5,main], giving up trying to get the page for path: 12:categorySelect Root cause: wicket.WicketRuntimeException: After 20s the Pagemap null is still locked by: Thread[resin-803,5,main], giving up trying to get the page for path: 12:categorySelect at wicket.Session.getPage(Session.java:482) at wicket.request.compound.AbstractRequestTargetResolverStrategy.resolveRenderedPage(AbstractRequestTargetResolverStrategy.java:80) at wicket.request.compound.DefaultRequestTargetResolverStrategy.resolve(DefaultRequestTargetResolverStrategy.java:79) at wicket.request.compound.AbstractCompoundRequestCycleProcessor.resolve(AbstractCompoundRequestCycleProcessor.java:49) at wicket.RequestCycle.step(RequestCycle.java:993) at wicket.RequestCycle.steps(RequestCycle.java:1082) at wicket.RequestCycle.request(RequestCycle.java:454) at wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:233) at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:126) at javax.servlet.http.HttpServlet.service(HttpServlet.java:115) at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at wicket.protocol.http.servlet.WicketSessionFilter.doFilter(WicketSessionFilter.java:197) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:178) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:259) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:386) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490) at com.caucho.util.ThreadPool.run(ThreadPool.java:423) at java.lang.Thread.run(Thread.java:595) -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP signature.asc Description: This is a digitally signed message part - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Pagemap null is locked
Did you have any luck with this yet tracking it down?Because i am very curious how this can happen because in the detach of the request i am clearing all things of the current threadin that map. So why something hangs is very strange. If you could debug or change the src a bit of wicket (by placing some output statements in at wicket.Session.getPage(Session.java:482)where you print the thread and the pagemap that is just lockedand then also print out on the release.I am then very curious why it doesn't get to the detach.. johanOn 9/12/06, Philip A. Chapman [EMAIL PROTECTED] wrote: Everyone, I am getting the following error whenever I try to hit a certain page in my webapp. The error can be reproduced and happens every time I try to access the page. I have not yet been successful in creating a small non-trivial test app that will display this behaviour. Any thoughts would be appreciated. Thanks, WicketMessage: After 20s the Pagemap null is still locked by: Thread[resin-803,5,main], giving up trying to get the page for path: 12:categorySelect Root cause: wicket.WicketRuntimeException: After 20s the Pagemap null is still locked by: Thread[resin-803,5,main], giving up trying to get the page for path: 12:categorySelect at wicket.Session.getPage(Session.java:482) at wicket.request.compound.AbstractRequestTargetResolverStrategy.resolveRenderedPage(AbstractRequestTargetResolverStrategy.java:80) at wicket.request.compound.DefaultRequestTargetResolverStrategy.resolve(DefaultRequestTargetResolverStrategy.java:79) at wicket.request.compound.AbstractCompoundRequestCycleProcessor.resolve(AbstractCompoundRequestCycleProcessor.java:49) at wicket.RequestCycle.step(RequestCycle.java:993) at wicket.RequestCycle.steps(RequestCycle.java:1082) at wicket.RequestCycle.request(RequestCycle.java:454) at wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:233) at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:126) at javax.servlet.http.HttpServlet.service(HttpServlet.java:115) at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at wicket.protocol.http.servlet.WicketSessionFilter.doFilter(WicketSessionFilter.java:197) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:178) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:259) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:386) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490) at com.caucho.util.ThreadPool.run(ThreadPool.java:423) at java.lang.Thread.run(Thread.java:595) -- Philip A. ChapmanDesktop and Web Application Development:Java, .NET, PostgreSQL, MySQL, MSSQLLinux, Windows 2000, Windows XP -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Pagemap null is locked
Everyone, I am getting the following error whenever I try to hit a certain page in my webapp. The error can be reproduced and happens every time I try to access the page. I have not yet been successful in creating a small non-trivial test app that will display this behaviour. Any thoughts would be appreciated. Thanks, WicketMessage: After 20s the Pagemap null is still locked by: Thread[resin-803,5,main], giving up trying to get the page for path: 12:categorySelect Root cause: wicket.WicketRuntimeException: After 20s the Pagemap null is still locked by: Thread[resin-803,5,main], giving up trying to get the page for path: 12:categorySelect at wicket.Session.getPage(Session.java:482) at wicket.request.compound.AbstractRequestTargetResolverStrategy.resolveRenderedPage(AbstractRequestTargetResolverStrategy.java:80) at wicket.request.compound.DefaultRequestTargetResolverStrategy.resolve(DefaultRequestTargetResolverStrategy.java:79) at wicket.request.compound.AbstractCompoundRequestCycleProcessor.resolve(AbstractCompoundRequestCycleProcessor.java:49) at wicket.RequestCycle.step(RequestCycle.java:993) at wicket.RequestCycle.steps(RequestCycle.java:1082) at wicket.RequestCycle.request(RequestCycle.java:454) at wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:233) at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:126) at javax.servlet.http.HttpServlet.service(HttpServlet.java:115) at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at wicket.protocol.http.servlet.WicketSessionFilter.doFilter(WicketSessionFilter.java:197) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:178) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:259) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:386) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490) at com.caucho.util.ThreadPool.run(ThreadPool.java:423) at java.lang.Thread.run(Thread.java:595) -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP signature.asc Description: This is a digitally signed message part - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Pagemap null is locked
Nasty. Maybe you can set a breakpoint in Session.requestDetached in getPage (line 486). And for us something reproducible runnable would help :) Eelco On 9/12/06, Philip A. Chapman [EMAIL PROTECTED] wrote: Everyone, I am getting the following error whenever I try to hit a certain page in my webapp. The error can be reproduced and happens every time I try to access the page. I have not yet been successful in creating a small non-trivial test app that will display this behaviour. Any thoughts would be appreciated. Thanks, WicketMessage: After 20s the Pagemap null is still locked by: Thread[resin-803,5,main], giving up trying to get the page for path: 12:categorySelect Root cause: wicket.WicketRuntimeException: After 20s the Pagemap null is still locked by: Thread[resin-803,5,main], giving up trying to get the page for path: 12:categorySelect at wicket.Session.getPage(Session.java:482) at wicket.request.compound.AbstractRequestTargetResolverStrategy.resolveRenderedPage(AbstractRequestTargetResolverStrategy.java:80) at wicket.request.compound.DefaultRequestTargetResolverStrategy.resolve(DefaultRequestTargetResolverStrategy.java:79) at wicket.request.compound.AbstractCompoundRequestCycleProcessor.resolve(AbstractCompoundRequestCycleProcessor.java:49) at wicket.RequestCycle.step(RequestCycle.java:993) at wicket.RequestCycle.steps(RequestCycle.java:1082) at wicket.RequestCycle.request(RequestCycle.java:454) at wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:233) at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:126) at javax.servlet.http.HttpServlet.service(HttpServlet.java:115) at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at wicket.protocol.http.servlet.WicketSessionFilter.doFilter(WicketSessionFilter.java:197) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:178) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:259) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:386) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490) at com.caucho.util.ThreadPool.run(ThreadPool.java:423) at java.lang.Thread.run(Thread.java:595) -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user