You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Ayodeji Aladejebi <al...@gmail.com> on 2010/05/04 23:40:45 UTC
SEVERE:Pagemap null is still locked by: Thread
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
Re: SEVERE:Pagemap null is still locked by: Thread
Posted by Jeremy Thomerson <je...@wickettraining.com>.
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 <al...@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.vaynberg@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 <al...@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-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>
>
> --
>
Re: SEVERE:Pagemap null is still locked by: Thread
Posted by Ayodeji Aladejebi <al...@gmail.com>.
or more like a thread must not block for that long?
On Tue, May 4, 2010 at 11:01 PM, Igor Vaynberg <ig...@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 <al...@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-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
--
Re: SEVERE:Pagemap null is still locked by: Thread
Posted by Igor Vaynberg <ig...@gmail.com>.
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 <al...@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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: SEVERE:Pagemap null is still locked by: Thread
Posted by Johan Compagner <jc...@gmail.com>.
if you have a test case please make a jira issue and attach your sample.
It is strange because in onBeginRequest of a request cycle there is no page
locked what so ever.
So i dont see how this is related.
On Wed, May 19, 2010 at 00:49, Ayodeji Aladejebi <al...@gmail.com>wrote:
> I notice this:
>
> After 3 minutes the Pagemap null is still locked by:
> Thread[http-8084-2,5,main], giving up trying to get the page for path:
> 2:topAdverts:advertListCont
>
> What happened was that I called ((WebRequestCycle)
> WebRequestCycle.get()).getWebRequest().getQueryString() within
> onBeginRequest of RequestCycle. This is what normally leads to this problem
>
>
>
> On Fri, May 7, 2010 at 9:57 PM, Ayodeji Aladejebi <aladejebi@gmail.com
> >wrote:
>
> > version 1.4.6 on windows vista running on tomcat 6.0.26
> >
> >
> > On Wed, May 5, 2010 at 5:43 PM, Johan Compagner <jcompagner@gmail.com
> >wrote:
> >
> >> hmm
> >>
> >> looking at the stack of the of that thread that has the lock on the page
> >> map
> >> then it seems to me that that shouldnt happen, because that thread is
> >> doing
> >> nothing anymore if the stack dump of that thread is really the right
> one.
> >>
> >> Because that just seems to be in a waiting state in a tomcat pool
> >>
> >> So then it is more that there is some exception in front of that maybe
> >> that
> >> somehow didnt release the pagemap
> >> What version of wicket do you use?
> >>
> >>
> >> On Tue, May 4, 2010 at 23:40, Ayodeji Aladejebi <al...@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
> >> >
> >>
> >
> >
> >
> >
>
Re: SEVERE:Pagemap null is still locked by: Thread
Posted by Ayodeji Aladejebi <al...@gmail.com>.
I notice this:
After 3 minutes the Pagemap null is still locked by:
Thread[http-8084-2,5,main], giving up trying to get the page for path:
2:topAdverts:advertListCont
What happened was that I called ((WebRequestCycle)
WebRequestCycle.get()).getWebRequest().getQueryString() within
onBeginRequest of RequestCycle. This is what normally leads to this problem
On Fri, May 7, 2010 at 9:57 PM, Ayodeji Aladejebi <al...@gmail.com>wrote:
> version 1.4.6 on windows vista running on tomcat 6.0.26
>
>
> On Wed, May 5, 2010 at 5:43 PM, Johan Compagner <jc...@gmail.com>wrote:
>
>> hmm
>>
>> looking at the stack of the of that thread that has the lock on the page
>> map
>> then it seems to me that that shouldnt happen, because that thread is
>> doing
>> nothing anymore if the stack dump of that thread is really the right one.
>>
>> Because that just seems to be in a waiting state in a tomcat pool
>>
>> So then it is more that there is some exception in front of that maybe
>> that
>> somehow didnt release the pagemap
>> What version of wicket do you use?
>>
>>
>> On Tue, May 4, 2010 at 23:40, Ayodeji Aladejebi <al...@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
>> >
>>
>
>
>
>
Re: SEVERE:Pagemap null is still locked by: Thread
Posted by Ayodeji Aladejebi <al...@gmail.com>.
version 1.4.6 on windows vista running on tomcat 6.0.26
On Wed, May 5, 2010 at 5:43 PM, Johan Compagner <jc...@gmail.com>wrote:
> hmm
>
> looking at the stack of the of that thread that has the lock on the page
> map
> then it seems to me that that shouldnt happen, because that thread is doing
> nothing anymore if the stack dump of that thread is really the right one.
>
> Because that just seems to be in a waiting state in a tomcat pool
>
> So then it is more that there is some exception in front of that maybe that
> somehow didnt release the pagemap
> What version of wicket do you use?
>
>
> On Tue, May 4, 2010 at 23:40, Ayodeji Aladejebi <al...@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
> >
>
Re: SEVERE:Pagemap null is still locked by: Thread
Posted by Johan Compagner <jc...@gmail.com>.
hmm
looking at the stack of the of that thread that has the lock on the page map
then it seems to me that that shouldnt happen, because that thread is doing
nothing anymore if the stack dump of that thread is really the right one.
Because that just seems to be in a waiting state in a tomcat pool
So then it is more that there is some exception in front of that maybe that
somehow didnt release the pagemap
What version of wicket do you use?
On Tue, May 4, 2010 at 23:40, Ayodeji Aladejebi <al...@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
>