We're having problems to load an XSL from and EJB using standard classloader method : InputStream is = ClassLoader.getSystemResourceAsStream("org/xxx/myxsl.xsl"); Is there any special manner to do this in WebSphere v5.1 ? Thanks in advance. -- Martin
Thanks for your response. Yes, of course, I can put the name of the exception, is very known. NullPointerException. It's thrown because getSystemResource() can't find the xsl file. Also, you can be sure that the xsl file is within the .jar file. The code works without any problem outside of WebSphere Application Server. Thanks Martin
You may want to look at your classloader policy and make sure the app has access to the jar file where it is loaded. I would try changing your server application classloader policy through the admin console from module to application.