Hi guys! I got following problem: My app validates xml with dom4j using xerces parser. However one of the xerces libs that come with the JBoss distribution gets in the way and validation fails even though xml is correct. Now my question: How can I make sure, that my app uses the xerces lib that I want it to use? I know I can set JBOSS_CLASSPATH on startup and include my libs, that works, but is not very elegant and might produce even more classloader problems I'm unaware of right now.