Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

generatePDFOutput with a variable form.

Avatar

Level 2

Hi

I have a process which uses generatePDFOutput2 to produce a PDF.  This works fine at the moment, but I need to pick the form based on a variable value which is passed in.

I've tried every combination of including the application name or not, with and wtihtout the version number, using forward slashes or backslashes and including the .xdp extension or not, but nothing seems to work.  The document I can find seems to be pretty vague on what I should put in.

Can anyone help?

For reference, the path of my form as viewd in the Applications tree is of the structure: APPNAME/APPNAME/1.0/Subfolder/Formname

When I use a literal value for the Form in generatePDFOutput2 is: URI = Subfolder/Formname.xdp, Created 6/12/10

Thanks

Dan

1 Accepted Solution

Avatar

Correct answer by
Level 10

Ok. I did a mistake. I don't think it worked without the Application. I think I ran the wrong version.

Now I realized the input parameter is of type "document".

I think it actually expects the XDP and not the path to the XDP. I used a ReadRessource step to load the XDP in a document variable and passed that as an input and it worked.

Jasmin

View solution in original post

18 Replies

Avatar

Level 10

Right-click on the form in the Application view and check the absolute-path.

You want to set the Form property of the GenerateOuputPDF to /Applications + absolute-path.

Also make sure your Content Root URI is set to repository://

Jasmin

Avatar

Level 2

Thanks for your reply.

I've just tried that (Content Root URI was previously blank), but it still doesn't work.

Avatar

Level 10

What error you get in the server.log?

It should tell us what url it's trying to load.

Jasmin

Avatar

Level 2

Here's the log, but the path isn't in there:

