JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Use Agile By Default
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Create Issue
  • Mule
  • MULE-5575

Polling receivers use wrong classloader when running in Mule standalone

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker 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

Bug - A problem which impairs or prevents the functions of the product. MULE-5579 FTP connector scheduler threads is missing app prefix in the name

  • Minor - Minor loss of function, or other problem where easy workaround is present.
  • Open - The issue is open and ready for the assignee to start work on it.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds
Hide
Permalink
Dirk Olmes added a comment - 25/May/11 09:52 AM

Do you include your own MessageFactory subclass in the app? The examples work fine picking up localized messages from their class loader.

Show
Dirk Olmes added a comment - 25/May/11 09:52 AM Do you include your own MessageFactory subclass in the app? The examples work fine picking up localized messages from their class loader.
Hide
Permalink
Roko Kruze added a comment - 25/May/11 10:03 AM

Yes, you can take a look at the project where I got this error here: https://github.com/mulesoft/mule-module-datapack

My message class is here: https://github.com/mulesoft/mule-module-datapack/blob/master/src/main/java/org/mule/module/datapack/i18n/DataPackMessages.java

Show
Roko Kruze added a comment - 25/May/11 10:03 AM Yes, you can take a look at the project where I got this error here: https://github.com/mulesoft/mule-module-datapack My message class is here: https://github.com/mulesoft/mule-module-datapack/blob/master/src/main/java/org/mule/module/datapack/i18n/DataPackMessages.java
Hide
Permalink
Andrew Perepelytsya added a comment - 26/May/11 01:02 PM

3.x: http://fisheye.codehaus.org/changelog/mule/?cs=21985
3.1.x: http://fisheye.codehaus.org/changelog/mule/?cs=21986
3.1.2: http://fisheye.codehaus.org/changelog/mule/?cs=21987

Show
Andrew Perepelytsya added a comment - 26/May/11 01:02 PM 3.x: http://fisheye.codehaus.org/changelog/mule/?cs=21985 3.1.x: http://fisheye.codehaus.org/changelog/mule/?cs=21986 3.1.2: http://fisheye.codehaus.org/changelog/mule/?cs=21987
Hide
Permalink
Santiago Vacas added a comment - 27/May/11 10:30 AM

just to change fix version to 3.1.3

Show
Santiago Vacas added a comment - 27/May/11 10:30 AM just to change fix version to 3.1.3

People

  • Assignee:
    Mike Schilling
    Reporter:
    Roko Kruze
Vote (0)
Watch (0)

Dates

  • Created:
    24/May/11 12:26 AM
    Updated:
    17/Oct/11 06:39 PM
    Resolved:
    17/Oct/11 06:39 PM

Agile

  • View on Board
  • Atlassian JIRA (v5.0.7#734-sha1:8ad78a6)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for MuleForge. Try JIRA - bug tracking software for your team.