Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0006522 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] A. Platform | minor | always | 2008-12-13 00:37 | 2009-03-06 12:34 | |||
| Reporter | mtaal | View Status | public | |||||
| Assigned To | mtaal | |||||||
| Priority | normal | Resolution | fixed | Fixed in Version | ||||
| Status | closed | Fix in branch | Fixed in SCM revision | 11430 | ||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | pi | SCM revision | ||||||
| Merge Request Status | ||||||||
| Review Assigned To | ||||||||
| OBNetwork customer | No | |||||||
| Web browser | ||||||||
| Modules | Core | |||||||
| Support ticket | ||||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0006522: Prevent persistent sessions with Tomcat | |||||||
| Description | Tomcat 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 | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|
Notes |
|
|
(0011512) jpabloae (viewer) 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 (viewer) 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 (viewer) 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 | OBNetwork customer | => No |
| 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 |