cygent wrote:
> 
> Sergiu Dumitriu-2 wrote:
>>
>> This error suggests a problem with the libraries. Can you try to see if 
>> xerces also exist in the container's lib folder? Try to remove 
>> xercesImpl-2.8.1.jar from xwiki/WEB-INF/lib and restart.
>>
>>
> 
> Thanks for the reply Dumitriu!
> I have this file in the container 
> /usr/local/jboss.ga.5.0.1/lib/endorsed/xercesImpl.jar 
> (is that a correct location?).

Yes.

> After I removed the library
> /usr/local/jboss.ga.5.0.1/server/default/deploy/xwiki.war/WEB-INF/libxercesImpl-2.8.1.jar
> I've got the following error. Please advice me further!

> java.lang.ClassCastException: org.apache.xerces.jaxp.SAXParserFactoryImpl
> cannot be cast to javax.xml.parsers.SAXParserFactory

This is a classloader problem, now the two classes are in different 
classloaders, thus the error.

Try removing the xml-apis and xmlParserAPIs jars.
-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to