jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@day.com>
Subject Re: error in closing repository when shutdown web application
Date Tue, 21 Jul 2009 10:16:23 GMT
On Tue, Jul 21, 2009 at 4:08 AM, go canal<gocanal@yahoo.com> wrote:
> here is the error message:
> -----
> 10:00:57,923 ERROR RepositoryImpl:2041 - error while closing persistence manager of workspace
security
> java.sql.SQLNonTransientConnectionException: No current connection.
>    at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
>    at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
>    at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
>    at org.apache.derby.impl.jdbc.Util.noCurrentConnection(Unknown Source)
>    at org.apache.derby.impl.jdbc.EmbedConnection.checkIfClosed(Unknown Source)
>    at org.apache.derby.impl.jdbc.EmbedConnection.getMetaData(Unknown Source)
>    at org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager.close(DerbyPersistenceManager.java:309)
> Did I miss out something in the configuration above ? Thought that if I use embedded
Derby, that's all I need to do. Jackrabbit will manage the DB by itself. Am I right ?

This error can happen if different persistence managers and/or the
versioning pm use the same embedded derby db. See also
http://markmail.org/message/ynrcr76ov75iaup2

Regards,
Alex

-- 
Alexander Klimetschek
alexander.klimetschek@day.com

Mime
View raw message