I'm trying to use the latest version of Castor in my web application to map objects to and from XML. By default JBoss is configured to use Crimson for its XML parser and in order to use Castoer I need to use the Xerces parser. Instead of reconfiguring JBoss, I want to reconfigure the classloading for my application to be scoped to my .ear file. That way my application can run regardless of the JBoss configuration.
I have created a jboss-app.xml file with the following contents: <jboss-app> <loader-repository>my.loader:loader=picturesite.ear</loader-repository> </jboss-app> The Xerces and Castor jars are located in the lib directory of my .war file. The .war is bundled in my .ear using the standard application.xml file. The jboss-app.xml file is located in the meta-inf directory of the .ear file next to the application.xml. As far as I can tell from the docs I have, that is all I need to do to make this work. However, I'm still having classloading problems. I'm getting ClassDefNotFoundErrors because it can't find some of the Xerces classes. Any suggestions? It is possible to do what I'm trying to do right? TIA, -Brent ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
