1 Reply Latest reply on Mar 19, 2014 9:29 AM by WASIL

    Printsubmitter out of memory error

    Solverz_1 Level 1

      Hi,

      I am facing a printsubmitter error message in my Process that calls the output service to merge data from an xml input file with the XDP to generate a PDF document.

       

      The upstream process (run by a scheduler wait every 1 min) calls a small java DSC to generate the XML from from a database and puts it in the watched folder for the process that is failing. A large number of documents have to be generated (over 10,000) and this is done one at a time. This works well for the first 5-600 files and then all files start giving printsubmitter errors like below.

       

       

      At this point I am not sure if this is a problem related the database connection, memory, or the XML file generated. Do I need to increase memory to the forms service? how can this be done?

       

      I am attaching one of the failure logs below. Any help would be greatly appreciated.

       

       

      Failure Time----Fri Mar 07 15:17:52 IST 2014

      source location ---- Reason of failure is-----com.adobe.printSubmitter.PrintException: 0 : Out of Memory in com.adobe.livecycle.formsservice.exception.RenderFormException, cause: 0 : Out of Memory in com.adobe.livecycle.formsservice.exception.FormServerException

      com.adobe.printSubmitter.PrintException: 0 : Out of Memory in com.adobe.livecycle.formsservice.exception.RenderFormException, cause: 0 : Out of Memory in com.adobe.livecycle.formsservice.exception.FormServerException

      0 : Out of Memory in com.adobe.livecycle.formsservice.exception.RenderFormException, cause: 0 : Out of Memory in com.adobe.livecycle.formsservice.exception.FormServerException

      0 : Out of Memory

      0 : Out of Memory

      IDL:com/adobe/document/xmlform/RenderException:1.0

      com.adobe.livecycle.output.exception.OutputException: com.adobe.printSubmitter.PrintException: 0 : Out of Memory in com.adobe.livecycle.formsservice.exception.RenderFormException, cause: 0 : Out of Memory in com.adobe.livecycle.formsservice.exception.FormServerException

                at com.adobe.printSubmitter.PrintServer.execute(PrintServer.java:678)

                at com.adobe.printSubmitter.PrintServer.submit(PrintServer.java:233)

                at com.adobe.printSubmitter.service.OutputServiceImpl.generateOutputInTxn(OutputServiceImpl. java:278)

                at com.adobe.printSubmitter.service.OutputServiceImpl.generatePDFOutputInTxn(OutputServiceIm pl.java:411)

                at com.adobe.printSubmitter.service.OutputServiceImpl.access$100(OutputServiceImpl.java:84)

                at com.adobe.printSubmitter.service.OutputServiceImpl$2.doInTransaction(OutputServiceImpl.ja va:362)

                at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doRequiresNew (EjbTransactionBMTAdapterBean.java:218)

                at sun.reflect.GeneratedMethodAccessor530.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                at java.lang.reflect.Method.invoke(Method.java:597)

                at org.jboss.invocation.Invocation.performCall(Invocation.java:386)

                at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:233)

                at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:156)

                at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)

                at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)

                at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:1 73)

                at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:77)

                at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:173)

                at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:228)

                at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211)

                at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java :97)

                at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java: 81)

                at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)

                at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)

                at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650)

                at org.jboss.ejb.Container.invoke(Container.java:1092)

                at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:436)

                at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)

                at com.sun.proxy.$Proxy243.doRequiresNew(Unknown Source)

                at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:133)

                at com.adobe.idp.dsc.transaction.impl.DefaultTransactionTemplate.execute(DefaultTransactionT emplate.java:79)

                at com.adobe.printSubmitter.service.OutputServiceImpl.invokeGeneratePDFOutputWithSMT(OutputS erviceImpl.java:357)

                at com.adobe.printSubmitter.service.OutputServiceImpl.generatePDFOutput2(OutputServiceImpl.j ava:338)

                at sun.reflect.GeneratedMethodAccessor1269.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                at java.lang.reflect.Method.invoke(Method.java:597)

                at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)

                at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)

                at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)

                at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)

                at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doBMT(EjbTran sactionBMTAdapterBean.java:197)

                at sun.reflect.GeneratedMethodAccessor542.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                at java.lang.reflect.Method.invoke(Method.java:597)

                at org.jboss.invocation.Invocation.performCall(Invocation.java:386)

                at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:233)

                at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:156)

                at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)

                at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)

                at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:1 73)

                at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:77)

                at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:173)

                at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:228)

                at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211)

                at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java :97)

                at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java: 81)

                at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)

                at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)

                at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650)

                at org.jboss.ejb.Container.invoke(Container.java:1092)

                at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:436)

                at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)

                at com.sun.proxy.$Proxy243.doBMT(Unknown Source)

                at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:95)

                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:60)

                at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)

                at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                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:60)

                at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:188)

                at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)

                at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:121)

                at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:131)

                at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)

                at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:22 5)

                at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)

                at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)

                at com.adobe.workflow.engine.PEUtil.invokeAction(PEUtil.java:893)

                at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.transientInvoke(WorkflowDSCInvoker. java:350)

                at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.invoke(WorkflowDSCInvoker.java:158)

                at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)

                at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)

                at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                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 sun.reflect.GeneratedMethodAccessor530.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                at java.lang.reflect.Method.invoke(Method.java:597)

                at org.jboss.invocation.Invocation.performCall(Invocation.java:386)

                at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:233)

                at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:156)

                at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)

                at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)

                at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:1 73)

                at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:77)

                at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:173)

                at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:228)

                at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211)

                at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java :97)

                at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java: 81)

                at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)

                at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)

                at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650)

                at org.jboss.ejb.Container.invoke(Container.java:1092)

                at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:436)

                at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)

                at com.sun.proxy.$Proxy243.doRequiresNew(Unknown Source)

                at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:145)

                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:60)

                at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)

                at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                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:60)

                at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:188)

                at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)

                at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:121)

                at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:131)

                at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)

                at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:22 5)

                at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)

                at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)

                at com.adobe.idp.jobmanager.execution.workadapter.AbstractExecutableJob.invokeRequest(Abstra ctExecutableJob.java:127)

                at com.adobe.idp.jobmanager.execution.workadapter.PersistentExecutableJob.execute(Persistent ExecutableJob.java:60)

                at com.adobe.idp.dsc.workmanager.adapter.UnManagedAsynchronousWorkAdapter.run(UnManagedAsync hronousWorkAdapter.java:39)

                at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:205)

                at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260)

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)

                at java.lang.Thread.run(Thread.java:662)

      Caused by: com.adobe.printSubmitter.PrintException: 0 : Out of Memory in com.adobe.livecycle.formsservice.exception.RenderFormException, cause: 0 : Out of Memory in com.adobe.livecycle.formsservice.exception.FormServerException

                at com.adobe.printSubmitter.util.FormSubmitter.submit(FormSubmitter.java:211)

                at com.adobe.printSubmitter.util.FormSubmitter.submit(FormSubmitter.java:113)

                at com.adobe.printSubmitter.util.Splitter.endElementNoBatch(Splitter.java:204)

                at com.adobe.printSubmitter.util.Splitter.endElement(Splitter.java:179)

                at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)

                at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)

                at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch( Unknown Source)

                at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

                at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

                at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

                at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

                at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

                at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)

                at com.adobe.printSubmitter.PrintServer.execute(PrintServer.java:541)

                ... 137 more

      Caused by: com.adobe.livecycle.formsservice.exception.RenderFormException: 0 : Out of Memory

                at com.adobe.formServer.FormServer.renderForm(FormServer.java:233)

                at com.adobe.formServer.FormServer.renderForm(FormServer.java:281)

                at com.adobe.formServer.docservice.FormsDocService.renderForm(FormsDocService.java:558)

                at com.adobe.printSubmitter.util.FormSubmitter.submit(FormSubmitter.java:187)

                ... 150 more

      Caused by: com.adobe.livecycle.formsservice.exception.FormServerException: 0 : Out of Memory

                at com.adobe.formServer.PA.XMLFormAgentWrapper.doPAExecute(XMLFormAgentWrapper.java:457)

                at com.adobe.formServer.PA.XMLFormAgentWrapper.execute(XMLFormAgentWrapper.java:203)

                at com.adobe.formServer.Controller.doXFARender(Controller.java:809)

                at com.adobe.formServer.Controller.doRender(Controller.java:623)

                at com.adobe.formServer.Controller.render(Controller.java:140)

                at com.adobe.formServer.FormServer.renderForm(FormServer.java:214)

                ... 153 more

      Caused by: com.adobe.document.xmlform.RenderException: IDL:com/adobe/document/xmlform/RenderException:1.0

                at com.adobe.formServer.PA.XMLFormAgentWrapper.doPAExecute(XMLFormAgentWrapper.java:422)

                ... 158 more