jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Guggisberg <stefan.guggisb...@gmail.com>
Subject Re: Jackrabbit doesn`t startup anymore
Date Fri, 29 Apr 2011 08:53:21 GMT
On Fri, Apr 29, 2011 at 9:58 AM,  <Sascha.Theves@bosch-si.com> wrote:
> Hi all,
>
>
>
> we have running a Jackrabbit 1.5.6 instance for months now without any
> problems. But since yesterday we were not able anymore to list nodes
> anymore and so on. We just got back empty results so that it seems that
> no data was ever persisted. After that we shutdown the Jackrabbit
> instance and now we are not able to start it again. The following
> exception occurs when starting up:
>
>
>
> 2011-04-29 07:41:14,278 [main] ERROR BundleDbPersistenceManager - failed
> to read bundle: cafebabe-cafe-babe-cafe-babecafebabe:
> java.lang.NumberFormatException: For input string: ""
>
> 2011-04-29 07:41:14,278 [main] ERROR BundleDbPersistenceManager - failed
> to read bundle: cafebabe-cafe-babe-cafe-babecafebabe:
> java.lang.NumberFormatException: For input string: ""
>
> 2011-04-29 07:41:14,409 [main] ERROR ConnectionRecoveryManager - could
> not execute statement, reason: ORA-00001: unique constraint
> (UJXMTSRADMIN.DEFAULT_BUNDLE_IDX) violated

seems like your oracle db got corrupted somehow. did you perform sanity
checks on your oracle instance? did you try with a db backup?

cheers
stefan

>
> , state/code: 23000/1
>
> 2011-04-29 07:41:14,409 [main] ERROR ConnectionRecoveryManager - could
> not execute statement, reason: ORA-00001: unique constraint
> (UJXMTSRADMIN.DEFAULT_BUNDLE_IDX) violated
>
> , state/code: 23000/1
>
> 2011-04-29 07:41:14,417 [main] ERROR BundleDbPersistenceManager - failed
> to write bundle: deadbeef-cafe-babe-cafe-babecafebabe
>
> java.sql.SQLException: ORA-00001: unique constraint
> (UJXMTSRADMIN.DEFAULT_BUNDLE_IDX) violated
>
>
>
>                at
> oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:12
> 5)
>
>                at
> oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:305)
>
>                at
> oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:272)
>
>                at
> oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:626)
>
>                at
> oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.jav
> a:182)
>
>                at
> oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStat
> ement.java:630)
>
>                at
> oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.
> java:1081)
>
>                at
> oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePrepare
> dStatement.java:2905)
>
>                at
> oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStateme
> nt.java:2996)
>
>                at
> org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryMan
> ager.executeStmtInternal(ConnectionRecoveryManager.java:371)
>
>                at
> org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryMan
> ager.executeStmtInternal(ConnectionRecoveryManager.java:298)
>
>                at
> org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryMan
> ager.executeStmt(ConnectionRecoveryManager.java:261)
>
>                at
> org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryMan
> ager.executeStmt(ConnectionRecoveryManager.java:239)
>
>                at
> org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager
> .storeBundle(BundleDbPersistenceManager.java:1198)
>
>                at
> org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceM
> anager.putBundle(AbstractBundlePersistenceManager.java:732)
>
>                at
> org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceM
> anager.storeInternal(AbstractBundlePersistenceManager.java:672)
>
>                at
> org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceM
> anager.store(AbstractBundlePersistenceManager.java:536)
>
>                at
> org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager
> .store(BundleDbPersistenceManager.java:524)
>
>                at
> org.apache.jackrabbit.core.state.SharedItemStateManager.createRootNodeSt
> ate(SharedItemStateManager.java:1303)
>
>                at
> org.apache.jackrabbit.core.state.SharedItemStateManager.<init>(SharedIte
> mStateManager.java:204)
>
>                at
> org.apache.jackrabbit.core.RepositoryImpl.createItemStateManager(Reposit
> oryImpl.java:1317)
>
>                at
> org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doInitialize(Rep
> ositoryImpl.java:1863)
>
>                at
> org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(Repos
> itoryImpl.java:1834)
>
>                at
> org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(Reposito
> ryImpl.java:483)
>
>                at
> org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:324
> )
>
>                at
> org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:621
> )
>
>
>
> I think the SQL exception is only raised because Jackrabbit is not able
> to read the bundle "cafebabe-cafe-babe-cafe-babecafebabe". Do you have
> any ideas how to fix the problem or what could have caused the problem?
>
> Any suggestions would be helpful.
>
>
>
> Thanks in advance.
>
>
>
> Sascha
>
>
>
>

Mime
View raw message