I have a groovy script which runs fine when logged in interactively on a Windows 2003 R2 box. When I schedule this as a batch job through Tivoli Workload Scheduler (TWS) the script does not run but returns "finish HighVolumeLetters.groovy for High Volume Letters - rc -1073741819".
I've looked for this RC and it seems to be same kind of access violation message. Other jobs I run on this box through TWS run perfectly, and if I do not specify a class path with the -cp options, the groovy script is fine as well.
It's just when I specify a classpath using -cp is when it fails.