jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sriram Narayanan" <sriram...@gmail.com>
Subject Derby client errors when logging off.
Date Mon, 19 Mar 2007 12:26:15 GMT
Hi all:

I'm using JackRabbit 1.2.1 with a Derby Network Server for the
persistence store.

I sometimes get the following exception when logging off:
ERROR - Error while closing Version Manager.
java.sql.SQLException: Cannot close a connection while a transaction is still ac
tive.
        at org.apache.derby.client.am.SQLExceptionFactory.getSQLException(Unknow
n Source)
        at org.apache.derby.client.am.SqlException.getSQLException(Unknown Sourc
e)
        at org.apache.derby.client.am.Connection.closeResourcesX(Unknown Source)

        at org.apache.derby.client.am.Connection.closeX(Unknown Source)
        at org.apache.derby.client.net.NetConnection.closeX(Unknown Source)
        at org.apache.derby.client.am.Connection.close(Unknown Source)
        at org.apache.derby.client.net.NetConnection.close(Unknown Source)
        at org.apache.jackrabbit.core.state.db.DatabasePersistenceManager.closeC
onnection(DatabasePersistenceManager.java:836)
        at org.apache.jackrabbit.core.state.db.DatabasePersistenceManager.close(
DatabasePersistenceManager.java:318)
        at org.apache.jackrabbit.core.version.VersionManagerImpl.close(VersionMa
nagerImpl.java:184)
        at org.apache.jackrabbit.core.RepositoryImpl.doShutdown(RepositoryImpl.j
ava:913)
        at org.apache.jackrabbit.core.RepositoryImpl.shutdown(RepositoryImpl.jav
a:867)
        at org.apache.jackrabbit.core.TransientRepository.stopRepository(Transie
ntRepository.java:275)
        at org.apache.jackrabbit.core.TransientRepository.loggedOut(TransientRep
ository.java:427)
        at org.apache.jackrabbit.core.SessionImpl.notifyLoggedOut(SessionImpl.ja
va:552)
        at org.apache.jackrabbit.core.SessionImpl.logout(SessionImpl.java:1236)

This happens when I call logout on a single running session.

Any ideas on why this might be happening ?

-- Sriram

Mime
View raw message