Issues with loading resources from jar file using class loader in JBoss EAP
Issue
- We are moving from JBoss EAP 4.3 to 6.2.3. We are facing an issue with resource loading. We had some code already which was loading an image using the following. The same application seems to work on a Windows system but not a Unix system.
this.getClass ( ).getClassLoader ( ).getResourceAsStream ( image );
Environment
Red Hat JBoss Enterprise Application Platform (EAP)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
