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?).
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!
14:22:37,976 INFO [ConnectionFactoryBindingService] Bound ConnectionManager
'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name
'java:JmsXA'
14:22:38,035 INFO [TomcatDeployment] deploy, ctxPath=/
14:22:38,201 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console
14:22:38,369 INFO [TomcatDeployment] deploy, ctxPath=/xwiki
14:22:38,931 INFO [[/xwiki]] Loading plexus context properties from:
'/WEB-INF/plexus.properties'
14:22:38,939 INFO [[/xwiki]] Initializing Plexus.
14:22:38,941 INFO [[/xwiki]] resource =
jndi:/localhost/xwiki/WEB-INF/plexus.xml
14:22:39,826 INFO [[/xwiki]] Plexus initialized.
14:22:41,338 INFO [STDOUT] 2009-05-01 14:22:41,324 [] [main] ERROR
digester.Digester - Digester.getParser:
java.lang.ClassCastException: org.apache.xerces.jaxp.SAXParserFactoryImpl
cannot be cast to javax.xml.parsers.SAXParserFactory
at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
at
org.apache.commons.digester.Digester.getFactory(Digester.java:478)
at org.apache.commons.digester.Digester.getParser(Digester.java:683)
at
org.apache.commons.digester.Digester.getXMLReader(Digester.java:891)
--
View this message in context:
http://n2.nabble.com/XWIKI-installation-error-on-JBOSS-5.0.1--%21%21%21PLEA…
Sent from the XWiki- Users mailing list archive at
Nabble.com.