jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Morse <rmo...@mdesignz.com>
Subject JBoss 5 ClassCastException
Date Tue, 13 Jan 2009 21:34:35 GMT
Just starting out with Jackrabbit, and have successfully deployed  
under JBoss 4.2.3.GA per the Wiki. ( http://wiki.apache.org/jackrabbit/JackrabbitOnJBoss 
  )
Moving to a fresh install of JBoss 5, however results in the following  
exceptions:

13:55:12,311 INFO  [TomcatDeployment] deploy, ctxPath=/jackrabbit- 
server, vfsUrl=jackrabbit-server.war
13:55:13,011 ERROR [JBossContextConfig] XML error parsing: context.xml
org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new  
SAX parser
	at org.jboss.xb.binding.UnmarshallerFactory 
$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)
	at org.jboss.web.tomcat.service.deployers.JBossContextConfig.processContextConfig 
(JBossContextConfig.java:552)
	at  
org 
.jboss 
.web 
.tomcat 
.service.deployers.JBossContextConfig.init(JBossContextConfig.java:538)

Caused by: org.jboss.xb.binding.JBossXBException: Failed to create a  
new SAX parser
	at  
org 
.jboss 
.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:97)
	at org.jboss.xb.binding.UnmarshallerImpl.<init>(UnmarshallerImpl.java: 
56)
	at org.jboss.xb.binding.UnmarshallerFactory 
$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:96)
	... 62 more

Caused by: java.lang.ClassCastException:  
org.apache.xerces.parsers.XIncludeAwareParserConfiguration
	at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
	at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.<init>(Unknown  
Source)
	at org.apache.xerces.jaxp.SAXParserImpl.<init>(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown  
Source)
	at  
org 
.jboss 
.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:92)

I'm guessing a class loader issue, but not sure how to fix it.    
Suggestions?


Mime
View raw message