What do you mean?  The page map is locked because another request is still
running.  If you have anything that takes a noticeable amount of time
(several seconds or more) to process, put it in a separate thread and
redirect to a waiting page.

--
Jeremy Thomerson
http://www.wickettraining.com



On Tue, May 4, 2010 at 5:27 PM, Ayodeji Aladejebi <aladej...@gmail.com>wrote:

> or more like a thread must not block for that long?
>
> On Tue, May 4, 2010 at 11:01 PM, Igor Vaynberg <igor.vaynb...@gmail.com
> >wrote:
>
> > dont execute code that takes 1+ minutes to finish inside a web thread
> >
> > -igor
> >
> > On Tue, May 4, 2010 at 2:40 PM, Ayodeji Aladejebi <aladej...@gmail.com>
> > wrote:
> > > SEVERE: org.apache.wicket.WicketRuntimeException: After 1 minute the
> > Pagemap
> > > null is still locked by: Thread[http-8084-7,5,main], giving up trying
> to
> > get
> > > the page for path: 2
> > >        Begin of stack trace of Thread[http-8084-7,5,main]
> > >        java.lang.Object.wait(Native Method)
> > >        java.lang.Object.wait(Object.java:485)
> > >
> > >
> >
>  org.apache.tomcat.util.net.AprEndpoint$Worker.await(AprEndpoint.java:1511)
> > >
> > >
>  org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1536)
> > >        java.lang.Thread.run(Thread.java:619)
> > >        End of stack trace of Thread[http-8084-7,5,main]
> > > org.apache.wicket.protocol.http.request.InvalidUrlException:
> > > org.apache.wicket.WicketRuntimeException: After 1 minute the Pagemap
> null
> > is
> > > still locked by: Thread[http-8084-7,5,main], giving up trying to get
> the
> > > page for path: 2
> > >        Begin of stack trace of Thread[http-8084-7,5,main]
> > >        java.lang.Object.wait(Native Method)
> > >        java.lang.Object.wait(Object.java:485)
> > >
> > >
> >
>  org.apache.tomcat.util.net.AprEndpoint$Worker.await(AprEndpoint.java:1511)
> > >
> > >
>  org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1536)
> > >        java.lang.Thread.run(Thread.java:619)
> > >        End of stack trace of Thread[http-8084-7,5,main]
> > >
> > > -- Any tips
> > >
> > > I
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>
>
> --
>

Reply via email to