Announcement Announcement Module
Collapse
No announcement yet.
BatchCommandLineLauncher and JobLauncher Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • BatchCommandLineLauncher and JobLauncher

    Hello,

    When I attempt to execute a job using BatchCommandLineLauncher I'm getting a NoSuchJobConfigurationException from the JobLauncher I have defined in my batch environment xml files (I'm using a SimpleJobLauncher with a MapJobConfigurationRegistry).

    I assume the issue is that although the command line launcher is aware of my job (I'm explicitly setting job.configuration.path and job.name before execution) the job configuration doesn't appear in the configuration registry so the JobLauncher can't find it.

    Any suggestions how I might fix this?

  • #2
    Have you added the JobConfigurationRegistryPostProcessor to your job configuration files?

    As a sidenote, this should no longer be required when namespaces are introduced as part of M4.

    Comment

    Working...
    X