Hi,

When deploying an EAR in WL6.1sp1, I noticed that
when using the same library in both the EAR as well
as in the WEB-INF/lib directory, the classloader of
the WAR file uses not the library from the WEB-INF
location but from the EAR.
No great problem there, except when using libraries
that instantiate classes, like castor. This tool
complains about not able to load classes, which
are in the webapp.war, which shouldn't be the case
if the library from WEB-INF/lib is used.

This is the structure:

EAR
\ webapp.war
\ common.jar
\ castor-xml.jar

webapp.war
\ WEB-INF/lib/castor-xml.jar
\ WEB-INF/classes/...

Any suggestions anybody? Is this a bug?

Reply via email to