2011-01-13 16:09:39,130 INFO
[com.adobe.idp.dsc.registry.service.impl.ServiceRegistryImpl]
ServiceRegistryImpl:stop(BTDEV/Processes/GenerateReport, 1.0)
2011-01-13 16:09:39,366 INFO
[com.adobe.idp.dsc.registry.service.impl.ServiceRegistryImpl]
ServiceRegistryImpl:stop(BTDEV/Processes/GetOS, 1.0)
2011-01-13 16:09:39,477 INFO
[com.adobe.idp.dsc.registry.service.impl.ServiceRegistryImpl]
ServiceRegistryImpl:stop(BTDEV/Processes/EventTriggerReport, 1.0)
2011-01-13 16:10:11,638 INFO  [PreparedSqlHelper] execute statement:
CALL rpr_workflow.set_component_started(?)
2011-01-13 16:10:13,156 ERROR [com.adobe.document.XMLFormService]
ALC-XTG-012-309: [11558] XMLForm, load : 12309, XFA template Model is empty.
2011-01-13 16:10:13,162 ERROR
[com.adobe.formServer.PA.XMLFormAgentWrapper] ALC-OUT-002-017: mid,tid:
12309,11558.-205674800 sev: f text: XMLForm, load : 12309, XFA template Model is empty.
2011-01-13 16:10:13,239 ERROR
[com.adobe.livecycle.formsservice.exception.FormServerException]
ALC-OUT-002-013: XMLFormFactory, PAexecute failure:
"(com.adobe.document.xmlform.ReturnStatus@4fc9008e) XMLForm, load :
12309, XFA template Model is empty."
2011-01-13 16:10:13,241 ERROR [STDERR]
com.adobe.printSubmitter.PrintException: ALC-FRM-001-013:
XMLFormFactory, PAexecute failure:
"(com.adobe.document.xmlform.ReturnStatus@4fc9008e) XMLForm, load :
12309, XFA template Model is empty." in
com.adobe.livecycle.formsservice.exception.RenderFormException, cause:
ALC-FRM-001-013: XMLFormFactory, PAexecute failure:
"(com.adobe.document.xmlform.ReturnStatus@4fc9008e) XMLForm, load :
12309, XFA template Model is empty." in
com.adobe.livecycle.formsservice.exception.FormServerException
2011-01-13 16:10:13,242 ERROR [STDERR]     at
com.adobe.printSubmitter.util.FormSubmitter.submit(FormSubmitter.java:190)
2011-01-13 16:10:13,242 ERROR [STDERR]     at
com.adobe.printSubmitter.util.FormSubmitter.submit(FormSubmitter.java:110)
2011-01-13 16:10:13,242 ERROR [STDERR]     at
com.adobe.printSubmitter.util.Splitter.endElementNoBatch(Splitter.java:204)
2011-01-13 16:10:13,242 ERROR [STDERR]     at
com.adobe.printSubmitter.util.Splitter.endElement(Splitter.java:179)
2011-01-13 16:10:13,242 ERROR [STDERR]     at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
2011-01-13 16:10:13,242 ERROR [STDERR]     at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown
Source)
2011-01-13 16:10:13,242 ERROR [STDERR]     at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
2011-01-13 16:10:13,242 ERROR [STDERR]     at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
2011-01-13 16:10:13,242 ERROR [STDERR]     at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
2011-01-13 16:10:13,242 ERROR [STDERR]     at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
2011-01-13 16:10:13,242 ERROR [STDERR]     at
org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
2011-01-13 16:10:13,242 ERROR [STDERR]     at
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
2011-01-13 16:10:13,242 ERROR [STDERR]     at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
2011-01-13 16:10:13,242 ERROR [STDERR]     at
com.adobe.printSubmitter.PrintServer.execute(PrintServer.java:538)
2011-01-13 16:10:13,242 ERROR [STDERR]     at
com.adobe.printSubmitter.PrintServer.submit(PrintServer.java:232)
2011-01-13 16:10:13,242 ERROR [STDERR]     at
com.adobe.printSubmitter.service.OutputServiceImpl.generateOutputInTxn(OutputServiceImpl.java:262)
2011-01-13 16:10:13,243 ERROR [STDERR]     at
com.adobe.printSubmitter.service.OutputServiceImpl.generatePDFOutputInTxn(OutputServiceImpl.java:395)
2011-01-13 16:10:13,243 ERROR [STDERR]     at
com.adobe.printSubmitter.service.OutputServiceImpl.access$100(OutputServiceImpl.java:82)
2011-01-13 16:10:13,243 ERROR [STDERR]     at
com.adobe.printSubmitter.service.OutputServiceImpl$2.doInTransaction(OutputServiceImpl.java:346)
2011-01-13 16:10:13,243 ERROR [STDERR]     at
com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doRequiresNew(EjbTransactionBMTAdapterBean.java:218)
2011-01-13 16:10:13,243 ERROR [STDERR]     at
sun.reflect.GeneratedMethodAccessor329.invoke(Unknown Source)
2011-01-13 16:10:13,243 ERROR [STDERR]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2011-01-13 16:10:13,243 ERROR [STDERR]     at
java.lang.reflect.Method.invoke(Method.java:597)
2011-01-13 16:10:13,243 ERROR [STDERR]     at
org.jboss.invocation.Invocation.performCall(Invocation.java:359)
2011-01-13 16:10:13,243 ERROR [STDERR]     at
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
2011-01-13 16:10:13,243 ERROR [STDERR]     at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
2011-01-13 16:10:13,243 ERROR [STDERR]     at
org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
2011-01-13 16:10:13,243 ERROR [STDERR]     at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
2011-01-13 16:10:13,243 ERROR [STDERR]     at
org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:173)
2011-01-13 16:10:13,243 ERROR [STDERR]     at
org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:77)
2011-01-13 16:10:13,243 ERROR [STDERR]     at
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
2011-01-13 16:10:13,243 ERROR [STDERR]     at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
2011-01-13 16:10:13,243 ERROR [STDERR]     at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
2011-01-13 16:10:13,243 ERROR [STDERR]     at
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
2011-01-13 16:10:13,243 ERROR [STDERR]     at
org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
2011-01-13 16:10:13,243 ERROR [STDERR]     at
org.jboss.ejb.Container.invoke(Container.java:960)
2011-01-13 16:10:13,243 ERROR [STDERR]     at
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
2011-01-13 16:10:13,243 ERROR [STDERR]     at
org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
2011-01-13 16:10:13,243 ERROR [STDERR]     at
$Proxy157.doRequiresNew(Unknown Source)
2011-01-13 16:10:13,243 ERROR [STDERR]     at
com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvider.java:133)
2011-01-13 16:10:13,243 ERROR [STDERR]     at
com.adobe.idp.dsc.transaction.impl.DefaultTransactionTemplate.execute(DefaultTransactionTemplate.java:79)
2011-01-13 16:10:13,243 ERROR [STDERR]     at
com.adobe.printSubmitter.service.OutputServiceImpl.invokeGeneratePDFOutputWithSMT(OutputServiceImpl.java:341)
2011-01-13 16:10:13,243 ERROR [STDERR]     at
com.adobe.printSubmitter.service.OutputServiceImpl.generatePDFOutput2(OutputServiceImpl.java:322)
2011-01-13 16:10:13,244 ERROR [STDERR]     at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2011-01-13 16:10:13,244 ERROR [STDERR]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2011-01-13 16:10:13,244 ERROR [STDERR]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2011-01-13 16:10:13,244 ERROR [STDERR]     at
java.lang.reflect.Method.invoke(Method.java:597)
2011-01-13 16:10:13,244 ERROR [STDERR]     at
com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.java:118)
2011-01-13 16:10:13,244 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor.java:140)
2011-01-13 16:10:13,244 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
2011-01-13 16:10:13,244 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassivationInterceptor.java:53)
2011-01-13 16:10:13,244 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
2011-01-13 16:10:13,244 ERROR [STDERR]     at
com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(TransactionInterceptor.java:74)
2011-01-13 16:10:13,244 ERROR [STDERR]     at
com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doBMT(EjbTransactionBMTAdapterBean.java:197)
2011-01-13 16:10:13,244 ERROR [STDERR]     at
sun.reflect.GeneratedMethodAccessor326.invoke(Unknown Source)
2011-01-13 16:10:13,244 ERROR [STDERR]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2011-01-13 16:10:13,244 ERROR [STDERR]     at
java.lang.reflect.Method.invoke(Method.java:597)
2011-01-13 16:10:13,244 ERROR [STDERR]     at
org.jboss.invocation.Invocation.performCall(Invocation.java:359)
2011-01-13 16:10:13,244 ERROR [STDERR]     at
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
2011-01-13 16:10:13,244 ERROR [STDERR]     at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
2011-01-13 16:10:13,244 ERROR [STDERR]     at
org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
2011-01-13 16:10:13,244 ERROR [STDERR]     at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
2011-01-13 16:10:13,244 ERROR [STDERR]     at
org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:173)
2011-01-13 16:10:13,244 ERROR [STDERR]     at
org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:77)
2011-01-13 16:10:13,244 ERROR [STDERR]     at
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
2011-01-13 16:10:13,244 ERROR [STDERR]     at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
2011-01-13 16:10:13,244 ERROR [STDERR]     at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
2011-01-13 16:10:13,244 ERROR [STDERR]     at
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
2011-01-13 16:10:13,244 ERROR [STDERR]     at
org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
2011-01-13 16:10:13,244 ERROR [STDERR]     at
org.jboss.ejb.Container.invoke(Container.java:960)
2011-01-13 16:10:13,244 ERROR [STDERR]     at
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
2011-01-13 16:10:13,244 ERROR [STDERR]     at
org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
2011-01-13 16:10:13,245 ERROR [STDERR]     at $Proxy157.doBMT(Unknown
Source)
2011-01-13 16:10:13,245 ERROR [STDERR]     at
com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvider.java:95)
2011-01-13 16:10:13,245 ERROR [STDERR]     at
com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInterceptor.java:72)
2011-01-13 16:10:13,245 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
2011-01-13 16:10:13,245 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStrategyInterceptor.java:55)
2011-01-13 16:10:13,245 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
2011-01-13 16:10:13,245 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateInterceptor.java:37)
2011-01-13 16:10:13,245 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
2011-01-13 16:10:13,245 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterceptor.java:188)
2011-01-13 16:10:13,245 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
2011-01-13 16:10:13,245 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
2011-01-13 16:10:13,245 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
2011-01-13 16:10:13,245 ERROR [STDERR]     at
com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:121)
2011-01-13 16:10:13,245 ERROR [STDERR]     at
com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
2011-01-13 16:10:13,245 ERROR [STDERR]     at
com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:93)
2011-01-13 16:10:13,245 ERROR [STDERR]     at
com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:225)
2011-01-13 16:10:13,245 ERROR [STDERR]     at
com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:66)
2011-01-13 16:10:13,245 ERROR [STDERR]     at
com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
2011-01-13 16:10:13,245 ERROR [STDERR]     at
com.adobe.workflow.engine.PEUtil.invokeAction(PEUtil.java:861)
2011-01-13 16:10:13,245 ERROR [STDERR]     at
com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.transientInvoke(WorkflowDSCInvoker.java:347)
2011-01-13 16:10:13,245 ERROR [STDERR]     at
com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.invoke(WorkflowDSCInvoker.java:158)
2011-01-13 16:10:13,245 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor.java:140)
2011-01-13 16:10:13,245 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
2011-01-13 16:10:13,245 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassivationInterceptor.java:53)
2011-01-13 16:10:13,245 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
2011-01-13 16:10:13,245 ERROR [STDERR]     at
com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(TransactionInterceptor.java:74)
2011-01-13 16:10:13,246 ERROR [STDERR]     at
com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTransactionCMTAdapterBean.java:357)
2011-01-13 16:10:13,246 ERROR [STDERR]     at
com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequiresNew(EjbTransactionCMTAdapterBean.java:299)
2011-01-13 16:10:13,246 ERROR [STDERR]     at
sun.reflect.GeneratedMethodAccessor230.invoke(Unknown Source)
2011-01-13 16:10:13,246 ERROR [STDERR]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2011-01-13 16:10:13,246 ERROR [STDERR]     at
java.lang.reflect.Method.invoke(Method.java:597)
2011-01-13 16:10:13,246 ERROR [STDERR]     at
org.jboss.invocation.Invocation.performCall(Invocation.java:359)
2011-01-13 16:10:13,246 ERROR [STDERR]     at
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
2011-01-13 16:10:13,246 ERROR [STDERR]     at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
2011-01-13 16:10:13,246 ERROR [STDERR]     at
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
2011-01-13 16:10:13,246 ERROR [STDERR]     at
org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
2011-01-13 16:10:13,246 ERROR [STDERR]     at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
2011-01-13 16:10:13,246 ERROR [STDERR]     at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:404)
2011-01-13 16:10:13,246 ERROR [STDERR]     at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
2011-01-13 16:10:13,246 ERROR [STDERR]     at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
2011-01-13 16:10:13,246 ERROR [STDERR]     at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
2011-01-13 16:10:13,246 ERROR [STDERR]     at
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
2011-01-13 16:10:13,246 ERROR [STDERR]     at
org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
2011-01-13 16:10:13,246 ERROR [STDERR]     at
org.jboss.ejb.Container.invoke(Container.java:960)
2011-01-13 16:10:13,246 ERROR [STDERR]     at
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
2011-01-13 16:10:13,246 ERROR [STDERR]     at
org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
2011-01-13 16:10:13,246 ERROR [STDERR]     at
$Proxy156.doRequiresNew(Unknown Source)
2011-01-13 16:10:13,246 ERROR [STDERR]     at
com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvider.java:143)
2011-01-13 16:10:13,246 ERROR [STDERR]     at
com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInterceptor.java:72)
2011-01-13 16:10:13,246 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
2011-01-13 16:10:13,246 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStrategyInterceptor.java:55)
2011-01-13 16:10:13,246 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
2011-01-13 16:10:13,246 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateInterceptor.java:37)
2011-01-13 16:10:13,247 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
2011-01-13 16:10:13,247 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterceptor.java:188)
2011-01-13 16:10:13,247 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
2011-01-13 16:10:13,247 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
2011-01-13 16:10:13,247 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
2011-01-13 16:10:13,247 ERROR [STDERR]     at
com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:121)
2011-01-13 16:10:13,247 ERROR [STDERR]     at
com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
2011-01-13 16:10:13,247 ERROR [STDERR]     at
com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:93)
2011-01-13 16:10:13,247 ERROR [STDERR]     at
com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:225)
2011-01-13 16:10:13,247 ERROR [STDERR]     at
com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:66)
2011-01-13 16:10:13,247 ERROR [STDERR]     at
com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
2011-01-13 16:10:13,247 ERROR [STDERR]     at
com.adobe.idp.jobmanager.execution.workadapter.AbstractExecutableJob.invokeRequest(AbstractExecutableJob.java:127)
2011-01-13 16:10:13,247 ERROR [STDERR]     at
com.adobe.idp.jobmanager.execution.workadapter.PersistentExecutableJob.execute(PersistentExecutableJob.java:60)
2011-01-13 16:10:13,247 ERROR [STDERR]     at
com.adobe.idp.dsc.workmanager.adapter.UnManagedAsynchronousWorkAdapter.run(UnManagedAsynchronousWorkAdapter.java:39)
2011-01-13 16:10:13,247 ERROR [STDERR]     at
org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)
2011-01-13 16:10:13,247 ERROR [STDERR]     at
org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275)
2011-01-13 16:10:13,247 ERROR [STDERR]     at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
2011-01-13 16:10:13,247 ERROR [STDERR]     at
java.lang.Thread.run(Thread.java:619)
2011-01-13 16:10:13,247 ERROR [STDERR] Caused by:
com.adobe.livecycle.formsservice.exception.RenderFormException:
ALC-FRM-001-013: XMLFormFactory, PAexecute failure:
"(com.adobe.document.xmlform.ReturnStatus@4fc9008e) XMLForm, load :
12309, XFA template Model is empty."
2011-01-13 16:10:13,247 ERROR [STDERR]     at
com.adobe.formServer.FormServer.renderForm(FormServer.java:234)
2011-01-13 16:10:13,247 ERROR [STDERR]     at
com.adobe.formServer.FormServer.renderForm(FormServer.java:282)
2011-01-13 16:10:13,247 ERROR [STDERR]     at
com.adobe.formServer.docservice.FormsDocService.renderForm(FormsDocService.java:556)
2011-01-13 16:10:13,247 ERROR [STDERR]     at
com.adobe.printSubmitter.util.FormSubmitter.submit(FormSubmitter.java:169)
2011-01-13 16:10:13,247 ERROR [STDERR]     ... 142 more
2011-01-13 16:10:13,248 ERROR [STDERR] Caused by:
com.adobe.livecycle.formsservice.exception.FormServerException:
ALC-FRM-001-013: XMLFormFactory, PAexecute failure:
"(com.adobe.document.xmlform.ReturnStatus@4fc9008e) XMLForm, load :
12309, XFA template Model is empty."
2011-01-13 16:10:13,248 ERROR [STDERR]     at
com.adobe.formServer.PA.XMLFormAgentWrapper.doPAExecute(XMLFormAgentWrapper.java:362)
2011-01-13 16:10:13,248 ERROR [STDERR]     at
com.adobe.formServer.PA.XMLFormAgentWrapper.execute(XMLFormAgentWrapper.java:203)
2011-01-13 16:10:13,248 ERROR [STDERR]     at
com.adobe.formServer.Controller.doXFARender(Controller.java:738)
2011-01-13 16:10:13,248 ERROR [STDERR]     at
com.adobe.formServer.Controller.doRender(Controller.java:566)
2011-01-13 16:10:13,248 ERROR [STDERR]     at
com.adobe.formServer.Controller.render(Controller.java:139)
2011-01-13 16:10:13,248 ERROR [STDERR]     at
com.adobe.formServer.FormServer.renderForm(FormServer.java:215)
2011-01-13 16:10:13,248 ERROR [STDERR]     ... 145 more
2011-01-13 16:10:13,252 ERROR [com.adobe.workflow.AWS] An exception was thrown with name com.adobe.livecycle.output.exception.OutputException
message:com.adobe.printSubmitter.PrintException: ALC-FRM-001-013:
XMLFormFactory, PAexecute failure:
"(com.adobe.document.xmlform.ReturnStatus@4fc9008e) XMLForm, load :
12309, XFA template Model is empty." in
com.adobe.livecycle.formsservice.exception.RenderFormException, cause:
ALC-FRM-001-013: XMLFormFactory, PAexecute failure:
"(com.adobe.document.xmlform.ReturnStatus@4fc9008e) XMLForm, load :
12309, XFA template Model is empty." in
com.adobe.livecycle.formsservice.exception.FormServerException while invoking service OutputService and operation generatePDFOutput2 and no fault routes were found to be configured.
2011-01-13 16:10:13,264 INFO  [PreparedSqlHelper] execute statement:
CALL rpr_workflow.set_component_errored(?,?)

Avatar

Level 10

What are you setting your path to?

What are you setting you Content Root URI to?

Jasmin

Avatar

Level 2

I have the path set to: "/Applications/BTDEV/1.0/Reports/KnowYourNeighbour.xdp" (where BTDEV is the application name and Reports is the subfolder that holds the form).

Conent Root URI is now "repository://" as you stated.

Avatar

Level 10

Let's just to do another test.

Go to the following url: http://localhost:8080/repository. This give you access to the repository from a web browser.

Browse to your file to make sure it's store in the path you think it's stored in.

Let me know.

Jasmin

Avatar

Level 2

I've navigated my way to http://exbtuat2lc1:8080/repository/Applications/BTDEV/1.0/Reports (exbtuat2lc1 is the name of the server) and KnowYourNeighbour.xdp is there.

Avatar

Level 10

Can you post a screen shot of how you set the form url for the generatePDFOutput?

Jasmin

Avatar

Level 2

This is just a temporary method until I get it properly working, but I st the value of a variable called templatePath and then use that variable in the generatePDFOutput process.

I know it is setting the variable's value correctly as I output it as part of the error message

1.PNG2.PNG

Avatar

Level 10

OK. I think I've figured it out.

Just remove /Applications from your path. For some reason it doesn't seem to need it. So you would end up with /BTDEV/<rest of path> for you path.

Jasmin

Avatar

Level 2

Unfortunately that's still not working.

Here's the new log file if that helps:

2011-01-17 04:00:00,050 INFO
[com.adobe.idp.um.scheduler.AutoCreateDynamicGroupJob] AutoCreation Not Enabled
2011-01-17 10:04:07,132 INFO  [PreparedSqlHelper] execute statement:
CALL rpr_workflow.set_component_started(?)
2011-01-17 10:04:19,524 INFO
[com.adobe.idp.dsc.registry.service.impl.ServiceRegistryImpl]
ServiceRegistryImpl:stop(BTDEV/Processes/GenerateReport, 1.0)
2011-01-17 10:04:34,531 INFO
[com.adobe.idp.dsc.registry.service.impl.ServiceRegistryImpl]
ServiceRegistryImpl:stop(BTDEV/Processes/GetOS, 1.0)
2011-01-17 10:04:42,336 INFO
[com.adobe.idp.dsc.registry.service.impl.ServiceRegistryImpl]
ServiceRegistryImpl:stop(BTDEV/Processes/EventTriggerReport, 1.0)
2011-01-17 10:06:17,437 ERROR [com.adobe.document.XMLFormService]
ALC-XTG-012-309: [11558] XMLForm, load : 12309, XFA template Model is empty.
2011-01-17 10:06:17,765 ERROR
[com.adobe.formServer.PA.XMLFormAgentWrapper] ALC-OUT-002-017: mid,tid:
12309,11558.-205674800 sev: f text: XMLForm, load : 12309, XFA template Model is empty.
2011-01-17 10:06:19,719 ERROR
[com.adobe.livecycle.formsservice.exception.FormServerException]
ALC-OUT-002-013: XMLFormFactory, PAexecute failure:
"(com.adobe.document.xmlform.ReturnStatus@4fc9008e) XMLForm, load :
12309, XFA template Model is empty."
2011-01-17 10:06:19,721 ERROR [STDERR]
com.adobe.printSubmitter.PrintException: ALC-FRM-001-013:
XMLFormFactory, PAexecute failure:
"(com.adobe.document.xmlform.ReturnStatus@4fc9008e) XMLForm, load :
12309, XFA template Model is empty." in
com.adobe.livecycle.formsservice.exception.RenderFormException, cause:
ALC-FRM-001-013: XMLFormFactory, PAexecute failure:
"(com.adobe.document.xmlform.ReturnStatus@4fc9008e) XMLForm, load :
12309, XFA template Model is empty." in
com.adobe.livecycle.formsservice.exception.FormServerException
2011-01-17 10:06:19,721 ERROR [STDERR]     at
com.adobe.printSubmitter.util.FormSubmitter.submit(FormSubmitter.java:190)
2011-01-17 10:06:19,721 ERROR [STDERR]     at
com.adobe.printSubmitter.util.FormSubmitter.submit(FormSubmitter.java:110)
2011-01-17 10:06:19,721 ERROR [STDERR]     at
com.adobe.printSubmitter.util.Splitter.endElementNoBatch(Splitter.java:204)
2011-01-17 10:06:19,721 ERROR [STDERR]     at
com.adobe.printSubmitter.util.Splitter.endElement(Splitter.java:179)
2011-01-17 10:06:19,721 ERROR [STDERR]     at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
2011-01-17 10:06:19,721 ERROR [STDERR]     at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown
Source)
2011-01-17 10:06:19,721 ERROR [STDERR]     at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
2011-01-17 10:06:19,721 ERROR [STDERR]     at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
2011-01-17 10:06:19,721 ERROR [STDERR]     at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
2011-01-17 10:06:19,722 ERROR [STDERR]     at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
2011-01-17 10:06:19,722 ERROR [STDERR]     at
org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
2011-01-17 10:06:19,722 ERROR [STDERR]     at
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
2011-01-17 10:06:19,722 ERROR [STDERR]     at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
2011-01-17 10:06:19,722 ERROR [STDERR]     at
com.adobe.printSubmitter.PrintServer.execute(PrintServer.java:538)
2011-01-17 10:06:19,722 ERROR [STDERR]     at
com.adobe.printSubmitter.PrintServer.submit(PrintServer.java:232)
2011-01-17 10:06:19,722 ERROR [STDERR]     at
com.adobe.printSubmitter.service.OutputServiceImpl.generateOutputInTxn(OutputServiceImpl.java:262)
2011-01-17 10:06:19,722 ERROR [STDERR]     at
com.adobe.printSubmitter.service.OutputServiceImpl.generatePDFOutputInTxn(OutputServiceImpl.java:395)
2011-01-17 10:06:19,722 ERROR [STDERR]     at
com.adobe.printSubmitter.service.OutputServiceImpl.access$100(OutputServiceImpl.java:82)
2011-01-17 10:06:19,722 ERROR [STDERR]     at
com.adobe.printSubmitter.service.OutputServiceImpl$2.doInTransaction(OutputServiceImpl.java:346)
2011-01-17 10:06:19,722 ERROR [STDERR]     at
com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doRequiresNew(EjbTransactionBMTAdapterBean.java:218)
2011-01-17 10:06:19,722 ERROR [STDERR]     at
sun.reflect.GeneratedMethodAccessor329.invoke(Unknown Source)
2011-01-17 10:06:19,722 ERROR [STDERR]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2011-01-17 10:06:19,722 ERROR [STDERR]     at
java.lang.reflect.Method.invoke(Method.java:597)
2011-01-17 10:06:19,722 ERROR [STDERR]     at
org.jboss.invocation.Invocation.performCall(Invocation.java:359)
2011-01-17 10:06:19,722 ERROR [STDERR]     at
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
2011-01-17 10:06:19,722 ERROR [STDERR]     at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
2011-01-17 10:06:19,722 ERROR [STDERR]     at
org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
2011-01-17 10:06:19,722 ERROR [STDERR]     at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
2011-01-17 10:06:19,722 ERROR [STDERR]     at
org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:173)
2011-01-17 10:06:19,722 ERROR [STDERR]     at
org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:77)
2011-01-17 10:06:19,723 ERROR [STDERR]     at
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
2011-01-17 10:06:19,723 ERROR [STDERR]     at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
2011-01-17 10:06:19,723 ERROR [STDERR]     at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
2011-01-17 10:06:19,723 ERROR [STDERR]     at
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
2011-01-17 10:06:19,723 ERROR [STDERR]     at
org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
2011-01-17 10:06:19,723 ERROR [STDERR]     at
org.jboss.ejb.Container.invoke(Container.java:960)
2011-01-17 10:06:19,723 ERROR [STDERR]     at
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
2011-01-17 10:06:19,723 ERROR [STDERR]     at
org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
2011-01-17 10:06:19,723 ERROR [STDERR]     at
$Proxy157.doRequiresNew(Unknown Source)
2011-01-17 10:06:19,723 ERROR [STDERR]     at
com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvider.java:133)
2011-01-17 10:06:19,723 ERROR [STDERR]     at
com.adobe.idp.dsc.transaction.impl.DefaultTransactionTemplate.execute(DefaultTransactionTemplate.java:79)
2011-01-17 10:06:19,723 ERROR [STDERR]     at
com.adobe.printSubmitter.service.OutputServiceImpl.invokeGeneratePDFOutputWithSMT(OutputServiceImpl.java:341)
2011-01-17 10:06:19,723 ERROR [STDERR]     at
com.adobe.printSubmitter.service.OutputServiceImpl.generatePDFOutput2(OutputServiceImpl.java:322)
2011-01-17 10:06:19,723 ERROR [STDERR]     at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2011-01-17 10:06:19,723 ERROR [STDERR]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2011-01-17 10:06:19,723 ERROR [STDERR]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2011-01-17 10:06:19,723 ERROR [STDERR]     at
java.lang.reflect.Method.invoke(Method.java:597)
2011-01-17 10:06:19,723 ERROR [STDERR]     at
com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.java:118)
2011-01-17 10:06:19,723 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor.java:140)
2011-01-17 10:06:19,723 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
2011-01-17 10:06:19,724 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassivationInterceptor.java:53)
2011-01-17 10:06:19,724 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
2011-01-17 10:06:19,724 ERROR [STDERR]     at
com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(TransactionInterceptor.java:74)
2011-01-17 10:06:19,724 ERROR [STDERR]     at
com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doBMT(EjbTransactionBMTAdapterBean.java:197)
2011-01-17 10:06:19,724 ERROR [STDERR]     at
sun.reflect.GeneratedMethodAccessor326.invoke(Unknown Source)
2011-01-17 10:06:19,724 ERROR [STDERR]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2011-01-17 10:06:19,724 ERROR [STDERR]     at
java.lang.reflect.Method.invoke(Method.java:597)
2011-01-17 10:06:19,724 ERROR [STDERR]     at
org.jboss.invocation.Invocation.performCall(Invocation.java:359)
2011-01-17 10:06:19,724 ERROR [STDERR]     at
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
2011-01-17 10:06:19,724 ERROR [STDERR]     at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
2011-01-17 10:06:19,724 ERROR [STDERR]     at
org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
2011-01-17 10:06:19,724 ERROR [STDERR]     at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
2011-01-17 10:06:19,724 ERROR [STDERR]     at
org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:173)
2011-01-17 10:06:19,724 ERROR [STDERR]     at
org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:77)
2011-01-17 10:06:19,724 ERROR [STDERR]     at
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
2011-01-17 10:06:19,724 ERROR [STDERR]     at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
2011-01-17 10:06:19,724 ERROR [STDERR]     at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
2011-01-17 10:06:19,724 ERROR [STDERR]     at
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
2011-01-17 10:06:19,724 ERROR [STDERR]     at
org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
2011-01-17 10:06:19,725 ERROR [STDERR]     at
org.jboss.ejb.Container.invoke(Container.java:960)
2011-01-17 10:06:19,725 ERROR [STDERR]     at
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
2011-01-17 10:06:19,725 ERROR [STDERR]     at
org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
2011-01-17 10:06:19,725 ERROR [STDERR]     at $Proxy157.doBMT(Unknown
Source)
2011-01-17 10:06:19,725 ERROR [STDERR]     at
com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvider.java:95)
2011-01-17 10:06:19,725 ERROR [STDERR]     at
com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInterceptor.java:72)
2011-01-17 10:06:19,725 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
2011-01-17 10:06:19,725 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStrategyInterceptor.java:55)
2011-01-17 10:06:19,725 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
2011-01-17 10:06:19,725 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateInterceptor.java:37)
2011-01-17 10:06:19,725 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
2011-01-17 10:06:19,725 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterceptor.java:188)
2011-01-17 10:06:19,725 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
2011-01-17 10:06:19,725 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
2011-01-17 10:06:19,726 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
2011-01-17 10:06:19,726 ERROR [STDERR]     at
com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:121)
2011-01-17 10:06:19,726 ERROR [STDERR]     at
com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
2011-01-17 10:06:19,726 ERROR [STDERR]     at
com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:93)
2011-01-17 10:06:19,726 ERROR [STDERR]     at
com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:225)
2011-01-17 10:06:19,726 ERROR [STDERR]     at
com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:66)
2011-01-17 10:06:19,726 ERROR [STDERR]     at
com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
2011-01-17 10:06:19,726 ERROR [STDERR]     at
com.adobe.workflow.engine.PEUtil.invokeAction(PEUtil.java:861)
2011-01-17 10:06:19,726 ERROR [STDERR]     at
com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.transientInvoke(WorkflowDSCInvoker.java:347)
2011-01-17 10:06:19,726 ERROR [STDERR]     at
com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.invoke(WorkflowDSCInvoker.java:158)
2011-01-17 10:06:19,726 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor.java:140)
2011-01-17 10:06:19,726 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
2011-01-17 10:06:19,726 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassivationInterceptor.java:53)
2011-01-17 10:06:19,726 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
2011-01-17 10:06:19,726 ERROR [STDERR]     at
com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(TransactionInterceptor.java:74)
2011-01-17 10:06:19,726 ERROR [STDERR]     at
com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTransactionCMTAdapterBean.java:357)
2011-01-17 10:06:19,726 ERROR [STDERR]     at
com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequiresNew(EjbTransactionCMTAdapterBean.java:299)
2011-01-17 10:06:19,726 ERROR [STDERR]     at
sun.reflect.GeneratedMethodAccessor230.invoke(Unknown Source)
2011-01-17 10:06:19,726 ERROR [STDERR]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2011-01-17 10:06:19,727 ERROR [STDERR]     at
java.lang.reflect.Method.invoke(Method.java:597)
2011-01-17 10:06:19,727 ERROR [STDERR]     at
org.jboss.invocation.Invocation.performCall(Invocation.java:359)
2011-01-17 10:06:19,727 ERROR [STDERR]     at
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
2011-01-17 10:06:19,727 ERROR [STDERR]     at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
2011-01-17 10:06:19,727 ERROR [STDERR]     at
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
2011-01-17 10:06:19,727 ERROR [STDERR]     at
org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
2011-01-17 10:06:19,727 ERROR [STDERR]     at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
2011-01-17 10:06:19,727 ERROR [STDERR]     at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:404)
2011-01-17 10:06:19,727 ERROR [STDERR]     at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
2011-01-17 10:06:19,727 ERROR [STDERR]     at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
2011-01-17 10:06:19,727 ERROR [STDERR]     at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
2011-01-17 10:06:19,727 ERROR [STDERR]     at
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
2011-01-17 10:06:19,727 ERROR [STDERR]     at
org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
2011-01-17 10:06:19,727 ERROR [STDERR]     at
org.jboss.ejb.Container.invoke(Container.java:960)
2011-01-17 10:06:19,727 ERROR [STDERR]     at
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
2011-01-17 10:06:19,727 ERROR [STDERR]     at
org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
2011-01-17 10:06:19,727 ERROR [STDERR]     at
$Proxy156.doRequiresNew(Unknown Source)
2011-01-17 10:06:19,727 ERROR [STDERR]     at
com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvider.java:143)
2011-01-17 10:06:19,727 ERROR [STDERR]     at
com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInterceptor.java:72)
2011-01-17 10:06:19,727 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
2011-01-17 10:06:19,727 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStrategyInterceptor.java:55)
2011-01-17 10:06:19,727 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
2011-01-17 10:06:19,727 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateInterceptor.java:37)
2011-01-17 10:06:19,727 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
2011-01-17 10:06:19,727 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterceptor.java:188)
2011-01-17 10:06:19,728 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
2011-01-17 10:06:19,728 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
2011-01-17 10:06:19,728 ERROR [STDERR]     at
com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
2011-01-17 10:06:19,728 ERROR [STDERR]     at
com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:121)
2011-01-17 10:06:19,728 ERROR [STDERR]     at
com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
2011-01-17 10:06:19,728 ERROR [STDERR]     at
com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:93)
2011-01-17 10:06:19,728 ERROR [STDERR]     at
com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:225)
2011-01-17 10:06:19,728 ERROR [STDERR]     at
com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:66)
2011-01-17 10:06:19,728 ERROR [STDERR]     at
com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
2011-01-17 10:06:19,728 ERROR [STDERR]     at
com.adobe.idp.jobmanager.execution.workadapter.AbstractExecutableJob.invokeRequest(AbstractExecutableJob.java:127)
2011-01-17 10:06:19,728 ERROR [STDERR]     at
com.adobe.idp.jobmanager.execution.workadapter.PersistentExecutableJob.execute(PersistentExecutableJob.java:60)
2011-01-17 10:06:19,728 ERROR [STDERR]     at
com.adobe.idp.dsc.workmanager.adapter.UnManagedAsynchronousWorkAdapter.run(UnManagedAsynchronousWorkAdapter.java:39)
2011-01-17 10:06:19,728 ERROR [STDERR]     at
org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)
2011-01-17 10:06:19,728 ERROR [STDERR]     at
org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275)
2011-01-17 10:06:19,728 ERROR [STDERR]     at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
2011-01-17 10:06:19,728 ERROR [STDERR]     at
java.lang.Thread.run(Thread.java:619)
2011-01-17 10:06:19,728 ERROR [STDERR] Caused by:
com.adobe.livecycle.formsservice.exception.RenderFormException:
ALC-FRM-001-013: XMLFormFactory, PAexecute failure:
"(com.adobe.document.xmlform.ReturnStatus@4fc9008e) XMLForm, load :
12309, XFA template Model is empty."
2011-01-17 10:06:19,728 ERROR [STDERR]     at
com.adobe.formServer.FormServer.renderForm(FormServer.java:234)
2011-01-17 10:06:19,728 ERROR [STDERR]     at
com.adobe.formServer.FormServer.renderForm(FormServer.java:282)
2011-01-17 10:06:19,728 ERROR [STDERR]     at
com.adobe.formServer.docservice.FormsDocService.renderForm(FormsDocService.java:556)
2011-01-17 10:06:19,728 ERROR [STDERR]     at
com.adobe.printSubmitter.util.FormSubmitter.submit(FormSubmitter.java:169)
2011-01-17 10:06:19,728 ERROR [STDERR]     ... 142 more
2011-01-17 10:06:19,729 ERROR [STDERR] Caused by:
com.adobe.livecycle.formsservice.exception.FormServerException:
ALC-FRM-001-013: XMLFormFactory, PAexecute failure:
"(com.adobe.document.xmlform.ReturnStatus@4fc9008e) XMLForm, load :
12309, XFA template Model is empty."
2011-01-17 10:06:19,729 ERROR [STDERR]     at
com.adobe.formServer.PA.XMLFormAgentWrapper.doPAExecute(XMLFormAgentWrapper.java:362)
2011-01-17 10:06:19,729 ERROR [STDERR]     at
com.adobe.formServer.PA.XMLFormAgentWrapper.execute(XMLFormAgentWrapper.java:203)
2011-01-17 10:06:19,729 ERROR [STDERR]     at
com.adobe.formServer.Controller.doXFARender(Controller.java:738)
2011-01-17 10:06:19,729 ERROR [STDERR]     at
com.adobe.formServer.Controller.doRender(Controller.java:566)
2011-01-17 10:06:19,729 ERROR [STDERR]     at
com.adobe.formServer.Controller.render(Controller.java:139)
2011-01-17 10:06:19,729 ERROR [STDERR]     at
com.adobe.formServer.FormServer.renderForm(FormServer.java:215)
2011-01-17 10:06:19,729 ERROR [STDERR]     ... 145 more
2011-01-17 10:06:19,823 ERROR [com.adobe.workflow.AWS] An exception was thrown with name com.adobe.livecycle.output.exception.OutputException
message:com.adobe.printSubmitter.PrintException: ALC-FRM-001-013:
XMLFormFactory, PAexecute failure:
"(com.adobe.document.xmlform.ReturnStatus@4fc9008e) XMLForm, load :
12309, XFA template Model is empty." in
com.adobe.livecycle.formsservice.exception.RenderFormException, cause:
ALC-FRM-001-013: XMLFormFactory, PAexecute failure:
"(com.adobe.document.xmlform.ReturnStatus@4fc9008e) XMLForm, load :
12309, XFA template Model is empty." in
com.adobe.livecycle.formsservice.exception.FormServerException while invoking service OutputService and operation generatePDFOutput2 and no fault routes were found to be configured.
2011-01-17 10:06:19,908 INFO  [PreparedSqlHelper] execute statement:
CALL rpr_workflow.set_component_errored(?,?)

