I have a WAR that I have deployed to JBoss 7 that dynamicially loads jar resources using its context class loader.
final ClassLoader cl = Thread.currentThread().getContextClassLoader();
propertiesUrls = cl.getResources(TRANSLATION_PROPERTIES);
However the context classloader only looks for resources in the WEB-INF/lib folder
ModuleClassLoader for Module "deployment..war:main" from Service Module Loader
How do I get hold of a classloader for a specific module in jboss that I have the resources in. I have the jars that i need to load in a custom module in JBOSS_HOME/modules/org/custom/...