18 Replies Latest reply on Jun 30, 2011 1:19 AM by DanCondonJones

    generatePDFOutput with a variable form.

    DanCondonJones Level 1

      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. Re: generatePDFOutput with a variable form.
          Jasmin Charbonneau Level 4

          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

          • 2. Re: generatePDFOutput with a variable form.
            DanCondonJones Level 1

            Thanks for your reply.

             

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

            • 3. Re: generatePDFOutput with a variable form.
              Jasmin Charbonneau Level 4

              What error you get in the server.log?

               

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

               

              Jasmin

              • 4. Re: generatePDFOutput with a variable form.
                DanCondonJones Level 1

                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(U nknown
                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.j ava:262)
                2011-01-13 16:10:13,243 ERROR [STDERR]     at
                com.adobe.printSubmitter.service.OutputServiceImpl.generatePDFOutputInTxn(OutputServiceImp l.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.jav a: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(StatelessSessionContai ner.java:237)
                2011-01-13 16:10:13,243 ERROR [STDERR]     at
                org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionIn terceptor.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:17 3)
                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(StatelessSessionInstanceI nterceptor.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.j ava: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(EjbTransactionProvid er.java:133)
                2011-01-13 16:10:13,243 ERROR [STDERR]     at
                com.adobe.idp.dsc.transaction.impl.DefaultTransactionTemplate.execute(DefaultTransactionTe mplate.java:79)
                2011-01-13 16:10:13,243 ERROR [STDERR]     at
                com.adobe.printSubmitter.service.OutputServiceImpl.invokeGeneratePDFOutputWithSMT(OutputSe rviceImpl.java:341)
                2011-01-13 16:10:13,243 ERROR [STDERR]     at
                com.adobe.printSubmitter.service.OutputServiceImpl.generatePDFOutput2(OutputServiceImpl.ja va: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.j ava:140)
                2011-01-13 16:10:13,244 ERROR [STDERR]     at
                com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorC hainImpl.java:60)
                2011-01-13 16:10:13,244 ERROR [STDERR]     at
                com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassiv ationInterceptor.java:53)
                2011-01-13 16:10:13,244 ERROR [STDERR]     at
                com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorC hainImpl.java:60)
                2011-01-13 16:10:13,244 ERROR [STDERR]     at
                com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transac tionInterceptor.java:74)
                2011-01-13 16:10:13,244 ERROR [STDERR]     at
                com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doBMT(EjbTrans actionBMTAdapterBean.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(StatelessSessionContai ner.java:237)
                2011-01-13 16:10:13,244 ERROR [STDERR]     at
                org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionIn terceptor.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:17 3)
                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(StatelessSessionInstanceI nterceptor.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.j ava: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(EjbTransactionProvid er.java:95)
                2011-01-13 16:10:13,245 ERROR [STDERR]     at
                com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInte rceptor.java:72)
                2011-01-13 16:10:13,245 ERROR [STDERR]     at
                com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorC hainImpl.java:60)
                2011-01-13 16:10:13,245 ERROR [STDERR]     at
                com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStrat egyInterceptor.java:55)
                2011-01-13 16:10:13,245 ERROR [STDERR]     at
                com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorC hainImpl.java:60)
                2011-01-13 16:10:13,245 ERROR [STDERR]     at
                com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercept or.java:37)
                2011-01-13 16:10:13,245 ERROR [STDERR]     at
                com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorC hainImpl.java:60)
                2011-01-13 16:10:13,245 ERROR [STDERR]     at
                com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterce ptor.java:188)
                2011-01-13 16:10:13,245 ERROR [STDERR]     at
                com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorC hainImpl.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(RequestInterceptorC hainImpl.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(AbstractMessageR eceiver.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(AbstractMessageDispatc her.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.j ava: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.j ava:140)
                2011-01-13 16:10:13,245 ERROR [STDERR]     at
                com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorC hainImpl.java:60)
                2011-01-13 16:10:13,245 ERROR [STDERR]     at
                com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassiv ationInterceptor.java:53)
                2011-01-13 16:10:13,245 ERROR [STDERR]     at
                com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorC hainImpl.java:60)
                2011-01-13 16:10:13,245 ERROR [STDERR]     at
                com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transac tionInterceptor.java:74)
                2011-01-13 16:10:13,246 ERROR [STDERR]     at
                com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTra nsactionCMTAdapterBean.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(StatelessSessionContai ner.java:237)
                2011-01-13 16:10:13,246 ERROR [STDERR]     at
                org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionIn terceptor.java:158)
                2011-01-13 16:10:13,246 ERROR [STDERR]     at
                org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceI nterceptor.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.j ava: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(EjbTransactionProvid er.java:143)
                2011-01-13 16:10:13,246 ERROR [STDERR]     at
                com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInte rceptor.java:72)
                2011-01-13 16:10:13,246 ERROR [STDERR]     at
                com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorC hainImpl.java:60)
                2011-01-13 16:10:13,246 ERROR [STDERR]     at
                com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStrat egyInterceptor.java:55)
                2011-01-13 16:10:13,246 ERROR [STDERR]     at
                com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorC hainImpl.java:60)
                2011-01-13 16:10:13,246 ERROR [STDERR]     at
                com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercept or.java:37)
                2011-01-13 16:10:13,247 ERROR [STDERR]     at
                com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorC hainImpl.java:60)
                2011-01-13 16:10:13,247 ERROR [STDERR]     at
                com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterce ptor.java:188)
                2011-01-13 16:10:13,247 ERROR [STDERR]     at
                com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorC hainImpl.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(RequestInterceptorC hainImpl.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(AbstractMessageR eceiver.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(AbstractMessageDispatc her.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(Abstrac tExecutableJob.java:127)
                2011-01-13 16:10:13,247 ERROR [STDERR]     at
                com.adobe.idp.jobmanager.execution.workadapter.PersistentExecutableJob.execute(PersistentE xecutableJob.java:60)
                2011-01-13 16:10:13,247 ERROR [STDERR]     at
                com.adobe.idp.dsc.workmanager.adapter.UnManagedAsynchronousWorkAdapter.run(UnManagedAsynch ronousWorkAdapter.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(?,?)

                • 5. Re: generatePDFOutput with a variable form.
                  Jasmin Charbonneau Level 4

                  What are you setting your path to?

                   

                  What are you setting you Content Root URI to?

                   

                  Jasmin

                  • 6. Re: generatePDFOutput with a variable form.
                    DanCondonJones Level 1

                    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.

                    • 7. Re: generatePDFOutput with a variable form.
                      Jasmin Charbonneau Level 4

                      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

                      • 8. Re: generatePDFOutput with a variable form.
                        DanCondonJones Level 1

                        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.

                        • 9. Re: generatePDFOutput with a variable form.
                          Jasmin Charbonneau Level 4

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

                           

                          Jasmin

                          • 10. Re: generatePDFOutput with a variable form.
                            DanCondonJones Level 1

                            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

                            • 11. Re: generatePDFOutput with a variable form.
                              Jasmin Charbonneau Level 4

                              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

                              • 12. Re: generatePDFOutput with a variable form.
                                DanCondonJones Level 1

                                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.sc