Topic
  • 2 replies
  • Latest Post - ‏2011-05-05T12:40:50Z by cwoliveira
cwoliveira
cwoliveira
4 Posts

Pinned topic Capture ContentEngine RIL Error - Object Store 'SaveBatch' operation failed

‏2011-04-29T04:43:04Z |
Hello,

I am facing the following error message in a 'Capture ContentEngine RIL Error' dialog box during batch processing/commit:

I am using Capture 5.2 ADR with Content Engine 4.5.1 Storage Library.

The error message (attached) indicates that the SOAP response was not generated correctly due a HTTP 500 - Internal Server Error.

Checking server logs (SystemOut.log and p8_server_error.log) at exactly error time, I found a couple of exceptions in stack trace. For me, they are suggesting a possible network error:

===================================================================================================
CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "putContent" on bean "BeanId(FileNetEngine#Engine-ejb-ws.jar#EngineContentCore, null)"
at com.filenet.engine.content.PutContentHandler$PutContentState.write(PutContentHandler.java:1142)
===================================================================================================
Caused by: java.net.SocketTimeoutException: Async operation timed out
at com.ibm.ws.tcp.channel.impl.AioTCPReadRequestContextImpl.processSyncReadRequest(AioTCPReadRequestContextImpl.java:189)
===================================================================================================

Following is the full stack trace of a error occurrence.

Regards,

Carlos.

