Calling factory.createCache("/META-INF/jboss-cache.xml"); would say that it can't find the file, and when I come to XmlConfigurationParser.getAsInputStreamFromClassLoader(String filename) the Thread.currentThread().getContextClassLoader().getResourceAsStream(filename); call returns null indeed, but getClass().getResourceAsStream(filename); opens the stream OK.
Is it so by design, or perhaps the getAsInputStreamFromClassLoader() method should check both classloaders? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052423#4052423 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052423 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user