Jira showing internal server error and getting DBCP errors

Hi All,

 

we are getting the below DBCP connection not closed error which causing the application down .

Could some one help on the issue ASAP as it is impacting the business highly.

Jira version: 6.2.7

error:

org.apache.commons.dbcp.AbandonedTrace$AbandonedObjectException: DBCP object created 2017-12-15 08:32:16 by the following code was never closed:
 at org.apache.commons.dbcp.AbandonedTrace.setStackTrace(AbandonedTrace.java:139)
 at org.apache.commons.dbcp.AbandonedObjectPool.borrowObject(AbandonedObjectPool.java:81)
 at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)
 at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
 at org.ofbiz.core.entity.transaction.DBCPConnectionFactory$1.call(DBCPConnectionFactory.java:246)
 at org.ofbiz.core.entity.transaction.DBCPConnectionFactory$1.call(DBCPConnectionFactory.java:243)
 at org.ofbiz.core.entity.jdbc.interceptors.connection.ConnectionTracker.trackConnection(ConnectionTracker.java:53)
 at org.ofbiz.core.entity.transaction.DBCPConnectionFactory.trackConnection(DBCPConnectionFactory.java:242)
 at org.ofbiz.core.entity.transaction.DBCPConnectionFactory.getConnection(DBCPConnectionFactory.java:73)
 at org.ofbiz.core.entity.ConnectionFactory.tryGenericConnectionSources(ConnectionFactory.java:69)
 at org.ofbiz.core.entity.transaction.JNDIFactory.getConnection(JNDIFactory.java:146)
 at org.ofbiz.core.entity.TransactionFactory.getConnection(TransactionFactory.java:101)
 at org.ofbiz.core.entity.ConnectionFactory.getConnection(ConnectionFactory.java:59)
 at org.ofbiz.core.entity.TransactionUtil.beginLocalTransaction(TransactionUtil.java:275)
 at com.atlassian.core.ofbiz.util.CoreTransactionUtil.begin(CoreTransactionUtil.java:36)
 at com.atlassian.jira.transaction.TransactionSupportImpl.beginTxn(TransactionSupportImpl.java:75)

Regards

SG

 

1 answer

Did you check connection to your database? Is your DB running and accessible from your JIRA server?

Yes. Iam able to connect to database from application.

The application works fine when we restart the service,but it repeat s after some time.

I'm sorry but I'm not admin and you're using really old version of JIRA. I only found this page which could help you to get furter:

https://confluence.atlassian.com/adminjiraserver073/surviving-connection-closures-861253055.html?_ga=2.253278793.1351747585.1513335815-168621461.1512160062

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

81 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you