-
Dec 24th, 2007, 10:09 AM
#1
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?
-
Dec 26th, 2007, 02:18 PM
#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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules