You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Johan Compagner (JIRA)" <ji...@apache.org> on 2007/11/14 21:45:43 UTC
[jira] Created: (WICKET-1161) DiskPageStore should write the
sessions index file to disk on destroy (from WicketFilter.destroy())
DiskPageStore should write the sessions index file to disk on destroy (from WicketFilter.destroy())
---------------------------------------------------------------------------------------------------
Key: WICKET-1161
URL: https://issues.apache.org/jira/browse/WICKET-1161
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.3.0-rc1
Reporter: Johan Compagner
Assignee: Matej Knopp
Fix For: 1.3.0-rc2
We have to save the sessions index to disk from the DiskPageStore when we get a shutdown/destroy from the servlet container
(I hope that that that event will be called on a servlet container shutdown and on a undeploy/redeploy of the webapp.)
Then with a destroy we save it. When we are fired up again we read that file and also delete the file immediantly.
Then when the page store is created and the file isn't there it can delete all the page stores files that are currently on disk
because the destroy didn't happen so it was a crash or a hard kill and there won't be any sessions anyway.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-1161) DiskPageStore should write the
sessions index file to disk on destroy (from WicketFilter.destroy())
Posted by "Frank Bille Jensen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Frank Bille Jensen updated WICKET-1161:
---------------------------------------
Fix Version/s: (was: 1.3.3)
1.3.4
> DiskPageStore should write the sessions index file to disk on destroy (from WicketFilter.destroy())
> ---------------------------------------------------------------------------------------------------
>
> Key: WICKET-1161
> URL: https://issues.apache.org/jira/browse/WICKET-1161
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.0-rc1
> Reporter: Johan Compagner
> Assignee: Matej Knopp
> Fix For: 1.3.4
>
>
> We have to save the sessions index to disk from the DiskPageStore when we get a shutdown/destroy from the servlet container
> (I hope that that that event will be called on a servlet container shutdown and on a undeploy/redeploy of the webapp.)
> Then with a destroy we save it. When we are fired up again we read that file and also delete the file immediantly.
> Then when the page store is created and the file isn't there it can delete all the page stores files that are currently on disk
> because the destroy didn't happen so it was a crash or a hard kill and there won't be any sessions anyway.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WICKET-1161) DiskPageStore should write the
sessions index file to disk on destroy (from WicketFilter.destroy())
Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-1161.
-----------------------------------
Resolution: Fixed
> DiskPageStore should write the sessions index file to disk on destroy (from WicketFilter.destroy())
> ---------------------------------------------------------------------------------------------------
>
> Key: WICKET-1161
> URL: https://issues.apache.org/jira/browse/WICKET-1161
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.0-rc1
> Reporter: Johan Compagner
> Assignee: Matej Knopp
> Fix For: 1.3.5
>
>
> We have to save the sessions index to disk from the DiskPageStore when we get a shutdown/destroy from the servlet container
> (I hope that that that event will be called on a servlet container shutdown and on a undeploy/redeploy of the webapp.)
> Then with a destroy we save it. When we are fired up again we read that file and also delete the file immediantly.
> Then when the page store is created and the file isn't there it can delete all the page stores files that are currently on disk
> because the destroy didn't happen so it was a crash or a hard kill and there won't be any sessions anyway.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-1161) DiskPageStore should write the
sessions index file to disk on destroy (from WicketFilter.destroy())
Posted by "Frank Bille Jensen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Frank Bille Jensen updated WICKET-1161:
---------------------------------------
Fix Version/s: (was: 1.3.1)
1.3.2
> DiskPageStore should write the sessions index file to disk on destroy (from WicketFilter.destroy())
> ---------------------------------------------------------------------------------------------------
>
> Key: WICKET-1161
> URL: https://issues.apache.org/jira/browse/WICKET-1161
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.0-rc1
> Reporter: Johan Compagner
> Assignee: Matej Knopp
> Fix For: 1.3.2
>
>
> We have to save the sessions index to disk from the DiskPageStore when we get a shutdown/destroy from the servlet container
> (I hope that that that event will be called on a servlet container shutdown and on a undeploy/redeploy of the webapp.)
> Then with a destroy we save it. When we are fired up again we read that file and also delete the file immediantly.
> Then when the page store is created and the file isn't there it can delete all the page stores files that are currently on disk
> because the destroy didn't happen so it was a crash or a hard kill and there won't be any sessions anyway.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-1161) DiskPageStore should write the
sessions index file to disk on destroy (from WicketFilter.destroy())
Posted by "Frank Bille Jensen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Frank Bille Jensen updated WICKET-1161:
---------------------------------------
Fix Version/s: (was: 1.3.0-rc3)
1.3.1
> DiskPageStore should write the sessions index file to disk on destroy (from WicketFilter.destroy())
> ---------------------------------------------------------------------------------------------------
>
> Key: WICKET-1161
> URL: https://issues.apache.org/jira/browse/WICKET-1161
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.0-rc1
> Reporter: Johan Compagner
> Assignee: Matej Knopp
> Fix For: 1.3.1
>
>
> We have to save the sessions index to disk from the DiskPageStore when we get a shutdown/destroy from the servlet container
> (I hope that that that event will be called on a servlet container shutdown and on a undeploy/redeploy of the webapp.)
> Then with a destroy we save it. When we are fired up again we read that file and also delete the file immediantly.
> Then when the page store is created and the file isn't there it can delete all the page stores files that are currently on disk
> because the destroy didn't happen so it was a crash or a hard kill and there won't be any sessions anyway.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-1161) DiskPageStore should write the
sessions index file to disk on destroy (from WicketFilter.destroy())
Posted by "Frank Bille Jensen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Frank Bille Jensen updated WICKET-1161:
---------------------------------------
Fix Version/s: (was: 1.3.0-rc2)
1.3.0-rc3
> DiskPageStore should write the sessions index file to disk on destroy (from WicketFilter.destroy())
> ---------------------------------------------------------------------------------------------------
>
> Key: WICKET-1161
> URL: https://issues.apache.org/jira/browse/WICKET-1161
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.0-rc1
> Reporter: Johan Compagner
> Assignee: Matej Knopp
> Fix For: 1.3.0-rc3
>
>
> We have to save the sessions index to disk from the DiskPageStore when we get a shutdown/destroy from the servlet container
> (I hope that that that event will be called on a servlet container shutdown and on a undeploy/redeploy of the webapp.)
> Then with a destroy we save it. When we are fired up again we read that file and also delete the file immediantly.
> Then when the page store is created and the file isn't there it can delete all the page stores files that are currently on disk
> because the destroy didn't happen so it was a crash or a hard kill and there won't be any sessions anyway.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WICKET-1161) DiskPageStore should write the
sessions index file to disk on destroy (from WicketFilter.destroy())
Posted by "Matej Knopp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560863#action_12560863 ]
Matej Knopp commented on WICKET-1161:
-------------------------------------
This is basically done, but it would be nice to cleanup file entries for which there is no record in index (e.g. files that were left there when server instance was killed, etc.)
> DiskPageStore should write the sessions index file to disk on destroy (from WicketFilter.destroy())
> ---------------------------------------------------------------------------------------------------
>
> Key: WICKET-1161
> URL: https://issues.apache.org/jira/browse/WICKET-1161
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.0-rc1
> Reporter: Johan Compagner
> Assignee: Matej Knopp
> Fix For: 1.3.1
>
>
> We have to save the sessions index to disk from the DiskPageStore when we get a shutdown/destroy from the servlet container
> (I hope that that that event will be called on a servlet container shutdown and on a undeploy/redeploy of the webapp.)
> Then with a destroy we save it. When we are fired up again we read that file and also delete the file immediantly.
> Then when the page store is created and the file isn't there it can delete all the page stores files that are currently on disk
> because the destroy didn't happen so it was a crash or a hard kill and there won't be any sessions anyway.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-1161) DiskPageStore should write the
sessions index file to disk on destroy (from WicketFilter.destroy())
Posted by "Frank Bille Jensen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Frank Bille Jensen updated WICKET-1161:
---------------------------------------
Fix Version/s: (was: 1.3.2)
1.3.3
> DiskPageStore should write the sessions index file to disk on destroy (from WicketFilter.destroy())
> ---------------------------------------------------------------------------------------------------
>
> Key: WICKET-1161
> URL: https://issues.apache.org/jira/browse/WICKET-1161
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.0-rc1
> Reporter: Johan Compagner
> Assignee: Matej Knopp
> Fix For: 1.3.3
>
>
> We have to save the sessions index to disk from the DiskPageStore when we get a shutdown/destroy from the servlet container
> (I hope that that that event will be called on a servlet container shutdown and on a undeploy/redeploy of the webapp.)
> Then with a destroy we save it. When we are fired up again we read that file and also delete the file immediantly.
> Then when the page store is created and the file isn't there it can delete all the page stores files that are currently on disk
> because the destroy didn't happen so it was a crash or a hard kill and there won't be any sessions anyway.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-1161) DiskPageStore should write the
sessions index file to disk on destroy (from WicketFilter.destroy())
Posted by "Martijn Dashorst (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martijn Dashorst updated WICKET-1161:
-------------------------------------
Fix Version/s: (was: 1.3.4)
1.3.5
> DiskPageStore should write the sessions index file to disk on destroy (from WicketFilter.destroy())
> ---------------------------------------------------------------------------------------------------
>
> Key: WICKET-1161
> URL: https://issues.apache.org/jira/browse/WICKET-1161
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.0-rc1
> Reporter: Johan Compagner
> Assignee: Matej Knopp
> Fix For: 1.3.5
>
>
> We have to save the sessions index to disk from the DiskPageStore when we get a shutdown/destroy from the servlet container
> (I hope that that that event will be called on a servlet container shutdown and on a undeploy/redeploy of the webapp.)
> Then with a destroy we save it. When we are fired up again we read that file and also delete the file immediantly.
> Then when the page store is created and the file isn't there it can delete all the page stores files that are currently on disk
> because the destroy didn't happen so it was a crash or a hard kill and there won't be any sessions anyway.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.