1 Reply Latest reply on Mar 2, 2009 5:02 AM by Hodmi

    IllegalStateException while creating a pdf

    Level 1
      Hello,<br /><br />I get the exception below when trying to create a pdf using the api.<br /> Any help will be grateful.<br /><br />Thanks<br /><br /><printResult><br /><status>2</status><br /><requestId>c8d43c3a</requestId><br /><context>10</context><br /><messages><br /><message>java.lang.IllegalStateException: Connection to failed service. in com.adobe.livecycle.formsservice.exception.RenderFormException, cause: java.lang.IllegalStateException: Connection to failed service. in com.adobe.livecycle.formsservice.exception.FormServerException</message><br /></messages><br /><printSpec/><br /><trace><br />        at com.adobe.formServer.FormServer.renderForm(FormServer.java:210)<br />        at com.adobe.formServer.FormServer.renderForm(FormServer.java:256)<br />        at com.adobe.formServer.docservice.FormsDocService.renderForm(FormsDocSe<br />rvice.java:446)<br />        at com.adobe.printSubmitter.util.FormSubmitter.submit(FormSubmitter.java<br />:119)<br />        at com.adobe.printSubmitter.util.FormSubmitter.submit(FormSubmitter.java<br />:69)<br />        at com.adobe.printSubmitter.util.Splitter.endElementNoBatch(Splitter.jav<br />a:168)<br />        at com.adobe.printSubmitter.util.Splitter.endElement(Splitter.java:187)<br />        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endEleme<br />nt(AbstractSAXParser.java:633)<br />        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp<br />l.scanEndElement(XMLDocumentFragmentScannerImpl.java:1241)<br />        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp<br />l$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)<br />        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp<br />l.scanDocument(XMLDocumentFragmentScannerImpl.java:368)<br />        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X<br />ML11Configuration.java:834)<br />        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X<br />ML11Configuration.java:764)<br />        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.<br />java:148)<br />        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab<br />stractSAXParser.java:1242)<br />        at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:133)<br /><br />at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:153)<br /><br />at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)<br />        at javax.xml.parsers.SAXParser.parse(SAXParser.java:176)<br />        at com.adobe.printSubmitter.PrintServer.execute(PrintServer.java:498)<br />        at com.adobe.printSubmitter.PrintServer.submit(PrintServer.java:216)<br />        at com.adobe.printSubmitter.service.OutputServiceImpl.generateOutputInTx<br />n(OutputServiceImpl.java:183)<br />        at com.adobe.printSubmitter.service.OutputServiceImpl.generatePDFOutputI<br />nTxn(OutputServiceImpl.java:279)<br />        at com.adobe.printSubmitter.service.OutputServiceImpl.access$100(OutputS<br />erviceImpl.java:65)<br />        at com.adobe.printSubmitter.service.OutputServiceImpl$2.doInTransaction(<br />OutputServiceImpl.java:246)<br />        at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapt<br />erBean.doRequiresNew(EjbTransactionBMTAdapterBean.java:218)<br />        at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapt<br />er_jmbvky_ELOImpl.doRequiresNew(EjbTransactionBMTAdapter_jmbvky_ELOImpl.java:63)<br /><br />at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute<br />(EjbTransactionProvider.java:133)<br />        at com.adobe.idp.dsc.transaction.impl.DefaultTransactionTemplate.execute<br />(DefaultTransactionTemplate.java:79)<br />        at com.adobe.printSubmitter.service.OutputServiceImpl.invokeGeneratePDFO<br />utputWithSMT(OutputServiceImpl.java:242)<br />        at com.adobe.printSubmitter.service.OutputServiceImpl.generatePDFOutput(<br />OutputServiceImpl.java:225)<br />        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeM <br /><br />Thanks<br />Ullas