Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle installation, configuration, deployment, and administration
Viewing all articles
Browse latest Browse all 87219

java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to javax.xml.parsers.DocumentBuilderFactory

$
0
0

Hi,

We are upgrading from LiveCycle 7 (I assume it's pre-ES) to ES4 (On Jboss AS 5) and only has a minimal time.

And we're having issues with

 

2014-10-02 08:10:50,110 ERROR [org.apache.axis.utils.XMLUtils] (http-0.0.0.0-80-1) Exception:

java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to javax.xml.parsers.DocumentBuilderFactory

  at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source)

  at org.apache.axis.utils.XMLUtils.getDOMFactory(XMLUtils.java:221)

  at org.apache.axis.utils.XMLUtils.<clinit>(XMLUtils.java:83)

  at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:179)

  at org.apache.axis.AxisEngine.init(AxisEngine.java:172)

  at org.apache.axis.AxisEngine.<init>(AxisEngine.java:156)

  at org.apache.axis.client.AxisClient.<init>(AxisClient.java:52)

  at org.apache.axis.client.Service.getAxisClient(Service.java:104)

  at org.apache.axis.client.Service.<init>(Service.java:113)

  at org.apache.axis.client.Call.<init>(Call.java:344)

 

A solution that we found in the installation manual is caused by different version of xercesImpl with JBoss AS 5 and suppose to use classloader.

We use classloader as

 

<?xml version="1.0" encoding="UTF-8"?>

<classloading xmlns="urn:jboss:classloading:1.0"

name="FOFMS_MNT.war"

domain="FOFMS_MNT"

export-all="NON_EMPTY"

import-all="true">

</classloading>

 

and now we're getting

(http-0.0.0.0-80-1) FormRenderObject: urlSpec = contentrooturi=file:///D:/FOFMS_Form_Templates/MNT_FormTemplates&applicationwebroot=http://desphapp044.development.local:80/FOFMS_MNT&baseurl=file:///D:/FOFMS_Form_Templates/ MNT_FormTemplates&targeturl=http://desphapp044.development.local:80/FOFMS_MNT/SubmitForm?F ormName=Review Form&FormTemplate=Base_Review_Template.xdp&FormFormat=PDFForm&FormVersion=1.6

2014-10-02 11:12:23,466 ERROR [STDERR] (http-0.0.0.0-80-1) com.adobe.livecycle.formsservice.exception.RenderFormException: ALC-DSC-099-000: com.adobe.idp.dsc.DSCRuntimeException: org.apache.axis.AxisFault: (404)Not Found

2014-10-02 11:12:23,466 ERROR [STDERR] (http-0.0.0.0-80-1) at com.adobe.livecycle.formsservice.client.FormsServiceClient.renderPDFForm(FormsServiceClie nt.java:272)

2014-10-02 11:12:23,466 ERROR [STDERR] (http-0.0.0.0-80-1) at com.indigo.FOFMS.FormRenderObject.getOutputContext(FormRenderObject.java:474)

2014-10-02 11:12:23,466 ERROR [STDERR] (http-0.0.0.0-80-1) at com.indigo.FOFMS.FormRenderObject.getOutputContext(FormRenderObject.java:239)

2014-10-02 11:12:23,466 ERROR [STDERR] (http-0.0.0.0-80-1) at com.indigo.FOFMS.FormRenderObject.render(FormRenderObject.java:114)

2014-10-02 11:12:23,466 ERROR [STDERR] (http-0.0.0.0-80-1) at com.indigo.FOFMS.GetForm.handleRequest(GetForm.java:106)

.

 

What's the correct way to resolve this issue? As without classloader we are getting the xercesImpl and xml-apis conflict which we need both of them. Thus xercesImpl is removed from the lib.

 

thanks

 

yodeny


Viewing all articles
Browse latest Browse all 87219

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>