Hello,
We just upgraded to ES3, and for load testing, I submitted 1000 xml files to a watch folder. The process that picks up the files merges the data with a template and dispatches the documents to a printer. We had this same memory issue in the past on an older version of LiveCycle, but we increased the swap space according to http://blogs.adobe.com/livecycle/2010/05/livecycle_formsivs_and_output i.html and the problem went away.
Here's what our current swap space is:
Swap: 4200912k total, 2478116k used, 1722796k free, 932596k cached
Is there a good way to resolve this error? Or are we supposed to bump up the swap even higher now?
Thanks,
Ryan
2012-04-02 12:07:46,821 ERROR [STDERR] Caused by: com.adobe.livecycle.formsservice.exception.RenderFormException: java.lang.reflect.UndeclaredThrowableException: An unexpected exception while resolving a new connection to an Adobe Service.
2012-04-02 12:07:46,821 ERROR [STDERR] at com.adobe.formServer.FormServer.renderForm(FormServer.java:233)
2012-04-02 12:07:46,821 ERROR [STDERR] at com.adobe.formServer.FormServer.renderForm(FormServer.java:281)
2012-04-02 12:07:46,821 ERROR [STDERR] at com.adobe.formServer.docservice.FormsDocService.renderForm(FormsDocSe rvice.java:558)
2012-04-02 12:07:46,821 ERROR [STDERR] at com.adobe.printSubmitter.util.FormSubmitter.submit(FormSubmitter.java :187)
2012-04-02 12:07:46,821 ERROR [STDERR] ... 187 more
2012-04-02 12:07:46,823 ERROR [STDERR] Caused by: com.adobe.livecycle.formsservice.exception.FormServerException: java.lang.reflect.UndeclaredThrowableException: An unexpected exception while resolving a new connection to an Adobe Service.
2012-04-02 12:07:46,823 ERROR [STDERR] at com.adobe.formServer.PA.XMLFormAgentWrapper.doPAExecute(XMLFormAgentW rapper.java:267)
2012-04-02 12:07:46,823 ERROR [STDERR] at com.adobe.formServer.PA.XMLFormAgentWrapper.execute(XMLFormAgentWrapp er.java:203)
2012-04-02 12:07:47,661 ERROR [STDERR] at com.adobe.formServer.Controller.doXFARender(Controller.java:809)
2012-04-02 12:07:47,661 ERROR [STDERR] at com.adobe.formServer.Controller.doRender(Controller.java:623)
2012-04-02 12:07:47,661 ERROR [STDERR] at com.adobe.formServer.Controller.render(Controller.java:140)
2012-04-02 12:07:47,662 ERROR [STDERR] at com.adobe.formServer.FormServer.renderForm(FormServer.java:214)
2012-04-02 12:07:47,662 ERROR [STDERR] ... 190 more
2012-04-02 12:07:47,664 ERROR [STDERR] Caused by: java.lang.reflect.UndeclaredThrowableException: An unexpected exception while resolving a new connection to an Adobe Service.
2012-04-02 12:07:47,664 ERROR [STDERR] at com.adobe.formServer.PA.XMLFormAgentWrapper.doPAExecute(XMLFormAgentW rapper.java:257)
2012-04-02 12:07:47,664 ERROR [STDERR] ... 195 more
2012-04-02 12:07:47,664 ERROR [STDERR] Caused by: java.lang.reflect.InvocationTargetException
2012-04-02 12:07:47,664 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor564.invoke(Unknown Source)
2012-04-02 12:07:47,664 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25)
2012-04-02 12:07:47,664 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
2012-04-02 12:07:47,664 ERROR [STDERR] at com.adobe.util.ConnectionFactoryReflectionWrapper.getConnection(Utili ties.java:1162)
2012-04-02 12:07:47,664 ERROR [STDERR] at com.adobe.formServer.PA.XMLFormAgentBase.getFormAgentFactory(XMLFormA gentBase.java:67)
2012-04-02 12:07:47,664 ERROR [STDERR] at com.adobe.formServer.PA.XMLFormAgentWrapper.doPAExecute(XMLFormAgentW rapper.java:252)
2012-04-02 12:07:47,664 ERROR [STDERR] ... 195 more
2012-04-02 12:07:47,664 ERROR [STDERR] Caused by: java.lang.reflect.UndeclaredThrowableException: Error executing process
2012-04-02 12:07:47,664 ERROR [STDERR] at com.adobe.service.ProcessResource.startProcess(ProcessResource.java:4 86)
2012-04-02 12:07:47,664 ERROR [STDERR] at com.adobe.service.ProcessResource.<init>(ProcessResource.java:195)
2012-04-02 12:07:47,664 ERROR [STDERR] at com.adobe.service.ProcessFactoryManager.createConnectionResource(Proc essFactoryManager.java:64)
2012-04-02 12:07:47,664 ERROR [STDERR] at com.adobe.service.ResourcePooler.allocateResource(ResourcePooler.java :154)
2012-04-02 12:07:47,664 ERROR [STDERR] at com.adobe.service.ConnectionFactoryManagerPeer.getConnectionResourceF romPool(ConnectionFactoryManagerPeer.java:79)
2012-04-02 12:07:47,664 ERROR [STDERR] at com.adobe.service.J2EEConnectionFactoryManagerPeerImpl.getConnection( J2EEConnectionFactoryManagerPeerImpl.java:103)
2012-04-02 12:07:47,664 ERROR [STDERR] ... 201 more
2012-04-02 12:07:47,665 ERROR [STDERR] Caused by: java.io.IOException: Cannot run program "chmod": java.io.IOException: error=12, Cannot allocate memory
2012-04-02 12:07:47,665 ERROR [STDERR] at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
2012-04-02 12:07:47,665 ERROR [STDERR] at java.lang.Runtime.exec(Runtime.java:593)
2012-04-02 12:07:47,665 ERROR [STDERR] at java.lang.Runtime.exec(Runtime.java:431)
2012-04-02 12:07:47,665 ERROR [STDERR] at java.lang.Runtime.exec(Runtime.java:328)
2012-04-02 12:07:47,665 ERROR [STDERR] at com.adobe.service.ProcessResource.startProcess(ProcessResource.java:4 75)
2012-04-02 12:07:47,665 ERROR [STDERR] ... 206 more
2012-04-02 12:07:47,665 ERROR [STDERR] Caused by: java.io.IOException: java.io.IOException: error=12, Cannot allocate memory
2012-04-02 12:07:47,665 ERROR [STDERR] at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
2012-04-02 12:07:47,665 ERROR [STDERR] at java.lang.ProcessImpl.start(ProcessImpl.java:65)
2012-04-02 12:07:47,665 ERROR [STDERR] at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
2012-04-02 12:07:47,665 ERROR [STDERR] ... 210 more