Archiva

Database Issue: java.sql.SQLException: Already closed.

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 1.0.2
  • Fix Version/s: 1.4-M2
  • Component/s: None
  • Labels:
    None
  • Environment:
    Tomcat 6.0.16, Linux, JDK 1.6.x (WAR install of archive)
  • Number of attachments :
    1

Description

I'm getting an java.sql.SQLException: Already closed. when doing certain things in Archiva.
I've attached a stack trace f the exception from the browser.

Issue Links

Activity

Hide
Brill Pappin added a comment -
Show
Brill Pappin added a comment - This may be related to: http://issues.apache.org/jira/browse/DBCP-233
Hide
Brill Pappin added a comment -

A quick update:
this seems to only happen after Archiva has been running for a few minutes.

Show
Brill Pappin added a comment - A quick update: this seems to only happen after Archiva has been running for a few minutes.
Hide
Brill Pappin added a comment -

One mote note that might help.

I've installed the standalone version and it doesn't seem to be happening. It's only when deployed in my own container as a WAR that it gets into trouble.

Show
Brill Pappin added a comment - One mote note that might help. I've installed the standalone version and it doesn't seem to be happening. It's only when deployed in my own container as a WAR that it gets into trouble.
Hide
James William Dumay added a comment -
Show
James William Dumay added a comment - http://issues.apache.org/jira/browse/DBCP-212 Also looks related.
Hide
James William Dumay added a comment -

Seems this is a bug in Tomcat 6. I'm moving this from the 1.1 target for now until we can figure out a work around or a Tomcat fix is released.

Show
James William Dumay added a comment - Seems this is a bug in Tomcat 6. I'm moving this from the 1.1 target for now until we can figure out a work around or a Tomcat fix is released.
Hide
Brett Porter added a comment -

anyone tried this with recent versions of Tomcat?

Show
Brett Porter added a comment - anyone tried this with recent versions of Tomcat?
Hide
Olivier Lamy added a comment -

commons dbcp upgraded

Show
Olivier Lamy added a comment - commons dbcp upgraded

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: