jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From go canal <goca...@yahoo.com>
Subject Re: error in closing repository when shutdown web application
Date Tue, 21 Jul 2009 23:48:35 GMT
indeed, I use one db for persistence and versioning.....moved to two but still see the error
messages ....

 thanks,
canal




________________________________
From: Alexander Klimetschek <aklimets@day.com>
To: users@jackrabbit.apache.org
Sent: Tuesday, July 21, 2009 6:16:23 PM
Subject: Re: error in closing repository when shutdown web application

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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message