best way to show login page when session expires? (Javascript/Java based Cocoon app.)

2011-05-18 Thread Paul Joseph
Hi there, I have a Cocoon app that has numerous pages...I use Javascript (flowscript) to do the display and Java to do the business logic. In the Java layer, I have code to detect when the session expires and this works nicely and so I am able to maintain a count of currently logged in

Re: best way to show login page when session expires? (Javascript/Java based Cocoon app.)

2011-05-18 Thread Andre Juffer
Paul, you could use Auth: http://cocoon.apache.org/2.2/blocks/auth/1.0/1236_1_1.html I have used this with 2.2 and does seem to work fine. One can test in flowscript whether or not a request is send while the session was expired/closed. Testing whether or not the session expired does not

Re: best way to show login page when session expires? (Javascript/Java based Cocoon app.)

2011-05-18 Thread Paul Joseph
Hi Andre, Thank you kindly for your reply. I guess I could implement cocoon-auth, but am a bit reluctant to at this point as it looks like a substantial change. I figure, I know already when the server expires the session via HttpSessionBindingListener and have a method around this already

Re: best way to show login page when session expires? (Javascript/Java based Cocoon app.)

2011-05-18 Thread Paul Joseph
I think I should use this: http://wiki.apache.org/cocoon/ErrorHandling On 5/18/2011 11:22 AM, Andre Juffer wrote: Paul, you could use Auth: http://cocoon.apache.org/2.2/blocks/auth/1.0/1236_1_1.html I have used this with 2.2 and does seem to work fine. One can test in flowscript whether or

Re: best way to show login page when session expires? (Javascript/Java based Cocoon app.)

2011-05-18 Thread Andre Juffer
On 05/18/2011 07:18 PM, Paul Joseph wrote: I think I should use this: http://wiki.apache.org/cocoon/ErrorHandling Not sure, never used it. On 5/18/2011 11:22 AM, Andre Juffer wrote: Paul, you could use Auth: http://cocoon.apache.org/2.2/blocks/auth/1.0/1236_1_1.html I have used this

Thread Stuck with ResourceLimitingPool

2011-05-18 Thread Remi . Masson . EXT
Hello, I used cocoon 2.1.5 on Weblogic 10.3. I request Oracle DataBase with cocoon framework with XSP. The configuration in cocoon.xconf is : datasources jdbc name=BAEWEB auto-commitfalse/auto-commit pool-controller max=16 min=0 oradb=true/