Dec 24th, 2007, 10:09 AM
BatchCommandLineLauncher and JobLauncher
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?
Dec 26th, 2007, 02:18 PM
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.