==== STACK TRACE - BEGIN ==========================================================================
4/28/11 10:58:09:004 BRT 0000003e LocalExceptio E CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "putContent" on bean "BeanId(FileNetEngine#Engine-ejb-ws.jar#EngineContentCore, null)". Exception data: com.filenet.api.exception.EngineRuntimeException: CONTENT_PC_WRITE_FAILED: PutContent write failed State: stateId={207FE86C-B961-4F90-A0B9-91A40CACF4F7}; actualObjectId={597ADC1D-D37B-49AC-9728-87291CA7300D}; tempId={EEBBA546-AAC6-4303-949B-012A541D05BD}; initialOffset=0; lastOffset=0
at com.filenet.engine.content.PutContentHandler$PutContentState.write(PutContentHandler.java:1142)
at com.filenet.engine.content.PutContentHandler.putContent(PutContentHandler.java:187)
at com.filenet.engine.jca.impl.RequestBrokerImpl.putContent(RequestBrokerImpl.java:389)
at com.filenet.engine.jca.impl.RequestBrokerImpl.putContent(RequestBrokerImpl.java:306)
at com.filenet.engine.ejb.EngineContentCoreBean._putContent(EngineContentCoreBean.java:82)
at com.filenet.engine.ejb.EngineContentCoreBean.putContent(EngineContentCoreBean.java:57)
at com.filenet.engine.ejb.EJSLocalStatelessEngineContentCore_dd5e7ec6.putContent(Unknown Source)
at com.filenet.engine.ejb.EngineContentBean.putContent(EngineContentBean.java:157)
at com.filenet.apiimpl.transport.ejbstubs.EJSLocalStatelessEngineContent_a66a23a6.putContent(Unknown Source)
at com.filenet.apiimpl.transport.ejb.ContentPush$EJBImpl.putContent(ContentPush.java:773)
at com.filenet.apiimpl.transport.ejb.ContentPush$EJBImpl.run(ContentPush.java:581)
at com.filenet.apiimpl.transport.ejb.ContentPush$EJBImpl.uploadContent(ContentPush.java:450)
at com.filenet.apiimpl.transport.ejb.ContentPush.uploadContent(ContentPush.java:297)
at com.filenet.apiimpl.transport.ejb.ContentPush.singleThreadUpload(ContentPush.java:279)
at com.filenet.apiimpl.transport.ejb.ContentPush.uploadContent(ContentPush.java:142)
at com.filenet.apiimpl.wsi.serialization.Util.uploadContent(Util.java:695)
at com.filenet.apiimpl.wsi.ServiceSessionNst$1.run(ServiceSessionNst.java:1118)
at java.security.AccessController.doPrivileged(AccessController.java:284)
at javax.security.auth.Subject.doAs(Subject.java:573)
at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:194)
at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:151)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at com.filenet.apiimpl.util.J2EEUtilWS.doAs(J2EEUtilWS.java:215)
at com.filenet.apiimpl.wsi.ServiceSessionNst.sMakeInternalEJBCall(ServiceSessionNst.java:988)
at com.filenet.apiimpl.wsi.ServiceSessionNst.sHandleIncomingRequest(ServiceSessionNst.java:922)
at com.filenet.engine.wsi.ListenerNst.service(ListenerNst.java:147)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:939)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:445)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:504)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:301)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1563)
Caused by: java.net.SocketTimeoutException: Async operation timed out
at com.ibm.ws.tcp.channel.impl.AioTCPReadRequestContextImpl.processSyncReadRequest(AioTCPReadRequestContextImpl.java:189)
at com.ibm.ws.tcp.channel.impl.TCPReadRequestContextImpl.read(TCPReadRequestContextImpl.java:111)
at com.ibm.ws.http.channel.impl.HttpServiceContextImpl.fillABuffer(HttpServiceContextImpl.java:4140)
at com.ibm.ws.http.channel.impl.HttpServiceContextImpl.readSingleBlock(HttpServiceContextImpl.java:3372)
at com.ibm.ws.http.channel.impl.HttpServiceContextImpl.readBodyBuffer(HttpServiceContextImpl.java:3478)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundServiceContextImpl.getRequestBodyBuffer(HttpInboundServiceContextImpl.java:1704)
at com.ibm.ws.webcontainer.channel.WCCByteBufferInputStream.bufferIsGood(WCCByteBufferInputStream.java:225)
at com.ibm.ws.webcontainer.channel.WCCByteBufferInputStream.read(WCCByteBufferInputStream.java:146)
at com.ibm.ws.webcontainer.srt.http.HttpInputStream.read(HttpInputStream.java:314)
at com.filenet.apiimpl.wsi.MtomInputStreamManager.makeSomethingAvailable(MtomInputStreamManager.java:429)
at com.filenet.apiimpl.wsi.MtomInputStreamManager.eatBytesFromBuffer(MtomInputStreamManager.java:277)
at com.filenet.apiimpl.util.MultipartInputStreamManager.read(MultipartInputStreamManager.java:199)
at com.filenet.apiimpl.util.MultipartInputStreamManager.access$200(MultipartInputStreamManager.java:25)
at com.filenet.apiimpl.util.MultipartInputStreamManager$ManagedInputStream.read(MultipartInputStreamManager.java:153)
at com.filenet.apiimpl.property.ClientInputStream.fillBufferFromStream(ClientInputStream.java:277)
at com.filenet.apiimpl.property.ClientInputStream.read(ClientInputStream.java:256)
at com.filenet.engine.content.PutContentHandler$PutContentState.write(PutContentHandler.java:1102)
... 48 more
Caused by: com.ibm.io.async.AsyncTimeoutException(Async operation timed out, Timeout, rc=0)
at com.ibm.io.async.AbstractAsyncFuture.waitForCompletion(AbstractAsyncFuture.java:359)
at com.ibm.io.async.AsyncFuture.getByteCount(AsyncFuture.java:218)
at com.ibm.ws.tcp.channel.impl.AioSocketIOChannel.readAIOSync(AioSocketIOChannel.java:215)
at com.ibm.ws.tcp.channel.impl.AioTCPReadRequestContextImpl.processSyncReadRequest(AioTCPReadRequestContextImpl.java:182)
==== STACK TRACE - END ============================================================================
Updated on 2011-05-05T12:40:50Z at 2011-05-05T12:40:50Z by cwoliveira
  • cwoliveira
    cwoliveira
    4 Posts

    Re: Capture ContentEngine RIL Error - Object Store 'SaveBatch' operation failed

    ‏2011-04-29T04:59:11Z  
    Hello,

    Sorry, I forgot to mention that the error does not happen for every scanning. It's happening at intermittent-basis.

    Thanks,

    Carlos.
  • cwoliveira
    cwoliveira
    4 Posts

    Re: Capture ContentEngine RIL Error - Object Store 'SaveBatch' operation failed

    ‏2011-05-05T12:40:50Z  
    Hello,

    Sorry, I forgot to mention that the error does not happen for every scanning. It's happening at intermittent-basis.

    Thanks,

    Carlos.
    Hello,

    Closing the question, customer network personnel found a configuration related to switches ports and variation of speed (100mbps / 1gbps) between different network segments. They stated that packets collision was happening and throwing to application the AsyncTimeoutException.

    So, Capture is committing batches fine now.

    Regards,

    CW