On Dec 28, 2007 1:40 PM, jleonar <[EMAIL PROTECTED]> wrote:

> I have some custom code deployed within Liferay(4.3.x) running on Geronimo
> 1.1
>
> The custom code uses xercesImpl-2.8.0 or higher.  Geronimo 1.1 uses
> xercesImpl-2.6.2.  So my code breaks because it is always using the
> xercesImpl-2.6.2 instead of the xercesImpl-2.8.0 jar that I have in the
> sharedlib folder.

>     <hidden-classes>
>         <filter>org.apache.xerces</filter>
>     </hidden-classes>
>                 <dependencies>
...
>                         <dependency>
>                                 <artifactId>sharedlib</artifactId>
>                         </dependency>

Can you try out <inverse-classloading /> instead? Is xerces in
WEB-INF/lib directory of Liferay? What's the stack trace when
Geronimo's Xerces hides the proper classes?

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl

Reply via email to