Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0006522
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2008-12-13 00:372009-03-06 12:34
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision11430
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0006522: Prevent persistent sessions with Tomcat

DescriptionTomcat can store the session and its data when Tomcat gets restarted. Then after restarting the previous sessions are again read in-memory. However, with hibernate this does not work, because when an object is deserialized an error is thrown.

The solution is to make Tomcat not persist sessions.

gr. Martin
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0011512)
jpabloae (reporter)
2008-12-18 11:56

I see two options:

1) We force a persistent sessions restart in the ERP:
http://tomcat.apache.org/tomcat-6.0-doc/config/manager.html#Restart%20Persistence [^]

2) We force users to change their tomcat configuration:
http://www.unicon.net/node/608 [^]

1) Would mean a developer has to fix it. 2) means everyone should fix it in their installations, and us in the virtual appliances.

Martin: which option do think it is better technically?
(0011584)
mtaal (manager)
2008-12-19 11:48

Hi Juan Pablo,
After some more thought.
I have worked on some changes to make it possible to serialize and de-serialize the info that is stored in the session. This seems to work fine. So I will close the call when this is solved.

gr. Martin
(0011623)
svnbot (reporter)
2008-12-20 00:03

Repository: openbravo
Revision: 11430
Author: mtaal
Date: 2008-12-20 00:03:42 +0100 (Sat, 20 Dec 2008)

Fixes issue 6522

---
U trunk/src/org/openbravo/dal/core/OBContext.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=11430&sc=1 [^]

- Issue History
Date Modified Username Field Change
2008-12-13 00:37 mtaal New Issue
2008-12-13 00:37 mtaal Assigned To => rafaroda
2008-12-13 00:37 mtaal sf_bug_id 0 => 2422896
2008-12-13 00:37 mtaal Regression testing => No
2008-12-18 11:56 jpabloae Note Added: 0011512
2008-12-19 11:48 mtaal Note Added: 0011584
2008-12-19 11:49 mtaal Assigned To rafaroda => mtaal
2008-12-20 00:03 svnbot Checkin
2008-12-20 00:03 svnbot Note Added: 0011623
2008-12-20 00:03 svnbot Status new => resolved
2008-12-20 00:03 svnbot Resolution open => fixed
2008-12-20 00:03 svnbot svn_revision => 11430
2009-03-06 12:34 psarobe Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker