Help with you can only locate or create sessions in the context of a request cycle error

2009-10-30 Thread Yasa, Srinivasa R
Hi, I am getting this error when i try to get the Session using getWebRequestCycle().getSession(); or even with Session.get() inside my WebPage. Also this is happening only when request goes through the Http Serevr and then to Oracle Application server which was our production setup. The error

Re: Help with you can only locate or create sessions in the context of a request cycle error

2009-10-30 Thread Pedro Santos
Hi Yasa, can you make sure that getWebRequestCycle().getSession() is called on the same thread that WicketFilter is responding the request? RequestCycle use thread locals to keep his reference, if you are working in an multi thread response, you can get that exception. On Fri, Oct 30, 2009 at