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-4705

PrompotStdioConnector is unable to load user ResourceBundle when using hot deployment

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

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 3.0.0-M1, 2.2.5 (EE only), 3.0.0-M2
  • Fix Version/s: ITR30, 2.2.6 (EE only)
  • Component/s: Examples / Tutorials, Transport: Stream (System.in/out)
  • Labels:
    • hd-classloader-issues
  • User impact:
    High
  • Log Output:
    Hide
    Exception in thread "Thread-2" java.util.MissingResourceException: Can't find bundle for base name messages.hello-example-messages, locale en_US
    at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836)
    at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:805)
    at java.util.ResourceBundle.getBundle(ResourceBundle.java:699)
    at org.mule.config.i18n.MessageFactory.getBundle(MessageFactory.java:209)
    at org.mule.config.i18n.MessageFactory.getString(MessageFactory.java:179)
    at org.mule.config.i18n.MessageFactory.getString(MessageFactory.java:143)
    at org.mule.transport.stdio.PromptStdioConnector$StdioMessageFactory.getString(PromptStdioConnector.java:257)
    at org.mule.transport.stdio.PromptStdioConnector.getPromptMessage(PromptStdioConnector.java:107)
    at org.mule.transport.stdio.StdioMessageReceiver$DelayedMessageWriter.run(StdioMessageReceiver.java:200)

    Exception in thread "Thread-4" java.util.MissingResourceException: Can't find bundle for base name messages.stockquote-example-messages, locale en_US
    at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836)
    at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:805)
    at java.util.ResourceBundle.getBundle(ResourceBundle.java:699)
    at org.mule.config.i18n.MessageFactory.getBundle(MessageFactory.java:209)
    at org.mule.config.i18n.MessageFactory.getString(MessageFactory.java:179)
    at org.mule.config.i18n.MessageFactory.getString(MessageFactory.java:143)
    at org.mule.transport.stdio.PromptStdioConnector$StdioMessageFactory.getString(PromptStdioConnector.java:257)
    at org.mule.transport.stdio.PromptStdioConnector.getPromptMessage(PromptStdioConnector.java:107)
    at org.mule.transport.stdio.StdioMessageReceiver$DelayedMessageWriter.run(StdioMessageReceiver.java:200)
    Show
    Exception in thread "Thread-2" java.util.MissingResourceException: Can't find bundle for base name messages.hello-example-messages, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:805) at java.util.ResourceBundle.getBundle(ResourceBundle.java:699) at org.mule.config.i18n.MessageFactory.getBundle(MessageFactory.java:209) at org.mule.config.i18n.MessageFactory.getString(MessageFactory.java:179) at org.mule.config.i18n.MessageFactory.getString(MessageFactory.java:143) at org.mule.transport.stdio.PromptStdioConnector$StdioMessageFactory.getString(PromptStdioConnector.java:257) at org.mule.transport.stdio.PromptStdioConnector.getPromptMessage(PromptStdioConnector.java:107) at org.mule.transport.stdio.StdioMessageReceiver$DelayedMessageWriter.run(StdioMessageReceiver.java:200) Exception in thread "Thread-4" java.util.MissingResourceException: Can't find bundle for base name messages.stockquote-example-messages, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:805) at java.util.ResourceBundle.getBundle(ResourceBundle.java:699) at org.mule.config.i18n.MessageFactory.getBundle(MessageFactory.java:209) at org.mule.config.i18n.MessageFactory.getString(MessageFactory.java:179) at org.mule.config.i18n.MessageFactory.getString(MessageFactory.java:143) at org.mule.transport.stdio.PromptStdioConnector$StdioMessageFactory.getString(PromptStdioConnector.java:257) at org.mule.transport.stdio.PromptStdioConnector.getPromptMessage(PromptStdioConnector.java:107) at org.mule.transport.stdio.StdioMessageReceiver$DelayedMessageWriter.run(StdioMessageReceiver.java:200)
  • Similar Issues:
    None

Description

This affects the Hello and Stockquote examples and probably others as well.

Issue Links

blocks

Task - A task that needs to be done. MULE-4710 Release 3.0-M2

  • Critical - Crashes, loss of data, severe memory leak.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds
Hide
Permalink
Travis Carlson added a comment - 06/Jan/10 12:00 PM

Set priority as Major because we could work around this by just removing the i18n from these examples.

Show
Travis Carlson added a comment - 06/Jan/10 12:00 PM Set priority as Major because we could work around this by just removing the i18n from these examples.
Hide
Permalink
Dirk Olmes added a comment - 16/Mar/10 12:10 AM

This is a classloader issue: the stdio connector is configured to load messages from the example's jar. The connector, however, uses its own classloader to load the messages, not the classloader of the example (which is a different one in this hot deployment scenario) and thus cannot find the messages file.

Show
Dirk Olmes added a comment - 16/Mar/10 12:10 AM This is a classloader issue: the stdio connector is configured to load messages from the example's jar. The connector, however, uses its own classloader to load the messages, not the classloader of the example (which is a different one in this hot deployment scenario) and thus cannot find the messages file.
Hide
Permalink
Daniel Feist added a comment - 16/Mar/10 03:23 PM - edited

2.2.x: http://fisheye.codehaus.org/changelog/mule/branches/mule-2.2.x?cs=16855
3.x: http://fisheye.codehaus.org/changelog/mule/branches/mule-3.x?cs=16856

Show
Daniel Feist added a comment - 16/Mar/10 03:23 PM - edited 2.2.x: http://fisheye.codehaus.org/changelog/mule/branches/mule-2.2.x?cs=16855 3.x: http://fisheye.codehaus.org/changelog/mule/branches/mule-3.x?cs=16856

People

  • Assignee:
    Daniel Feist
    Reporter:
    Travis Carlson
Vote (0)
Watch (0)

Dates

  • Created:
    06/Jan/10 11:59 AM
    Updated:
    17/Mar/10 01:14 PM
    Resolved:
    16/Mar/10 03:37 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.