Announcement Announcement Module
No announcement yet.
Making a batch job as Launchable from Spring Batch admin console Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Making a batch job as Launchable from Spring Batch admin console

    I have a batch job defined in spring xml file. I have placed these xml file under META-INF\spring\batch\jobs. When i start my jboss server and clicks on jobs menu using spring batch admin console, it shows me my newly added job. I can check it status ,whether it is running, started or stopped.But i cannot launch this batch job from admin console. The value of Launchable attribute is false. What configuration changes are required so that i can launch my batch job from admin console?
    i am attaching my job context xml file and admin console screen shot for reference.

  • #2
    Launchable false means that spring batch knows about that job name because it has some metadata on db or something like that but it has not found such a job in the registry. This may happen when you deploy a job, run some instances on a given database and then remove the job. The job execution metadata are still there but you can't start any new instance since the job definition is not available anymore.

    Double-check that your job configuration file is in the WAR at the proper location.