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

An underscore "_" in a jobname causes a null jobname error.

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

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 2.1.1
  • Fix Version/s: Bug Backlog
  • Component/s: Transport: Quartz
  • Labels:
    None
  • User impact:
    Medium
  • Configuration:
    Hide

    <quartz:connector name="MyTimer" />

    Show
    <quartz:connector name="MyTimer" />
  • Similar Issues:
    None

Description

Using an underscore in a job name, as below:

<quartz:inbound-endpoint name="TimerTester"
jobName="job_one"
connector-ref="MyTimer"
cronExpression="0 0/2 6-20 * * ?">

</quartz:inbound-endpoint>

Causes Mule startup to fail with this error:

ERROR 2008-11-21 09:30:32,802 [WrapperListener_start_runner] org.mule.MuleServer:
********************************************************************************
Message : Failed to start Quartz receiver
Type : org.mule.api.endpoint.EndpointException
Code : MULE_ERROR-60042
JavaDoc : http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/endpoint/EndpointException.html
********************************************************************************
Exception stack is:
1. Job name cannot be empty. (java.lang.IllegalArgumentException)
org.quartz.JobDetail:178 (http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalArgumentException.html)
2. Failed to start Quartz receiver (org.mule.api.endpoint.EndpointException)
org.mule.transport.quartz.QuartzMessageReceiver:150 (http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/endpoint/EndpointException.html)
********************************************************************************
Root Exception stack trace:
java.lang.IllegalArgumentException: Job name cannot be empty.
at org.quartz.JobDetail.setName(JobDetail.java:178)
at org.mule.transport.quartz.QuartzMessageReceiver.doStart(QuartzMessageReceiver.java:70)
at org.mule.transport.AbstractConnectable.start(AbstractConnectable.java:289)
at org.mule.service.AbstractService.startListeners(AbstractService.java:654)
at org.mule.service.AbstractService.start(AbstractService.java:347)
at org.mule.service.AbstractService.start(AbstractService.java:297)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.mule.lifecycle.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:274)
at org.mule.lifecycle.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:130)
at org.mule.lifecycle.GenericLifecycleManager.firePhase(GenericLifecycleManager.java:85)
at org.mule.DefaultMuleContext.start(DefaultMuleContext.java:164)
at org.mule.MuleServer.run(MuleServer.java:259)
at org.mule.MuleServer.start(MuleServer.java:244)
at org.mule.module.boot.MuleServerWrapper.start(MuleServerWrapper.java:48)
at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)

********************************************************************************

ERROR 2008-11-21 09:30:32,843 [WrapperListener_start_runner] org.mule.MuleServer:
********************************************************************************

  • A Fatal error has occurred while the server was running: *
  • Job name cannot be empty. (java.lang.IllegalArgumentException) *
  • *
  • The error is fatal, the system must shutdown *
  • Server started: 11/21/08 9:30 AM *
  • Server shutdown: 11/21/08 9:30 AM *
    ********************************************************************************

Whereas setting the jobname like this:

<quartz:inbound-endpoint name="TimerTester"
jobName="jobone"
connector-ref="MyTimer"
cronExpression="0 0/2 6-20 * * ?">

</quartz:inbound-endpoint>

works fine.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds

CE Bamboo View RSS feed

People

  • Assignee:
    Unassigned
    Reporter:
    Rick Otten
Vote (0)
Watch (0)

Dates

  • Created:
    21/Nov/08 08:34 AM
    Updated:
    10/Dec/08 03:37 AM

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.