Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0010309 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | have not tried | 2009-08-17 17:18 | 2009-09-18 00:00 | |||
Reporter | plujan | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | high | Resolution | fixed | Fixed in Version | 2.50MP6 | |||
Status | closed | Fix in branch | Fixed in SCM revision | d1e81c8176db | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0010309: Restarting Tomcat service does not clean the session_active field in ad_session | |||||||
Description | If I restart Tomcat service, all active sessions in ad_session table are kept as active, so license count will consider non active sessions until this rows were manually updated | |||||||
Steps To Reproduce | Use an OBPS site with 5 users limit. Enter from 5 different browsers. All users can log in and work with the app. Restart tomcat service. Try to login again. A message saying all the licenses are in use is displayed and you cannot login. | |||||||
Tags | OBPS-Security | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0019408) alostale (manager) 2009-09-02 11:59 |
In a normal shoutdown the active sessions in the context should be deactivated. This should only occur in abnormal shutdowns (for example killing the tomcat process). |
(0019409) hgbot (developer) 2009-09-02 12:04 |
Repository: erp/devel/pi Changeset: d1e81c8176dbbd49a5b1faa890f4c0b2d29e76a9 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Wed Sep 02 12:03:31 2009 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/d1e81c8176dbbd49a5b1faa890f4c0b2d29e76a9 [^] fixed bug 0010309: Clean orphan sessions when starting context When tomcat is started orphan sessions (for example the ones that were in a context that was abnormally shut down) are deactivated. --- M src-db/database/model/tables/AD_SESSION.xml M src-db/database/sourcedata/AD_COLUMN.xml M src-db/database/sourcedata/AD_ELEMENT.xml M src-db/database/sourcedata/AD_MODEL_OBJECT.xml M src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml M src/org/openbravo/base/secureApp/HttpSecureAppServlet.java M src/org/openbravo/erpCommon/security/SessionListener.java M src/org/openbravo/erpCommon/security/SessionLogin.java M src/org/openbravo/erpCommon/security/SessionLogin_data.xsql A src/org/openbravo/erpCommon/security/SessionActive.java --- |
(0020154) psarobe (manager) 2009-09-17 19:18 |
Tested working fine |
Issue History | |||
Date Modified | Username | Field | Change |
2009-08-17 17:18 | plujan | New Issue | |
2009-08-17 17:18 | plujan | Assigned To | => rafaroda |
2009-08-17 17:18 | plujan | Tag Attached: OBPS-Security | |
2009-08-18 15:36 | rafaroda | Assigned To | rafaroda => alostale |
2009-08-18 15:36 | rafaroda | Priority | normal => high |
2009-08-18 15:36 | rafaroda | Status | new => scheduled |
2009-08-18 18:13 | plujan | version | => pi |
2009-09-02 11:59 | alostale | Note Added: 0019408 | |
2009-09-02 12:04 | hgbot | Checkin | |
2009-09-02 12:04 | hgbot | Note Added: 0019409 | |
2009-09-02 12:04 | hgbot | Status | scheduled => resolved |
2009-09-02 12:04 | hgbot | Resolution | open => fixed |
2009-09-02 12:04 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/d1e81c8176dbbd49a5b1faa890f4c0b2d29e76a9 [^] |
2009-09-17 19:18 | psarobe | Status | resolved => closed |
2009-09-17 19:18 | psarobe | Note Added: 0020154 | |
2009-09-17 19:18 | psarobe | Fixed in Version | => 2.50MP6 |
2009-09-18 00:00 | anonymous | sf_bug_id | 0 => 2860999 |
2014-06-12 09:55 | alostale | Relationship added | related to 0026846 |
Copyright © 2000 - 2009 MantisBT Group |