9 Replies Latest reply on Jul 28, 2008 3:39 AM by Stephane Gervais

    Document not available

    Level 1
      I have a workflow process that uses a Read Resource Content operation to retrieve a PDF document into a document variable - this works intermitently but more frequently results in the process stalling and a "DocumentError" being logged. The error message states that the "Document is no longer available on the sending side anymore. Make sure that it is not disposed or garbage collected too early"...

      Can anybody tell me why this would happen and how to correct it?
        • 1. Re: Document not available
          Level 1
          Does the read rresource operation complete successfully?
          • 2. Re: Document not available
            Level 1
            No, that's where it stalls - with the message that the "document is not available on the sending side anymore".
            • 3. Re: Document not available
              Level 1
              Hi jeff

              I've posted the same question/problem some weeks ago:
              http://www.adobeforums.com/webx/.3c056969

              Unfortunately nobody could answer me question....

              Regards,
              Nico
              • 4. Re: Document not available
                Level 1
                Interestingly, I haven't seen the problem for the past few days - not sure if it's "gone away" because of something that I've changed or whether it will come back to haunt me.
                • 5. Re: Document not available
                  Level 1
                  Hi,
                  I encounter the same problem. Is intermitent too. Don't know whether is it because the file size is too large? Is around 1MB. Or is it a bug of livecycle workflow. Is there any configuration to tune in the application server or livecycle server???

                  Thanks.
                  • 6. Re: Document not available
                    Level 1
                    Hi,
                    I'm experiencing the same issue. It was working for a while and then started to through
                    the exception about the document not being available. I created a new workflow
                    process which retrieved the exact same document from the repository and it worked
                    fine (well, at least it is for now!)

                    Has anyone determined the cause and/or solution/workaround to prevent this from
                    happening?

                    Thanks.
                    • 7. Re: Document not available
                      Level 1
                      This is now happening to me frequently. I'm using the renderPDFForm
                      service. As the form goes through an approval process, I extract
                      the data, update some timestamps, and then use the renderPDFForm
                      serivce to reinsert the data and then I assign the form to the
                      next user for approval. I can't determine a cause for the failure
                      as it can happen after any number of approvals. Today I'm approaching
                      a 50% failure rate. At this point my application is not deployable.
                      • 8. Re: Document not available
                        Level 1
                        Here's a copy of the logs:

                        [16/07/08 13:33:31:025 EDT] 00000076 FormServer A com.adobe.livecycle.formsservice.logging.FormsLogger logMessage ALC-FRM-001-501: FormName:/FormsJuly/ApprovalForm.pdf : FormPreference:PDFForm : Debug:false : PDFVersion:null : Content Root:repository:// : Base URL:null : App Root:null : User Agent:null
                        [16/07/08 13:33:31:145 EDT] 00000076 Document W com.adobe.idp.DocumentManagerClient requestRemotePassivation DOCS008: The remote side reported that the document data was possibly collected by timeout. Consider increasing the defaultDocumentDisposalTimeout setting.
                        [16/07/08 13:33:31:148 EDT] 00000076 FormServer E com.adobe.formServer.FormServer dumpLog The Document is not available on the sending side anymore. Make sure that it is not disposed or garbage collected too early.
                        [16/07/08 13:33:31:155 EDT] 00000076 Reference I org.apache.xml.security.signature.Reference verify Verification successful for URI "#c22b4d45332e6854c69a43c8d928ce7d"
                        [16/07/08 13:33:31:161 EDT] 00000076 Orchestration I ProcessManagerSerice:throwEvent()
                        [16/07/08 13:33:31:202 EDT] 00000076 SchedulerServ A com.adobe.idp.scheduler.SchedulerServiceImpl createQuartzTrigger OneShot Trigger created ----------------------------------------
                        [16/07/08 13:33:31:236 EDT] 00000076 AWS E com.adobe.workflow.engine.ProcessEngineBMTBean stallAction stalling action-instance: 8195 with message: ALC-DSC-003-000: com.adobe.idp.dsc.DSCInvocationException: Invocation error.
                        at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:210)
                        at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:134)
                        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
                        at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
                        at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doRequiresNew (EjbTransactionBMTAdapterBean.java:218)
                        at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EJSLocalStatelessEjbTransactionBMTAdapter_ 3af08fdf.doRequiresNew(Unknown Source)
                        at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:133)
                        at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
                        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
                        at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
                        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
                        at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:80)
                        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
                        at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:113)
                        at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:102)
                        at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:88)
                        at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:21 0)
                        at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:57)
                        at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
                        at com.adobe.workflow.engine.PEUtil.invokeAction(PEUtil.java:556)
                        at com.adobe.workflow.engine.ProcessEngineBMTBean.continueBranchAtAction(ProcessEngineBMTBea n.java:2868)
                        at com.adobe.workflow.engine.ProcessEngineBMTBean.asyncContinueBranchCommand(ProcessEngineBM TBean.java:2397)
                        at com.adobe.workflow.engine.EJSLocalStatelessadobe_ProcessEngineBMTEJB_7d3cbd67.asyncContin ueBranchCommand(Unknown Source)
                        at com.adobe.workflow.engine.ProcessCommandControllerBean.doOnMessage(ProcessCommandControll erBean.java:133)
                        at com.adobe.workflow.engine.ProcessCommandControllerBean.onMessage(ProcessCommandController Bean.java:94)
                        at com.ibm.ejs.container.MessageEndpointHandler.invokeMdbMethod(MessageEndpointHandler.java: 1014)
                        at com.ibm.ejs.container.MessageEndpointHandler.invoke(MessageEndpointHandler.java:747)
                        at $Proxy0.onMessage(Unknown Source)
                        at com.ibm.ws.sib.api.jmsra.impl.JmsJcaEndpointInvokerImpl.invokeEndpoint(JmsJcaEndpointInvo kerImpl.java:201)
                        at com.ibm.ws.sib.ra.inbound.impl.SibRaDispatcher.dispatch(SibRaDispatcher.java:768)
                        at com.ibm.ws.sib.ra.inbound.impl.SibRaSingleProcessListener$SibRaWork.run(SibRaSingleProces sListener.java:584)
                        at com.ibm.ejs.j2c.work.WorkProxy.run(WorkProxy.java:419)
                        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
                        Caused by: com.adobe.livecycle.formsservice.exception.RenderFormException: The Document is not available on the sending side anymore. Make sure that it is not disposed or garbage collected too early.
                        at com.adobe.idp.DocumentManagerClient.requestRemotePassivation(DocumentManagerClient.java:3 19)
                        at com.adobe.idp.Document.passivate(Document.java:759)
                        at com.adobe.idp.Document.passivate(Document.java:702)
                        at com.adobe.idp.Document.length(Document.java:1172)
                        at com.adobe.formServer.utils.GibsonUtils.addAttachments(GibsonUtils.java:469)
                        at com.adobe.formServer.SnapIn.PDFMerge.PDFMerge.finalize(PDFMerge.java:106)
                        at com.adobe.formServer.Controller.doNativeRender(Controller.java:536)
                        at com.adobe.formServer.Controller.doRender(Controller.java:492)
                        at com.adobe.formServer.Controller.render(Controller.java:131)
                        at com.adobe.formServer.FormServer.renderForm(FormServer.java:191)
                        at com.adobe.formServer.FormServer.renderForm(FormServer.java:256)
                        at com.adobe.formServer.docservice.FormsDocService.renderForm(FormsDocService.java:446)
                        at com.adobe.formServer.docservice.FormsDocService.renderForm(FormsDocService.java:405)
                        at com.adobe.formServer.docservice.FormsDocService.renderPDFForm(FormsDocService.java:109)
                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                        at java.lang.reflect.Method.invoke(Method.java:585)
                        at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:181)
                        ... 32 more
                        • 9. Re: Document not available
                          Stephane Gervais Level 1
                          Further posts on this topic should be done here:

                          http://www.adobeforums.com/webx?128@@.3c05650b