I Know ....It gave me headache too .From what I gathered -for some reasons Jboss is no letting Tomcat load the xml files in WEB-INF(may be). What u have to do is to copy the xml files in WEB-INF\classes than u HAVE to use
URL url = Thread.currentThread().getContextClassLoader().getResource(" .xml").IN get Resource put just the name of the xml file not the URL ex: getResource("mappings.xml")
Thank You. I fixed meantime, I found out that if You are not converting the URL to string and use only URL is working great.