Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by rdarbh, 1 year ago
File not synced. You must call Iterator to play back log file.
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(FileTransactionLogWriter.java:841)	at com.sun.messaging.jmq.util.txnlog.file.FileTransactionLogWriter.write(FileTransactionLogWriter.java:824)	at com.sun.messaging.jmq.jmsserver.persist.file.TransactionLogManager.writeTransactionEvent(TransactionLogManager.java:779)	at com.sun.messaging.jmq.jmsserver.persist.file.TransactionLogManager.logTxn(TransactionLogManager.java:739)	at com.sun.messaging.jmq.jmsserver.persist.file.FileStore.logTxn(FileStore.java:2480)	at com.sun.messaging.jmq.jmsserver.data.handlers.TransactionHandler.logTxn(TransactionHandler.java:1480)	at com.sun.messaging.jmq.jmsserver.data.handlers.TransactionHandler.doCommit(TransactionHandler.java:1056)	at com.sun.messaging.jmq.jmsserver.data.handlers.TransactionHandler.doCommit(TransactionHandler.java:941)	at com.sun.messaging.jmq.jmsserver.data.protocol.ProtocolImpl.commitTransaction(ProtocolImpl.java:700)	at com.sun.messaging.jmq.jmsserver.service.imq.IMQDirectService.commitTransaction(IMQDirectService.java:1746)	at com.sun.messaging.jms.ra.DirectXAResource.commit(DirectXAResource.java:221)	at com.sun.jts.jtsxa.OTSResourceImpl.commit_one_phase(OTSResourceImpl.java:174)	at com.sun.jts.CosTransactions.RegisteredResources.commitOnePhase(RegisteredResources.java:1588)	at com.sun.jts.CosTransactions.TopCoordinator.commitOnePhase(TopCoordinator.java:2969)	at com.sun.jts.CosTransactions.CoordinatorTerm.commit(CoordinatorTerm.java:321)	at com.sun.jts.CosTransactions.TerminatorImpl.commit(TerminatorImpl.java:250)	at com.sun.jts.CosTransactions.CurrentImpl.commit(CurrentImpl.java:623)	at com.sun.jts.jta.TransactionManagerImpl.commit(TransactionManagerImpl.java:319)	at com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate.commitDistributedTransaction(JavaEETransactionManagerJTSDelegate.java:173)	at com.sun.enterprise.transaction.JavaEETransactionManagerSimplified.commit(JavaEETransactionManagerSimplified.java:873)	at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:5115)	at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:4880)	at com.sun.ejb.containers.MessageBeanContainer.afterMessageDeliveryInternal(MessageBeanContainer.java:1207)	at com.sun.ejb.containers.MessageBeanContainer.afterMessageDelivery(MessageBeanContainer.java:1180)	at com.sun.ejb.containers.MessageBeanListenerImpl.afterMessageDelivery(MessageBeanListenerImpl.java:86)	at com.sun.enterprise.connectors.inbound.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:143)	at $Proxy275.afterDelivery(Unknown Source)	at com.sun.messaging.jms.ra.OnMessageRunner.run(OnMessageRunner.java:328)	at com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:114)	at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:497)	at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:540)