Hi! I'm using Jackrabbit (Oracle 11g) with Liferay portal and when I'm trying to update the Liferay version I get the following error:
Caused by: javax.jcr.RepositoryException: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.bundle.OraclePersistenceManager at org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1433) at org.apache.jackrabbit.core.RepositoryImpl.createVersionManager(RepositoryImpl.java:502) at org.apache.jackrabbit.core.RepositoryImpl.(RepositoryImpl.java:355) at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:673) at org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:231) at org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:279) at org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:375) at com.liferay.portal.jcr.jackrabbit.JCRFactoryImpl.createSession(JCRFactoryImpl.java:67) at com.liferay.portal.jcr.JCRFactoryUtil.createSession(JCRFactoryUtil.java:43) at com.liferay.portal.jcr.JCRFactoryUtil.createSession(JCRFactoryUtil.java:47) at com.liferay.documentlibrary.util.JCRHook.updateFile(JCRHook.java:771) ... 63 more Caused by: java.sql.SQLException: Schema generation error: Issuing statement: create table J_V_PM_REFS (NODE_ID raw(16) not null, REFS_DATA blob not null) at org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.checkSchema(BundleDbPersistenceManager.java:486) at org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.init(BundleDbPersistenceManager.java:603) at org.apache.jackrabbit.core.persistence.bundle.OraclePersistenceManager.init(OraclePersistenceManager.java:102) at org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1429) ... 73 more Caused by: java.sql.SQLException: ORA-00955: name is already used by an existing object at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288) The old Liferay version uses Jackrabbit 1.6.1 and everything works fine there. The new version uses 2.1.2. I've also tried this update with Jackrabbit using MySQL and then everything is ok. Any ideas what could be causing this error? -- View this message in context: http://jackrabbit.510166.n4.nabble.com/Jackrabbit-error-when-updating-from-1-6-1-2-1-2-tp3343157p3343157.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
