Issue Involving JAR Files Conflict and Endorsed Standards Override Mechanism

E

E11

Hi guys,

The environment is WebLogic Server 8.1, JDK 1.4.

i have two web applications (WAR) that i need to be deployed, let's
call them WAR1 and WAR2.

WAR1 requires the use of Xalan 2 and Xerces 2, hence i need to override
the endorsed standard by placing serializer.jar, xalan.jar,
xercesImpl.jar and xml-apis.jar in the JDK endorsed directory.

WAR2 requires (and comes with) bcel.jar in its WEB-INF/lib.


Now the problem is that xalan.jar also comes with its own bcel package
(BCEL ver 5.0 rc1), and the bcel.jar that is included in WAR2 is ver
5.1. This therefore causes a problem when the application WAR2 tries to
use some BCEL classes (NoSuchMethodError).

i suppose this could be because
- there are some methods in ver 5.1 which were not present in ver 5.0
rc1, or
- simply due to two conflicting libraries present.


Any suggestion on how i can get around this?



TIA and Regards,
Edwin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top