Search code examples
webspherewebsphere-libertyjsr352

How do I restart a failed JSR-352 job running in Liberty through Eclipse / WDT?


While running the Java EE Batch job through eclipse, it is creating a new instance of it.

I wanted to re-run the failed instance so that it can use checkpoint information to resume from the failed point.


Solution

  • Step 1: Deploy Application into Liberty server.
    Step 2: Run the batchManger.bat file from cmd, which can find under bin folder of your local server

    .\batchManager.bat restart --batchManager=localhost:9443 --user=admin --password=P@ssw0rd --applicationName=your-app-Name --jobXMLName=XXXX.xml --wait --trustSslCertificates