REST MOP Import doesn't detect errors on commit in JBoss Portal

Solution In Progress - Updated -

Issue

  • When I invoked REST MOP Import, I got 200 response but the portal didn't have imported pages. I see following messages in server.log.
2013-08-20 07:56:33,552 INFO  [org.exoplatform.portal.mop.management.operations.MopImportResource] (ajp-10.236.15.129-8009-6) Import successful !
...
2013-08-20 07:56:49,804 WARN  [org.jboss.cache.interceptors.TxInterceptor] (ajp-10.236.15.129-8009-6) Caught exception, will now set transaction to roll back
org.jboss.cache.ReplicationException: rsp=sender=10.237.250.128:56200, retval=null, received=false, suspected=false
        at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:766)
        at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:712)
        at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:717)
        at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:161)
        at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:135)
        at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:107)
        at org.jboss.cache.interceptors.ReplicationInterceptor.runPreparePhase(ReplicationInterceptor.java:192)
        at org.jboss.cache.interceptors.ReplicationInterceptor.visitPrepareCommand(ReplicationInterceptor.java:72)
        at org.jboss.cache.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:68)
        at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
        at org.jboss.cache.interceptors.NotificationInterceptor.visitPrepareCommand(NotificationInterceptor.java:50)
        at org.jboss.cache.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:68)
        at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
        at org.jboss.cache.interceptors.TxInterceptor.runPreparePhase(TxInterceptor.java:682)
        at org.jboss.cache.interceptors.TxInterceptor$LocalSynchronizationHandler.beforeCompletion(TxInterceptor.java:1102)
        at org.jboss.cache.interceptors.OrderedSynchronizationHandler.beforeCompletion(OrderedSynchronizationHandler.java:81)
        at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:101)
        at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:272)
        at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:89)
        at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:160)
        at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1433)
        at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:137)
        at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
        at org.exoplatform.services.transaction.impl.AbstractTransactionService$TransactionManagerTxTimeoutAware.commit(AbstractTransactionService.java:326)
        at org.exoplatform.services.jcr.impl.dataflow.persistent.CacheableWorkspaceDataManager.doCommit(CacheableWorkspaceDataManager.java:1044)
...
Caused by: org.jboss.cache.lock.TimeoutException: Replication timeout for 10.237.250.128:56200
        at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:764)
        ... 85 more

Environment

  • Red Hat JBoss Portal
    • 5.2.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content