java.lang.IllegalStateException: File not synced. You must call Iterator to play back log file.

Oracle Community | rdarbh | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    JMS Calls Throw JTS5067: Unexpected error occurred in commit

    Oracle Community | 5 years ago | rdarbh
    java.lang.IllegalStateException: File not synced. You must call Iterator to play back log file.

    Root Cause Analysis

    1. java.lang.IllegalStateException

      File not synced. You must call Iterator to play back log file.

      at com.sun.messaging.jmq.util.txnlog.file.FileTransactionLogWriter.writeRecord()
    2. com.sun.messaging
      DirectXAResource.commit
      1. com.sun.messaging.jmq.util.txnlog.file.FileTransactionLogWriter.writeRecord(FileTransactionLogWriter.java:841)
      2. com.sun.messaging.jmq.util.txnlog.file.FileTransactionLogWriter.write(FileTransactionLogWriter.java:824)
      3. com.sun.messaging.jmq.jmsserver.persist.file.TransactionLogManager.writeTransactionEvent(TransactionLogManager.java:779)
      4. com.sun.messaging.jmq.jmsserver.persist.file.TransactionLogManager.logTxn(TransactionLogManager.java:739)
      5. com.sun.messaging.jmq.jmsserver.persist.file.FileStore.logTxn(FileStore.java:2480)
      6. com.sun.messaging.jmq.jmsserver.data.handlers.TransactionHandler.logTxn(TransactionHandler.java:1480)
      7. com.sun.messaging.jmq.jmsserver.data.handlers.TransactionHandler.doCommit(TransactionHandler.java:1056)
      8. com.sun.messaging.jmq.jmsserver.data.handlers.TransactionHandler.doCommit(TransactionHandler.java:941)
      9. com.sun.messaging.jmq.jmsserver.data.protocol.ProtocolImpl.commitTransaction(ProtocolImpl.java:700)
      10. com.sun.messaging.jmq.jmsserver.service.imq.IMQDirectService.commitTransaction(IMQDirectService.java:1746)
      11. com.sun.messaging.jms.ra.DirectXAResource.commit(DirectXAResource.java:221)
      11 frames
    3. Embedded GlassFish Web
      MessageBeanListenerImpl.afterMessageDelivery
      1. com.sun.jts.jtsxa.OTSResourceImpl.commit_one_phase(OTSResourceImpl.java:174)
      2. com.sun.jts.CosTransactions.RegisteredResources.commitOnePhase(RegisteredResources.java:1588)
      3. com.sun.jts.CosTransactions.TopCoordinator.commitOnePhase(TopCoordinator.java:2969)
      4. com.sun.jts.CosTransactions.CoordinatorTerm.commit(CoordinatorTerm.java:321)
      5. com.sun.jts.CosTransactions.TerminatorImpl.commit(TerminatorImpl.java:250)
      6. com.sun.jts.CosTransactions.CurrentImpl.commit(CurrentImpl.java:623)
      7. com.sun.jts.jta.TransactionManagerImpl.commit(TransactionManagerImpl.java:319)
      8. com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate.commitDistributedTransaction(JavaEETransactionManagerJTSDelegate.java:173)
      9. com.sun.enterprise.transaction.JavaEETransactionManagerSimplified.commit(JavaEETransactionManagerSimplified.java:873)
      10. com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:5115)
      11. com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:4880)
      12. com.sun.ejb.containers.MessageBeanContainer.afterMessageDeliveryInternal(MessageBeanContainer.java:1207)
      13. com.sun.ejb.containers.MessageBeanContainer.afterMessageDelivery(MessageBeanContainer.java:1180)
      14. com.sun.ejb.containers.MessageBeanListenerImpl.afterMessageDelivery(MessageBeanListenerImpl.java:86)
      14 frames
    4. Connectors Inbound Support
      MessageEndpointInvocationHandler.invoke
      1. com.sun.enterprise.connectors.inbound.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:143)
      1 frame
    5. Unknown
      $Proxy275.afterDelivery
      1. $Proxy275.afterDelivery(Unknown Source)
      1 frame
    6. com.sun.messaging
      OnMessageRunner.run
      1. com.sun.messaging.jms.ra.OnMessageRunner.run(OnMessageRunner.java:328)
      1 frame
    7. Embedded GlassFish Web
      OneWork.doWork
      1. com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:114)
      1 frame
    8. glassfish-corba-orbgeneric
      ThreadPoolImpl$WorkerThread.run
      1. com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:497)
      2. com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:540)
      2 frames