1 Reply Latest reply on Mar 25, 2008 10:08 AM by Brian Stansberry

    TwoPhaseCoordinator.beforeCompletion error

    Karim Mechhoure Newbie

      Hi,

      I'm trying to set up jboss in a clustered configuration on a machine.
      On this machine I have 2 nodes ( I did 2 copies of "all" configuration : node 1 and node 2).

      I've downloaded JBoss Portal HA and copied the jboss-portal-ha.sar in the deploy directory of each node.

      When I try to launch JBoss AS (./run.sh -c node1), I've this error.
      Where can it come from?

      14:37:25,131 INFO [PortletAppDeployment] Parsing /portal-cms/jboss-portlet.xml
      14:37:25,217 INFO [CMSPortlet] Cannot start CMS portlet search service due to service unavailability
      14:37:25,268 INFO [PortletAppDeployment] Parsing /portal-news-samples/jboss-portlet.xml
      14:37:40,429 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_2] TwoPhaseCoordinator.beforeCompletion - failed for com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple@1aa4bb4
      java.lang.RuntimeException:
       at org.jboss.cache.interceptors.TxInterceptor$LocalSynchronizationHandler.beforeCompletion(TxInterceptor.java:1182)
       at org.jboss.cache.interceptors.OrderedSynchronizationHandler.beforeCompletion(OrderedSynchronizationHandler.java:75)
       at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:114)
       at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:247)
       at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:86)
       at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177)
       at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1389)
       at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:135)
       at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:87)
       at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:369)
       at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:160)
       at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
       at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:157)
       at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5877)
       at org.jboss.cache.TreeCache.put(TreeCache.java:3847)