javax.jcr.RepositoryException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Configuring embedded Derby in Sqoop2
    via Stack Overflow by ZZZZ
    ,
  • GitHub comment 351#160377857
    via GitHub by deenar
    ,
  • sbt & liftweb mapper problem
    via by drwho,
  • Another backtrace on reload
    via by Nolan Darilek,
  • JDBC + Derby DB + GWT
    via by Mohammed,
  • JDBC + Derby DB + GWT
    via by Mohammed,
    • javax.jcr.RepositoryException: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.db.DerbyPersistenceManager at org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1433) at org.apache.jackrabbit.core.RepositoryImpl.access$800(RepositoryImpl.java:125) at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doInitialize(RepositoryImpl.java:2014) at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(RepositoryImpl.java:1997) at org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:535) at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:366) at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:673) at org.apache.sling.jcr.jackrabbit.server.impl.SlingServerRepository.acquireRepository(SlingServerRepository.java:141) at org.apache.sling.jcr.base.AbstractSlingRepository.startRepository(AbstractSlingRepository.java:795) at org.apache.sling.jcr.base.AbstractSlingRepository.run(AbstractSlingRepository.java:925) at java.lang.Thread.run(Thread.java:619) Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Failed to start database '{Endeca_PATH}/ToolsAndFramewo rks/3.1.2/server/workspace/state/sling/_ifcr/jackrabbit/workspaces/default/db', see the next exception for details.) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880) at org.apache.jackrabbit.core.persistence.db.SimpleDbPersistenceManager.getConnection(SimpleDbPersistenceManager.java:194) at org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager.initConnection(DatabasePersistenceManager.java:771) at org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager.init(DatabasePersistenceManager.java:214) at org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1429) ... 10 more Caused by: java.sql.SQLException: Failed to start database '{Endeca_PATH}/ToolsAndFrameworks/3.1.2/server/workspace/state/sling/_ifcr/jackrabbit/worksp aces/default/db', see the next exception for details. 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.seeNextException(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.impl.jdbc.EmbedConnection40.<init>(Unknown Source) at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source) at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source) at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294) at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1247) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1221) ... 15 more Caused by: java.sql.SQLException: Failed to start database '{Endeca_PATH}/ToolsAndFrameworks/3.1.2/server/workspace/state/sling/_ifcr/jackrabbit/worksp aces/default/db', see the next exception for details. at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source) ... 29 more Caused by: java.sql.SQLException: Invalid checksum on Page Page(4805,Container(0, 1073)), expected=3,537,219,605, on-disk version=679,333,895, page dump follows: Hex du mp: 00000000: 0075 0000 0001 0000 0000 0000 17af 012d .u...........ᆵ.. 00000010: 0000 033e 0000 0000 0000 0000 0000 0000 ................ ======================================================= 00007ff0: 0000 003c 003a 0000 0000 0000 287d d007 ................ at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source) at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source) at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source) ... 26 more

    Users with the same issue

    muffinmannen
    1 times, last one,
    jf-ast
    1 times, last one,
    stigkj
    1 times, last one,
    andyglick
    1 times, last one,
    davidvanlaatum
    1 times, last one,
    1 more bugmates