jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rakesh Vidyadharan <rak...@sptci.com>
Subject Re: Cannot instantiate persistence manager
Date Fri, 19 Mar 2010 10:11:44 GMT
Did you shut down the repository properly?  You may have derby lock files (usually *.lck) that
will prevent derby from starting up.

Rakesh

On 19 Mar 2010, at 02:09, Richa wrote:

> 
> hi user :)
> 
> i deleted my .lock file as i was told earlier to do but and i dun get the
> error repository in user anymore..thanks for sovling tht problem
> but i still get these error:-
> 
> -->log4j:WARN No appenders could be found for logger
> (org.apache.jackrabbit.core.RepositoryImpl).
> -->log4j:WARN Please initialize the log4j system properly.
> 
> Mar 19, 2010 9:14:34 AM org.apache.jackrabbit.core.FirstHop sim
> SEVERE: null
> -->javax.jcr.RepositoryException: Cannot instantiate persistence manager 
> -->org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager:
> Failed to start database
> '/home/ksk/ric/proj/apache-tomcat-6.0.24/bin/jackrabbit//version/db', see
> the next exception for details.: Failed to start database
> '/home/ksk/ric/proj/apache-tomcat-6.0.24/bin/jackrabbit//version/db', see
> the next exception for details.
>        at
> org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1292)
>        at
> org.apache.jackrabbit.core.RepositoryImpl.createVersionManager(RepositoryImpl.java:453)
>        at
> org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:313)
>        at org.apache.jackrabbit.core.FirstHop.sim(FirstHop.java:72)
>        at org.apache.jackrabbit.core.JLogin.keyPressed(JLogin.java:116)
>        at java.awt.Component.processKeyEvent(Component.java:5996)
>        at javax.swing.JComponent.processKeyEvent(JComponent.java:2799)
>        at java.awt.Component.processEvent(Component.java:5815)
>        at java.awt.Container.processEvent(Container.java:2058)
>        at java.awt.Component.dispatchEventImpl(Component.java:4410)
>        at java.awt.Container.dispatchEventImpl(Container.java:2116)
>        at java.awt.Component.dispatchEvent(Component.java:4240)
>        at
> java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1848)
>        at
> java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:697)
>        at
> java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:962)
>        at
> java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:834)
>        at
> java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:661)
>        at java.awt.Component.dispatchEventImpl(Component.java:4282)
>        at java.awt.Container.dispatchEventImpl(Container.java:2116)
>        at java.awt.Window.dispatchEventImpl(Window.java:2429)
>        at java.awt.Component.dispatchEvent(Component.java:4240)
>        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
>        at
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
>        at
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
>        at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
>        at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
>        at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
>        at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
> Caused by: java.sql.SQLException: Failed to start database
> '/home/ksk/ric/proj/apache-tomcat-6.0.24/bin/jackrabbit//version/db', see
> the next exception for details.
>        at
> org.apache.derby.impl.jdbc.SQLExceptionFactory.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.generateCsSQLException(Unknown
> Source)
>        at
> org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(Unknown Source)
>        at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown
> Source)
>        at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
>        at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown
> Source)
>        at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Unknown
> Source)
>        at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
>        at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
>        at java.sql.DriverManager.getConnection(DriverManager.java:582)
>        at java.sql.DriverManager.getConnection(DriverManager.java:185)
>        at
> org.apache.jackrabbit.core.persistence.bundle.util.ConnectionFactory.getConnection(ConnectionFactory.java:92)
>        at
> org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.setupConnection(ConnectionRecoveryManager.java:334)
>        at
> org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.reestablishConnection(ConnectionRecoveryManager.java:409)
>        at
> org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.getConnection(ConnectionRecoveryManager.java:159)
>        at
> org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.prepareSchemaObjectPrefix(BundleDbPersistenceManager.java:920)
>        at
> org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.init(BundleDbPersistenceManager.java:562)
>        at
> org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager.init(DerbyPersistenceManager.java:254)
> reached sim()
>        at
> org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1288)
>        ... 27 more
> java.sql.SQLException: Failed to start database
> '/home/ksk/ric/proj/apache-tomcat-6.0.24/bin/jackrabbit//version/db', see
> the next exception for details.
>        at
> org.apache.derby.impl.jdbc.SQLExceptionFactory.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.generateCsSQLException(Unknown
> Source)
>        at
> org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(Unknown Source)
>        at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown
> Source)
>        at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
>        at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown
> Source)
>        at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Unknown
> Source)
>        at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
>        at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
>        at java.sql.DriverManager.getConnection(DriverManager.java:582)
>        at java.sql.DriverManager.getConnection(DriverManager.java:185)
>        at
> org.apache.jackrabbit.core.persistence.bundle.util.ConnectionFactory.getConnection(ConnectionFactory.java:92)
>        at
> org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.setupConnection(ConnectionRecoveryManager.java:334)
>        at
> org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.reestablishConnection(ConnectionRecoveryManager.java:409)
>        at
> org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.getConnection(ConnectionRecoveryManager.java:159)
>        at
> org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.prepareSchemaObjectPrefix(BundleDbPersistenceManager.java:920)
>        at
> org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.init(BundleDbPersistenceManager.java:562)
>        at
> org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager.init(DerbyPersistenceManager.java:254)
>        at
> org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1288)
>        at
> org.apache.jackrabbit.core.RepositoryImpl.createVersionManager(RepositoryImpl.java:453)
>        at
> org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:313)
>        at org.apache.jackrabbit.core.FirstHop.sim(FirstHop.java:72)
>        at org.apache.jackrabbit.core.JLogin.keyPressed(JLogin.java:116)
>        at java.awt.Component.processKeyEvent(Component.java:5996)
>        at javax.swing.JComponent.processKeyEvent(JComponent.java:2799)
>        at java.awt.Component.processEvent(Component.java:5815)
>        at java.awt.Container.processEvent(Container.java:2058)
>        at java.awt.Component.dispatchEventImpl(Component.java:4410)
>        at java.awt.Container.dispatchEventImpl(Container.java:2116)
>        at java.awt.Component.dispatchEvent(Component.java:4240)
>        at
> java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1848)
>        at
> java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:697)
>        at
> java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:962)
>        at
> java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:834)
>        at
> java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:661)
>        at java.awt.Component.dispatchEventImpl(Component.java:4282)
>        at java.awt.Container.dispatchEventImpl(Container.java:2116)
>        at java.awt.Window.dispatchEventImpl(Window.java:2429)
>        at java.awt.Component.dispatchEvent(Component.java:4240)
>        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
>        at
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
>        at
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
>        at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
>        at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
>        at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
>        at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
> BUILD SUCCESSFUL (total time: 2 minutes 53 seconds)
> 
> CAN ANYONE HELP ME WITH THIS ..PLEASE HAV A LOOK!
> THANKS IN ADVANCE
> regards
> richasharma
> 
> -- 
> View this message in context: http://n4.nabble.com/Cannot-instantiate-persistence-manager-tp1599013p1599013.html
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Rakesh Vidyadharan
President & CEO
Sans Pareil Technologies, Inc.
http://www.sptci.com/


| 100 W. Chestnut, Suite 1305 | Chicago, IL 60610-3296 USA |
| Ph: +1 (312) 212-3933 | Mobile: +1 (312) 315-1596 | Fax: +1 (312) 276-4410 | E-mail: rakesh@sptci.com



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message