Unable to Connect to External JIRA Database Due to 'java.sql.SQLException Closed Connection'

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

The following exceptions will be found in the logs:

2008-02-24 08:59:51,034 Finalizer WARN [core.entity.jdbc.SQLProcessor] [SQLProcessor.rollback]: SQL Exception while rolling back insert. Error was:java.sql.SQLException: Closed Connection
2008-02-24 08:59:51,034 Finalizer WARN [NoModule] org.ofbiz.core.entity.jdbc.SQLProcessor
java.sql.SQLException: Closed Connection
	at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
	at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
	at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
	at oracle.jdbc.driver.PhysicalConnection.rollback(PhysicalConnection.java:1161)
	at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.rollback(DelegatingConnection.java:265)

Cause

When performing an action in JIRA(such as viewing or updating an issue), an error is returned because the database connection has already been closed.

Resolution

In order to prevent this problem from recurring in future:

  1. Shut down JIRA
  2. Add a validation query which JIRA will use when communicating with its database. For more details on how to set the validation query, see:
  3. Restart JIRA

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.