What does the code which tries to load that XML, look like? If you want the XMLs to be part of the classpath then a better place is JBOSS_HOME/server/< servername>/conf folder.
I want to provide this file with my WAR as a package and want to use in my WAR only. I am using following standard code to load XML file;
String exampleFilePath = "../examples/ofs-examples.xml"; <-- This path is relative to my WAR file like we use in our JSP pages for redirection
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
DocumentBuilder db = dbf.newDocumentBuilder();
Document doc = db.parse(exampleFilePath);