Application begins throwing repeat java.util.MissingResourceExceptions

Solution Verified - Updated -

Issue

  • Our application works without issue for some time, but then we start to see recurring java.util.MissingResourceExceptions like below until restarting the JVM:
2024-08-21 09:27:57,751 ERROR [stderr] (default task-198) Caused by: java.util.MissingResourceException: Can't find bundle for base name com.app.MyBundle, locale en_CA
2024-08-21 09:27:57,751 ERROR [stderr] (default task-198)   at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1581)
2024-08-21 09:27:57,751 ERROR [stderr] (default task-198)   at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1396)
2024-08-21 09:27:57,751 ERROR [stderr] (default task-198)   at java.util.ResourceBundle.getBundle(ResourceBundle.java:782)

Environment

  • Java
  • JBoss Enterprise Application Platform (EAP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content