Unmanaged application is not finding ResourceBundle via a jar in the classpath in JBoss EAP 7

Solution Unverified - Updated -


  • When deploy our ear application unmanaged in JBoss, it is no longer finding our Resource bundle when we call ResourceBundle.getBundle("MyApp"). We are deploying the application ear as an unmanaged deployment via the management console as /home/jboss/apps/
Caused by: java.util.MissingResourceException: Can't find bundle for base name MyApp, locale en_US
    at java.base/java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:2055)
    at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1689)
    at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1593)
    at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1556)
    at java.base/java.util.ResourceBundle.getBundle(ResourceBundle.java:857)
    at deployment.myapp.ear.myFramework.jar//com.jboss.examples.util.MyResourceBundle.getBundle(MyResourceBundle.java:12)


Red Hat JBoss Enterprise Application Platform (EAP) 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In