Announcement Announcement Module
Collapse
No announcement yet.
Spring Batch Programs in a JAR Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Batch Programs in a JAR

    Hi,

    How to run spring batch programs in a JAR(Spring Batch project exported as JAR) from command line and also in AUTOSYS scheduler.

    I developed my SpringBatch programs in Eclipse and exported the project into a JAR. (This is my requirement)

    Now, when i try to run the sample batch from command line, nothing happens.

    java -jar springBatch.jar sampleBatch.xml sampleBatch (First assumed command line job runner entry will be in manifest file)

    and also tried

    java org.springframework.batch.core.launch.support.Comm andLineJobRunner sampleBatch.xml sampleBatch

    Thanks
    Mahesh
    Last edited by MaheshRM; Apr 17th, 2010, 05:35 AM.
Working...
X