Avatar

Level 10

Can you send me your LCA at livecycle8@gmail.com?

Jasmin

Avatar

Level 2

Here it is.

The report we're running is Reports/KnowYourNeighbour. You can base that on SampleData/KYNSample.xml.

The process in question is Processes/EventTriggerReport. Execute12 sets the variable, templatePath and then generatePDF Ouptut tries to use that to create the PDF

Thanks

Dan

Avatar

Correct answer by
Level 10

Ok. I did a mistake. I don't think it worked without the Application. I think I ran the wrong version.

Now I realized the input parameter is of type "document".

I think it actually expects the XDP and not the path to the XDP. I used a ReadRessource step to load the XDP in a document variable and passed that as an input and it worked.

Jasmin

Avatar

Level 2

I've just done that and it's worked a treat!

Thanks a lot!  I really appreciate it.

Dan

Avatar

Level 2

this thread has really helped alot, thanks!  It has helped to finally return a document to me!  However, the document that is returned does not contain any of the fragments that are attached to the form (.xdp) that I call in the process.  So, I pass in "formName.xdp" and I get PDF output back but the fragments that are inserted throughout "formName.xdp" are not pulled in to build the document.

When you look at the formName.xdp document in Designer, the paths to the fragments are relative so an example path is: "...\fragments\frag1.xdp".  That path should be correct according to my folder structure (that is if relative paths work).  I ported this right into ES 9.0 (9.5 workbench) from 8.2 and it worked just fine as is in 8.2.

Any ideas what could be causing this?

Avatar

Level 2

Unfortunately you've fallen foul of a Livecycle bug that makes fragments completely useless for our system and it looks like possibly yours as well.

See this thread: http://forums.adobe.com/message/3117315#3117315

If you ever find a solution that allows you to actually use fragments I'd love to hear it.

Dan