Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0034989 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | always | 2017-01-18 10:55 | 2017-03-15 20:18 | |||
Reporter | ioritzCia | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | high | Resolution | fixed | Fixed in Version | 3.0PR17Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | a95f58378760 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | caristu | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | Google Chrome | |||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0034989: When login, the Openbravo.properties file is opened too often | |||||||
Description | See the log file attached and search for the following error: Error reading properties java.io.FileNotFoundException: /opt/OpenbravoERP/openbravo/config/Openbravo.properties (Trop de fichiers ouverts) The file is opened too often, you can list the time the file has been opened with: lsof -p <pid> (in our case java/tomcat pid) lsof <file> The code that opens the file is in src/org/openbravo/base/secureApp/UserLock.java file in UserLock constructor at the beginning | |||||||
Steps To Reproduce | Launch several webservices in parallel We can provide tools to do it | |||||||
Tags | Performance | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0093691) hgbot (developer) 2017-01-18 13:10 |
Repository: erp/devel/pi Changeset: a95f58378760062ea202eb077eb2112ce431edc3 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Wed Jan 18 13:08:14 2017 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/a95f58378760062ea202eb077eb2112ce431edc3 [^] fixed bug 34989: When login, the Openbravo.properties file is opened too often User locking mechanism was reading coonfiguration from Openbravo.properties in source path instead of using the standard cached properties. This caused unneeded overhead on loging. It has been fixed by: - Use the standard cached Openbravo.properties to retrieve this configuration - Read this config only once and set it in static fields - Some checks are now only done in case this feature is configured --- M src/org/openbravo/base/secureApp/UserLock.java --- |
(0093869) caristu (viewer) 2017-01-27 10:19 |
Code reviewed. |
(0095106) hudsonbot (viewer) 2017-03-15 20:18 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/54e102bef53e [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2017-01-18 10:55 | ioritzCia | New Issue | |
2017-01-18 10:55 | ioritzCia | Assigned To | => platform |
2017-01-18 10:55 | ioritzCia | OBNetwork customer | => Yes |
2017-01-18 10:55 | ioritzCia | Web browser | => Google Chrome |
2017-01-18 10:55 | ioritzCia | Modules | => Core |
2017-01-18 10:55 | ioritzCia | Resolution time | => 1487113200 |
2017-01-18 10:55 | ioritzCia | Triggers an Emergency Pack | => No |
2017-01-18 10:56 | ioritzCia | File Added: openbravo.log | |
2017-01-18 10:58 | ioritzCia | Web browser | Google Chrome => Google Chrome |
2017-01-18 10:58 | ioritzCia | Description Updated | View Revisions |
2017-01-18 13:04 | alostale | Tag Attached: Performance | |
2017-01-18 13:05 | alostale | Assigned To | platform => alostale |
2017-01-18 13:05 | alostale | Review Assigned To | => caristu |
2017-01-18 13:05 | alostale | Web browser | Google Chrome => Google Chrome |
2017-01-18 13:10 | hgbot | Checkin | |
2017-01-18 13:10 | hgbot | Note Added: 0093691 | |
2017-01-18 13:10 | hgbot | Status | new => resolved |
2017-01-18 13:10 | hgbot | Resolution | open => fixed |
2017-01-18 13:10 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/a95f58378760062ea202eb077eb2112ce431edc3 [^] |
2017-01-27 10:19 | caristu | Note Added: 0093869 | |
2017-01-27 10:19 | caristu | Status | resolved => closed |
2017-01-27 10:19 | caristu | Fixed in Version | => 3.0PR17Q2 |
2017-03-15 20:18 | hudsonbot | Checkin | |
2017-03-15 20:18 | hudsonbot | Note Added: 0095106 |
Copyright © 2000 - 2009 MantisBT Group |