Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0012330 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | always | 2010-02-18 10:56 | 2010-03-10 18:30 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 2.50MP14 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 7d345428351b | ||||
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 | 0012330: Exception in logs when maximum concurrent users reached | |||||||
Description | When trying to log in the application and the maximum number of concurrent users is reached, a warning message appears. When this message appears, in tomcat log appears an exception. SEVERE: Servlet.service() for servlet X800658 threw exception org.openbravo.base.exception.OBException: Exception thrown null at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:63) at org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.java:99) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:435) at org.openbravo.base.secureApp.LoginHandler.goToTarget(LoginHandler.java:159) at org.openbravo.base.secureApp.LoginHandler.checkLicenseAndGo(LoginHandler.java:137) at org.openbravo.base.secureApp.LoginHandler.doPost(LoginHandler.java:63) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at org.openbravo.base.HttpBaseServlet.service(HttpBaseServlet.java:245) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.utils.SessionExpirationFilter.doFilter(SessionExpirationFilter.java:66) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.utils.CharsetFilter.doFilter(CharsetFilter.java:35) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.dal.core.DalRequestFilter$1.doAction(DalRequestFilter.java:81) at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46) ... 13 more | |||||||
Steps To Reproduce | -Obtain a trial license with 2 concurrent users. -Open 2 sessions. -Try to open a 3rd one, a warning message appears. -Check in logs for exception. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0024577) hgbot (developer) 2010-02-18 11:11 |
Repository: erp/devel/pi Changeset: 7d345428351b2eda1c294fdb42aa5e1e04aa1ddb Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Thu Feb 18 10:59:35 2010 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/7d345428351b2eda1c294fdb42aa5e1e04aa1ddb [^] fixed bug 12330: Exception in logs when maximum concurrent users reached --- M src/org/openbravo/base/secureApp/LoginHandler.java --- |
(0024659) hudsonbot (viewer) 2010-02-19 16:35 |
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated: Changeset: http://code.openbravo.com/erp/devel/main/rev/7d345428351b [^] Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/d22bdcc83354 [^] Tests: http://builds.openbravo.com/view/devel-int/ [^] OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16481.obx [^] |
(0025097) marvintm (viewer) 2010-03-05 17:28 |
Registered the instance with a license which has only two concurrent users. Logged with three different browsers (on the third login, a warning is displayed). However, no exceptions are raised, so the fix works. |
![]() |
|||
Date Modified | Username | Field | Change |
2010-02-18 10:56 | alostale | New Issue | |
2010-02-18 10:56 | alostale | Assigned To | => alostale |
2010-02-18 10:56 | alostale | OBNetwork customer | => No |
2010-02-18 11:11 | hgbot | Checkin | |
2010-02-18 11:11 | hgbot | Note Added: 0024577 | |
2010-02-18 11:11 | hgbot | Status | new => resolved |
2010-02-18 11:11 | hgbot | Resolution | open => fixed |
2010-02-18 11:11 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/7d345428351b2eda1c294fdb42aa5e1e04aa1ddb [^] |
2010-02-19 16:35 | hudsonbot | Checkin | |
2010-02-19 16:35 | hudsonbot | Note Added: 0024659 | |
2010-03-05 17:28 | marvintm | Note Added: 0025097 | |
2010-03-05 17:28 | marvintm | Status | resolved => closed |
2010-03-05 17:28 | marvintm | Fixed in Version | => 2.50MP14 |
2010-03-10 17:24 | anonymous | sf_bug_id | 0 => |
2010-03-10 18:30 | anonymous | sf_bug_id | => 2968084 |
Copyright © 2000 - 2009 MantisBT Group |