Re: [Wicket-user] pagemap locking

2007-06-29 Thread Johan Compagner
Yeah i think that code i also did see, this should go into the next version yes. But i dont see how we can do that easy for java 4 johan On 6/28/07, Jonathan Locke [EMAIL PROTECTED] wrote: yeah, i just figured that out. i'll just patch our wicket for now. but we should add this for

Re: [Wicket-user] pagemap locking

2007-06-29 Thread Martijn Dashorst
We could try retrotranslator to see what kind of code is emitted? Martijn On 6/29/07, Johan Compagner [EMAIL PROTECTED] wrote: Yeah i think that code i also did see, this should go into the next version yes. But i dont see how we can do that easy for java 4 johan On 6/28/07, Jonathan

Re: [Wicket-user] pagemap locking

2007-06-29 Thread Johan Compagner
its a native call that isn't there in java 4 private native static StackTraceElement[][] dumpThreads(Thread[] threads); johan On 6/29/07, Martijn Dashorst [EMAIL PROTECTED] wrote: We could try retrotranslator to see what kind of code is emitted? Martijn On 6/29/07, Johan Compagner [EMAIL

Re: [Wicket-user] pagemap locking

2007-06-29 Thread Matej Knopp
What we should have is some kind of listener. Which you could use to easily plugin your own behavior (even dumpThreads if you want). I wated to do this some time ago, but then we stopped getting those exception so i let it be. -Matej On 6/29/07, Johan Compagner [EMAIL PROTECTED] wrote: its a

[Wicket-user] pagemap locking

2007-06-28 Thread Jonathan Locke
getting this exception. seems like a request thread might be hanging with the page map locked? anyone have any ideas? thanks! [11:19:44] ERROR - RequestCycle - After 1 minute the Pagemap null is still locked by: Thread[ajp-8009-1,5,main], giving up trying to get the page for

Re: [Wicket-user] pagemap locking

2007-06-28 Thread Martijn Dashorst
Yep, long running request blocks incoming request. Martijn On 6/28/07, Jonathan Locke [EMAIL PROTECTED] wrote: getting this exception. seems like a request thread might be hanging with the page map locked? anyone have any ideas? thanks! [11:19:44] ERROR - RequestCycle -

Re: [Wicket-user] pagemap locking

2007-06-28 Thread Jonathan Locke
makes sense all right. is there any way we could print out a stack trace of the thread that's holding the monitor we're trying to grab? maybe via JMX? this would be extremely useful when this exception is thrown! Martijn Dashorst wrote: Yep, long running request blocks incoming request.

Re: [Wicket-user] pagemap locking

2007-06-28 Thread Eelco Hillenius
makes sense all right. is there any way we could print out a stack trace of the thread that's holding the monitor we're trying to grab? maybe via JMX? this would be extremely useful when this exception is thrown! We've had a thread about that, and the conclusion was that this is possible (I

Re: [Wicket-user] pagemap locking

2007-06-28 Thread Jonathan Locke
yeah, i just figured that out. i'll just patch our wicket for now. but we should add this for wicket 1.4 (in a nicer way than this (generic utility method), of course): final StringBuilder builder = new StringBuilder();