Re: SEVERE:Pagemap null is still locked by: Thread

2010-05-19 Thread Johan Compagner
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 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  >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  >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 
> >> 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

2010-05-18 Thread Ayodeji Aladejebi
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 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 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 
>> 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

2010-05-07 Thread Ayodeji Aladejebi
version 1.4.6 on windows vista running on tomcat 6.0.26

On Wed, May 5, 2010 at 5:43 PM, Johan Compagner 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 
> 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

2010-05-05 Thread Johan Compagner
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  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

2010-05-04 Thread Jeremy Thomerson
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 wrote:

> or more like a thread must not block for that long?
>
> On Tue, May 4, 2010 at 11:01 PM, Igor Vaynberg  >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 
> > 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
> >
> >
>
>
> --
>


Re: SEVERE:Pagemap null is still locked by: Thread

2010-05-04 Thread Ayodeji Aladejebi
or more like a thread must not block for that long?

On Tue, May 4, 2010 at 11:01 PM, Igor Vaynberg 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 
> 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
>
>


--


Re: SEVERE:Pagemap null is still locked by: Thread

2010-05-04 Thread Igor Vaynberg
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  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



SEVERE:Pagemap null is still locked by: Thread

2010-05-04 Thread Ayodeji Aladejebi
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