Hi guys,
i'm having an issue here which is not exactly an issue with Xalan itself, but its due to the BCEL library that Xalan comes bundled with, so am wondering if anyone has faced this before.
The background is that i'm running WebLogic Server
8.1 (on JDK 1.4).
i need to deploy two web applications (WAR) on the app server.
In web application 1,
i need to make use of Xalan, and since i'm running JDK 1.4, i'll have to override the endorsed standards by placing
serializer.jar, xalan.jar, xercesImpl.jar and xml-apis.jar in the JDK endorsed directory. Now, the xalan.jar comes bundled with the BCEL package, which is, according to the manifest, BCEL version 5.0 rc1.
In web application 2,
the problem is that here, there is a dependency on BCEL version 5.1. Now even though this web application has its own copy of bcel.jar in its WEB-INF/lib, the VM (rightly) loads from the BCEL package in the endorsed directory. This caused a NoSuchMethodError when trying to execute one of the methods in the BCEL package. (i looked up the source for BCEL
5.0 rc1, and indeed the method was not in that version.)
Has anyone ever experienced this? How do you get around it?
Thanks in Advance,
Edwin
- Library Conflict Involving BCEL Library Edwin Lee
- Re: Library Conflict Involving BCEL Library Erin Harris
- Re: Library Conflict Involving BCEL Library Edwin Lee
- Re: Library Conflict Involving BCEL Library Erin Harris
- Re: Library Conflict Involving BCEL Library Eric Everman