AutoSys can get the failure in Java application

Categories: Java; Tagged with: ; @ January 4th, 2013 19:07

Problem:  Java application invoke SSIS package using ‘Process’, when the package failed, Auto-sys treat as success.

Solution: When ‘Process’ exit with a non-zero status code:

System.exit(10); // by convention, a nonzero status code indicates abnormal termination.

(Actually, we can config this status in Auto-Sys)

http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/System.html#exit(int)

 

Auto-sys Reference Guide:

http://totalcomputerps.com/mdpilarf/UAJM_Ref_ENU.pdf

<->



// Proudly powered by Apache, PHP, MySQL, WordPress, Bootstrap, etc,.