jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafał Kwiecień <ra...@consol.pl>
Subject springmodules and cluster feature
Date Thu, 22 Feb 2007 10:36:19 GMT
Hi,

I tried cluster feature with springmodules jcr samples. When I added cluster 
to jackrabbit-repo.xml, sample application hanged during committing (no 
exceptions, no logs). I used jackrabbit 1.2.2 and springmodules 0.7. Does 
cluster feature work with springmodules ? Is it problem in jackrabbit or in 
springmodules?

I added:

<Cluster>
  <Journal class="org.apache.jackrabbit.core.cluster.FileJournal">
    <param name="directory" value="./target/journal"/>
    <param name="revision" value="${rep.home}/repository/revision" />
  </Journal>
</Cluster>

local transactions:
[...]
2007-02-22 10:07:53,404 [main] INFO  org.springmodules.examples.jcr.JcrService 
- saved property /node1
2007-02-22 10:07:53,413 [main] DEBUG org.springmodules.jcr.JcrTemplate - Not 
closing pre-bound Jcr Session after JcrTemplate
2007-02-22 10:07:53,414 [main] DEBUG 
org.springframework.transaction.interceptor.TransactionInterceptor - 
Completing transaction for 
[org.springmodules.examples.jcr.JcrService.saveSmth]
2007-02-22 10:07:53,414 [main] DEBUG 
org.springmodules.jcr.jackrabbit.LocalTransactionManager - Triggering 
beforeCommit synchronization
2007-02-22 10:07:53,416 [main] DEBUG 
org.springmodules.jcr.jackrabbit.LocalTransactionManager - Triggering 
beforeCompletion synchronization
2007-02-22 10:07:53,417 [main] DEBUG 
org.springmodules.jcr.jackrabbit.LocalTransactionManager - Initiating 
transaction commit
2007-02-22 10:07:53,417 [main] DEBUG 
org.springmodules.jcr.jackrabbit.LocalTransactionManager - Committing JCR 
transaction on session [org.apache.jackrabbit.core.XASessionImpl@76c5d9c1]

jta transactions:
[...]
2007-02-22 10:43:56,936 [main] INFO  org.springmodules.examples.jcr.JcrService 
- saved property /node1
2007-02-22 10:43:56,944 [main] DEBUG org.springmodules.jcr.JcrTemplate - Not 
closing pre-bound Jcr Session after JcrTemplate
2007-02-22 10:43:56,944 [main] DEBUG 
org.springframework.transaction.interceptor.TransactionInterceptor - 
Completing transaction for 
[org.springmodules.examples.jcr.JcrService.saveSmth]
2007-02-22 10:43:56,945 [main] DEBUG 
org.springframework.transaction.jta.JtaTransactionManager - Triggering 
beforeCommit synchronization
2007-02-22 10:43:56,947 [main] DEBUG 
org.springframework.transaction.jta.JtaTransactionManager - Triggering 
beforeCompletion synchronization
2007-02-22 10:43:56,947 [main] DEBUG 
org.springframework.transaction.support.TransactionSynchronizationManager - 
Removed value [org.springmodules.jcr.SessionHolder@4a4de3fe] for key 
[SessionFactory for Jackrabbit 1.0-dev|workspace=null] from thread [main]
2007-02-22 10:43:56,947 [main] DEBUG org.springmodules.jcr.SessionFactoryUtils 
- Closing JCR Session
2007-02-22 10:43:56,950 [main] DEBUG 
org.springframework.transaction.jta.JtaTransactionManager - Initiating 
transaction commit

-- 
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