[ 
https://issues.apache.org/jira/browse/WICKET-3055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Clint Checketts updated WICKET-3055:
------------------------------------

    Attachment: DiskPageStore_patch_with_throw.txt

OK. I can see where you are coming from not wanting a fallback. I've attached a 
middle ground patch that follows what Martin recommended: an exception 
explaining the problem.

I realize we could just leave it as-is since the SecurityException does give a 
stack trace that the user could follow, but having a more helpful exception 
wouldn't hurt.

> Application fails to start when disk access is denied
> -----------------------------------------------------
>
>                 Key: WICKET-3055
>                 URL: https://issues.apache.org/jira/browse/WICKET-3055
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>         Environment: Google App Engine
>            Reporter: Clint Checketts
>            Assignee: Igor Vaynberg
>            Priority: Minor
>             Fix For: 1.4.13, 1.5-M3
>
>         Attachments: DiskPageStore_patch.txt, 
> DiskPageStore_patch_with_throw.txt
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> In some clustered environments, disk access is denied, so the DiskPageStore 
> creation fails in the newSessionStore() of WebApplication, causing the 
> application to fail to start.
> It may be better to detect the access exception and to fallback to 
> HttpSessionStore instead of failing.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to