geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jleonar <jleo...@gmail.com>
Subject Re: Geronimo with Liferay library conflict
Date Fri, 28 Dec 2007 16:42:59 GMT

Xerces is in the WEB-INF/lib folder under liferay.

I get the same stacktrace whether i use the hide classes or the inverse
classloading or both.

This is what I get.

java.lang.AbstractMethodError:
javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V
	org.opensaml.XML$ParserPool.<init>(Unknown Source)
	org.opensaml.XML.<clinit>(Unknown Source)
	org.opensaml.SAMLObject.fromStream(Unknown Source)
	org.opensaml.SAMLResponse.<init>(Unknown Source)

The error is resolved by replacing the xercesImpl jar in the "geronimo
home"/lib/endorsed/ directory.

I just can't seem to get liferay to use the correct version of xerces with
geronimo.




Jacek Laskowski wrote:
> 
> On Dec 28, 2007 1:40 PM, jleonar <jleonar@gmail.com> 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
> 
> 

-- 
View this message in context: http://www.nabble.com/Geronimo-with-Liferay-library-conflict-tp14525371s134p14528039.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message