Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 90168

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

$
0
0

Hi Wasil,

 

Thanks so much for this info. I've been looking for a tool to test the server that they just installed. I'll definitely try this when I'm back to the office.

 

On other side, all the required jars are already in the WAR lib. Except that I can't include the xercesImpl.jar as it causes conflict the xml-apis.jar (which is more needed, and xml-apis also bundled with xerces classes).

I'm using SOAP to connect to the server:

es4prop.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_SOAP_ENDPOINT, serverurl);

es4prop.setProperty(ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL,ServiceClientFac toryProperties.DSC_SOAP_PROTOCOL);          

es4prop.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE,serverType);

es4prop.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME, username);

es4prop.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD, password);

 

I don't quite understand the error log, but I don't think this 404 caused by SOAP connection issue though.

I'm thinking the error caused by the classloader failed to load the lib from the custom context and I'm trying to find a way to test it.

I'll definitely test the the FORM IVS to make sure the server indeed correctly installed.

 

Kind regards,

 

yodeny


Viewing all articles
Browse latest Browse all 90168

Trending Articles



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