Skip to Content
0
Former Member
Feb 29, 2008 at 03:55 AM

Configuring class loader?

37 Views

G'day,

I am having an issue with the class loader in Netweaver AS Java.

I have deployed a library that contains two jars: one for SAML, and one for DOM (level 3).

My library calls the SAML code, which tries to use some DOM code, but the DOM library in sapxmltoolkit library gets called instead. This DOM library is level 2 (not level 3) and I get an "abstract method error" exception. If I take the DOM library out my SDA and put into into jre/lib/endorsed then the application succeeds.

Modifying jre/lib/endorsed is not an option for production, so is there a way to configure the Netweaver classloader so that the DOM jar in my library gets loaded before the DOM library in sapxmltoolkit?

Geoff