I'm launching the default server configuration for a clean JBoss 5.0.0.GA installation and deploying continuum.war into the deploy/ directory.
Having tried to adapt the instructions for 4.x.x here:
, I've set up data sources and made the derby jar available.
When I start the server or redeploy, I get a ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to javax.xml.parsers.DocumentBuilderFactory
I tried removing log4j and some of the xml-related jars as described in the Archiva/JBoss doc here:
This gets me further, but fails with the same error when loading spring context configuration further down the road.
I've also tried removing xalan/xerces and letting it use the default endorsed version supplied by JBoss, this gives me different ClassLoader errors, at which point I gave up and began writing my findings here.
I'm guessing it's a fairly simple classloader issue with xalan and xerces, but it's got me stumped. Any hints? I've tried it with v1.3.1 as well, with the same result.