Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0037205 | Openbravo ERP | A. Platform | public | 2017-11-02 07:44 | 2018-01-03 12:38 | |||||||
Reporter | alostale | |||||||||||
Assigned To | alostale | |||||||||||
Priority | normal | Severity | trivial | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | 3.0PR18Q1 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | caristu | |||||||||||
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 | 0037205: DB connections leaked executing IssuesTest | |||||||||||
Description | When org.openbravo.test.dal.IssuesTest.test21360 is executed 2 connections are borrowed from pool and never returned. | |||||||||||
Steps To Reproduce | 1. Set up DB pool to log abandoned connections (db.pool.logAbandoned=true) 2. Execute IssuesTest -> check log: [junit] Nov 01, 2017 9:17:30 AM org.apache.tomcat.jdbc.pool.ConnectionPool suspect [junit] WARNING: Connection has been marked suspect, possibly abandoned PooledConnection[org.postgresql.jdbc.PgConnection@7138d695][104281 ms.]:java.lang.Exception [junit] at org.apache.tomcat.jdbc.pool.ConnectionPool.getThreadDump(ConnectionPool.java:1096) [junit] at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:799) [junit] at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:648) [junit] at org.apache.tomcat.jdbc.pool.ConnectionPool.getConnection(ConnectionPool.java:200) [junit] at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:128) [junit] at org.openbravo.apachejdbcconnectionpool.JdbcExternalConnectionPool.getConnectionFromDS(JdbcExternalConnectionPool.java:130) [junit] at org.openbravo.apachejdbcconnectionpool.JdbcExternalConnectionPool.getConnection(JdbcExternalConnectionPool.java:110) [junit] at org.openbravo.dal.core.SessionHandler.getNewConnection(SessionHandler.java:300) [junit] at org.openbravo.service.db.DalConnectionProvider.getTransactionConnection(DalConnectionProvider.java:136) [junit] at org.openbravo.test.dal.IssuesTest.test21360(IssuesTest.java:827) ... [junit] Nov 01, 2017 9:17:30 AM org.apache.tomcat.jdbc.pool.ConnectionPool suspect [junit] WARNING: Connection has been marked suspect, possibly abandoned PooledConnection[org.postgresql.jdbc.PgConnection@1a21463f][104285 ms.]:java.lang.Exception [junit] at org.apache.tomcat.jdbc.pool.ConnectionPool.getThreadDump(ConnectionPool.java:1096) [junit] at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:735) [junit] at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:664) [junit] at org.apache.tomcat.jdbc.pool.ConnectionPool.getConnection(ConnectionPool.java:200) [junit] at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:128) [junit] at org.openbravo.apachejdbcconnectionpool.JdbcExternalConnectionPool.getConnectionFromDS(JdbcExternalConnectionPool.java:130) [junit] at org.openbravo.apachejdbcconnectionpool.JdbcExternalConnectionPool.getConnection(JdbcExternalConnectionPool.java:110) [junit] at org.openbravo.dal.core.SessionHandler.getNewConnection(SessionHandler.java:300) [junit] at org.openbravo.service.db.DalConnectionProvider.getTransactionConnection(DalConnectionProvider.java:136) [junit] at org.openbravo.test.dal.IssuesTest.test21360(IssuesTest.java:828) ... | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2017-11-02 07:44 | alostale | New Issue | ||||||||||
2017-11-02 07:44 | alostale | Assigned To | => alostale | |||||||||
2017-11-02 07:44 | alostale | OBNetwork customer | => No | |||||||||
2017-11-02 07:44 | alostale | Modules | => Core | |||||||||
2017-11-02 07:44 | alostale | Triggers an Emergency Pack | => No | |||||||||
2017-11-02 07:52 | alostale | Review Assigned To | => caristu | |||||||||
2017-11-02 08:55 | hgbot | Checkin | ||||||||||
2017-11-02 08:55 | hgbot | Note Added: 0100209 | ||||||||||
2017-11-02 08:55 | hgbot | Status | new => resolved | |||||||||
2017-11-02 08:55 | hgbot | Resolution | open => fixed | |||||||||
2017-11-02 08:55 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/ae1e2a4620047aa034a1f9a4ab7d6cc350556e44 [^] | |||||||||
2017-11-10 09:35 | caristu | Relationship added | related to 0021360 | |||||||||
2017-11-10 09:36 | caristu | Note Added: 0100414 | ||||||||||
2017-11-10 09:36 | caristu | Status | resolved => closed | |||||||||
2017-11-10 09:36 | caristu | Fixed in Version | => 3.0PR18Q1 | |||||||||
2018-01-03 12:38 | hudsonbot | Checkin | ||||||||||
2018-01-03 12:38 | hudsonbot | Note Added: 0101366 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|