BATCH-MSG-M0371: LocalFileETD.initialize: Unable to load persistent state (Doc ID 1445092.1)

Last updated on FEBRUARY 28, 2013

Applies to:

Oracle Java CAPS Enterprise Service Bus - Version R6 and later
Information in this document applies to any platform.
Checked for relevance on 30-JUL-2012
Checked for relevance on 28-Feb-2013

Symptoms


Messages are accumulating in a queue, they are not being consumed by the subscribing jcd in another project.

Server.log shows problem with Batch Local File


[#|2012-03-29T15:39:30.036-0500|SEVERE|sun-appserver9.1|STC.eWay.batch.com.stc.connector.codegen.batcheway.BatchRuntimeHandler|_ThreadID=21;_ThreadName=JMS Async S1;Context=dpJournalDatprjKUMCPrjPr_2048517322/queJournal_svcJournalData_ejb;_RequestID=e3e63302-92ca-4ee6-8754-6277e4744d7e;|Exception when createObject(), e=BATCH-MSG-M0533: Error while creating an application.|#]

[#|2012-03-29T15:39:30.038-0500|SEVERE|sun-appserver9.1|prjJournal.svcJournalData.jcdJournalData_Runtime_Handler|_ThreadID=21;_ThreadName=JMS Async S1;Context=dpJournalDatprjKUMCPrjPr_2048517322/queJournal_svcJournalData_ejb;_RequestID=e3e63302-92ca-4ee6-8754-6277e4744d7e;|java.lang.RuntimeException: error obtaining application BATCH-MSG-M0533: Error while creating an application.
java.lang.RuntimeException: error obtaining application BATCH-MSG-M0533: Error while creating an application.
at com.stc.connector.codegen.batcheway.BatchRuntimeHandler.createObject(BatchRuntimeHandler.java:486)
at prjJournal.svcJournalData.jcdJournalData_Runtime_Handler.handleRequest(prjJournal.svcJournalData.jcdJournalData_Runtime_Handler:344)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1067)
at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:176)
at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2899)
at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:3990)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:197)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:134)
at $Proxy31.handleRequest(Unknown Source)
at com.stc.codegen.JMSImpl.runtime.ejb.JMSEndPointListener.sendMessage(JMSEndPointListener.java:326)
at com.stc.codegen.JMSImpl.runtime.ejb.JMSEndPointListener.onContents(JMSEndPointListener.java:107)
at com.stc.codegen.JMSImpl.runtime.ejb.JMSEndPointListener.onMessage(JMSEndPointListener.java:172)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1067)
at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:176)
at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2899)
at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:3990)
at com.sun.ejb.containers.MessageBeanContainer.deliverMessage(MessageBeanContainer.java:1111)
at com.sun.ejb.containers.MessageBeanListenerImpl.deliverMessage(MessageBeanListenerImpl.java:74)
at com.sun.enterprise.connectors.inflow.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:179)
at $Proxy36.onMessage(Unknown Source)
at com.stc.jmsjca.core.Delivery.deliverToEndpoint(Delivery.java:1156)
at com.stc.jmsjca.core.SerialDelivery.onMessage(SerialDelivery.java:257)
at com.stc.jms.client.SessionImpl.processAsyncDataAvailable(SessionImpl.java:1661)
at com.stc.jms.client.SessionImpl.processAsync(SessionImpl.java:1750)
at com.stc.jms.client.SessionImpl.asyncEnter(SessionImpl.java:1778)
at com.stc.jms.client.SessionImpl.access$500(SessionImpl.java:56)
at com.stc.jms.client.SessionImpl$1.run(SessionImpl.java:1556)
at com.stc.jms.client.SessionImpl$2.run(SessionImpl.java:1809)
at java.lang.Thread.run(Thread.java:811)

[#|2012-03-29T15:50:46.027-0500|WARNING|sun-appserver9.1|STC.eWay.batch.ra.com.stc.connector.batchadapter.eway.localfile.BatchLocalEwayConnection|_ThreadID=82;_ThreadName=JMS Async S1273;Context=dpJournalDatprjKUMCPrjPr_2048517322/queJournal_svcJournalData_ejb;_RequestID=b569dc84-cc2a-42a3-aba3-b29fb9e8feb6;|BATCH-MSG-M0599: Exception in Batch OTD reset().
com.stc.eways.batchext.BatchException: BATCH-MSG-M0371: LocalFileETD.initialize: Unable to load persistent state.Nested exception follows: ---
com.stc.eways.common.eway.standalone.statemanager.StateManagerException: StateManager - Failed to load state object. com.stc.eways.common.eway.standalone.statemanager.StatePersistenceException: FileStatePersistenceAdapter - Failed to open file '/jcaps6/Journal/LocalFileETD/{14000000-C66CF307280100-0AA1515E-01}/BatchLocalFile_1.state' for reading. Exception thrown : java.io.EOFException--- End of nested exception.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms