jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafał Kwiecień <ra...@consol.pl>
Subject DatabaseJournal doesn't work with springmodules
Date Fri, 23 Mar 2007 09:02:29 GMT
Hi

If I use springmodules with FileJournal, it seems to work ok. But when I use 
DatabaseJournal, I get exception:
org.apache.jackrabbit.core.journal.JournalException: Unable to append revision 
2.
 at 
org.apache.jackrabbit.core.journal.DatabaseJournal.append(DatabaseJournal.java:307)
 at 
org.apache.jackrabbit.core.journal.AppendRecord.update(AppendRecord.java:242)
 at 
org.apache.jackrabbit.core.cluster.ClusterNode$WorkspaceUpdateChannel.updateCommitted(ClusterNode.java:530)
 at 
org.apache.jackrabbit.core.state.SharedItemStateManager$Update.end(SharedItemStateManager.java:725)
 at 
org.apache.jackrabbit.core.state.XAItemStateManager.commit(XAItemStateManager.java:162)
 at 
org.apache.jackrabbit.core.version.XAVersionManager.commit(XAVersionManager.java:478)
 at 
org.apache.jackrabbit.core.TransactionContext.commit(TransactionContext.java:172)
 at org.apache.jackrabbit.core.XASessionImpl.commit(XASessionImpl.java:315)
 at 
org.apache.jackrabbit.jca.TransactionBoundXAResource.commit(TransactionBoundXAResource.java:39)
 at 
org.apache.geronimo.transaction.manager.WrapperNamedXAResource.commit(WrapperNamedXAResource.java:47)
 at 
org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:272)
 at 
org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:143)
 at 
org.apache.geronimo.transaction.context.InheritableTransactionContext.complete(InheritableTransactionContext.java:196)
 at 
org.apache.geronimo.transaction.context.InheritableTransactionContext.commit(InheritableTransactionContext.java:146)
 at 
org.apache.geronimo.transaction.context.OnlineUserTransaction.commit(OnlineUserTransaction.java:80)
 at 
org.jencks.factory.UserTransactionFactoryBean$GeronimoUserTransaction.commit(UserTransactionFactoryBean.java:118)
 at 
org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:773)
 at 
org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:654)
 at 
org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:624)
 at 
org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:307)
 at 
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:117)
 at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
 at 
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:616)
 at 
org.springmodules.examples.jcr.JcrService$$EnhancerByCGLIB$$48068c33.saveSmth(<generated>)
 at org.springmodules.examples.jcr.Main.main(Main.java:38)


I used current trunk version. Any ideas why its not working?


-- 
Rafał Kwiecień
ConSol* Consulting & Solutions Software Poland Sp. z o.o.
ul. Piastowska 44C, 30-070 Kraków 
http://www.consol.pl/

Mime
View raw message