Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 3.1.2
-
Fix Version/s: ION Release 8, 3.1.3 (EE only), 3.2.0
-
Component/s: Core: Bootstrap / Standalone
-
Labels:None
-
User impact:High
-
Similar Issues:None
Description
I included a Mule module which uses the MessageFactory as part of throwing exceptions. However when I run into an exception I get: java.util.MissingResourceException: Can't find bundle for base name META-INF.services.org.mule.i18n.datapack-messages, locale en_US
The reason for this is that it is looking for this resources in the classloader which doesn't include the app. If I move the jar into the lib/user section of Mule then it works as expected.
Issue Links
- relates to
-
MULE-5579
FTP connector scheduler threads is missing app prefix in the name
-
Do you include your own MessageFactory subclass in the app? The examples work fine picking up localized messages from their class loader.