Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: Problem with libraries in jvm/lib/ext directory
Feedback Type: Problem
Product Area: Domino Server
Technical Area: Application Development
Platform: Windows
Release: 8.5.1
Reproducible: Always

I've been trying to use Apache CXF when implementing a web service consumer, instead of the default axis ws stack in domino.
The problem is that domino loads the jar files from jvm/lib/ext before loading the jars in my script library.

The ext directory contains the file websvc.jar, which contains .class files for the package javax.wsdl. The problem is that CXF uses these classes, but requires a newer version of the classes in javax.wsdl.
In my script library I've added wsdl4j-1.6.2.jar, but the domino class loader still loads the wsdl classes from the ext directory (probably version 1.5.1 of wsdl4j).
When I run my agent i get the following error:

java.lang.IncompatibleClassChangeError
at org.apache.cxf.wsdl11.WSDLServiceBuilder.copyExtensionAttributes(WSDLServiceBuilder.java:135)
at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:275)
at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:186)
at org.apache.cxf.wsdl11.WSDLServiceFactory.create(WSDLServiceFactory.java:120)

However, if I put wsdl4j-1.6.2.jar in the jvm/lib/ext directory, the correct version of the wsdl classes are loaded.
My question is, is it a way to force domino to first load the jars from my script library before loading the classes in the jvm/lib/ext directory? I'd prefer to keep my project specific jars in a script library instead of copy jar files to the jvm/lib/ext directory.

Any help would be very appreciated!
//Olle


Feedback number WEBB8D3KR6 created by ~Xagra Chufreemarlen on 01/13/2011

Status: Open
Comments:

Problem with libraries in jvm/lib/e... (~Xagra Chufreem... 13.Jan.11)
. . Same problem - websvc.jar (~Emile Kiponema... 16.Feb.11)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS