db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernt M. Johnsen" <Bernt.John...@Sun.COM>
Subject Re: ( Cannot close active connection
Date Wed, 06 Dec 2006 09:38:36 GMT

It could be that you're hitting
or https://issues.apache.org/jira/browse/DERBY-638


>>>>>>>>>>>> Xanana Gusmao wrote (2006-12-06 09:26:40):
> Kristian,
> In terms of upgrading, I will come back to you later on that. This is a
> production system running with a JDO layer. I encountered this problem when I
> wanted to access the data via pure JDBC.
> Currently for my test code, I'm just doing a Class.forName() and
> DriverManager.getConnection(). I'll be using DBCP for pooling later.
> The SQLException happens within JdbcUtil.closeConnection(..)
> That means, any updates to the database has already been "committed" when this
> error occurs. It seems benign enough to ignore ?
> The implementation of JdbcUtil.rollback(conn) just does conn.rollback(). No
> rollback took place.
> One more thing, the application is running under "equinox", an OSGI container.
> Thanks
> Xanana

Bernt Marius Johnsen, Database Technology Group, 
Staff Engineer, Technical Lead Derby/Java DB
Sun Microsystems, Trondheim, Norway

View raw message