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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,789 views 11 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot