[
https://issues.apache.org/jira/browse/WICKET-4009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13095203#comment-13095203
]
Andrea Del Bene commented on WICKET-4009:
-----------------------------------------
PageAccessSynchronizer associates page locks to a single thread. Tomcat, after
session expiration, continues to serve user requests with the same thread so
PageAccessSynchronizer can assign previously owned locks.
The problem arise with web server like Jetty which seems to assign to users a
new thread after session expiration. In this scenario page locks previously
owned by expired session are no more unlocked.
Possible solution:
-Associate locks to session id and not to thread. When session expires unlock
all its locks.
What's your opinion about this Martin?
> Page Lock on Browser Back Button after Page Expiry
> --------------------------------------------------
>
> Key: WICKET-4009
> URL: https://issues.apache.org/jira/browse/WICKET-4009
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5-RC7
> Environment: Wicket version: 1.5-RC7
> java version "1.6.0_25"
> Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
> Java HotSpot(TM) Client VM (build 20.0-b11, mixed mode, sharing)
> Server: GlassFish 3.1.1
> Reporter: bernard
> Attachments: quickStart.zip
>
>
> In the attached quickstart, after page expiry and browser back navigation, a
> server error occurs such as:
> "failed to acquire lock to page 0, attempted for 1 minutes out of allowed 1
> minute"
> This appears to be related to request logging, but I have seen other strange
> errors without request logging such as
> org.apache.wicket.request.handler.ComponentNotFoundException: Could not find
> component 'form' on page 'class web.page.ExpiredPage
> also with browser history back navigation.
> I have seen none of these errors in Wicket 1.4. I guess the reason for not
> having seen this before it that http cache headers are different in 1.5.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira