Issue Details (XML | Word | Printable)

Key: JRA-10762
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Unassigned
Reporter: Jed Wesley-Smith [Atlassian]
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JIRA

Connection is Closed errors if the ThreadLocal connection gets closed before a commit or rollback.

Created: 04/Aug/06 01:02 AM   Updated: 24/Nov/06 01:17 AM
Component/s: Backend / Domain Model
Affects Version/s: 3.6.3
Fix Version/s: 3.6.4

Time Tracking:
Not Specified

File Attachments: None
Image Attachments:

1. screenshot-1.jpg
(286 kB)
Environment: all
Issue Links:
Blocker
 

Participants: Jed Wesley-Smith [Atlassian]
Since last comment: 2 years, 10 weeks, 1 day ago
Resolution Date: 04/Aug/06 01:55 AM
Labels:


 Description  « Hide
If a Connection gets closed prematurely before the framework commits or rollsback a transaction, the connection is not cleared from the ThreadLocal and continues to be used by any subsequent transaction - throwing a SQLException (Connection is closed) every time.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Jed Wesley-Smith [Atlassian] added a comment - 04/Aug/06 01:55 AM
Made sure the connection cleanup code is properly protected in finally blocks. Excetpions were causing closed connection objects to leak between servlet threads.