Using POJO_JOB to submit an Openshift job to an Openshift environment. POJO_WOB submits job to Openshift then fails with cc=1:
POJO_JOB TEST
...............
CLASSNAME com.ca.cloud.oc.OpenShift
METHOD monitorJob
....
PARAMETER TYPE(String) VALUE(c:\XXX\Test\+
token.txt)
.....
PARAMETER TYPE(String) VALUE(c:\XXX\Test\+
case_batch_job.yaml)
.......
ENDJOB
This message is found in the logs:
Illegal character in opaque part at index 5:file:<your url>\Test\\case_batch_job.yaml@at java.net.URI$Parser.fail(URI.java:2848)@at
Release : 12.0
Component: ESP Workload Automation
The files are on a NAS shared drive, should use “file:/d:/DATA/Apps/Test/”, like below:
PARAMETER TYPE(String) VALUE(file:/d:/DATA/Apps/Test/+
token.txt)
.....
PARAMETER TYPE(String) VALUE(file:/d:/DATA/Apps/Test/+
case_batch_job.yaml)
The file name value should follow the URL standard:
It should be:
file:/// -- when there is no host
or:
file:/ --- when there is a host
If this is Windows, then include the drive. Example:
file:///c:/XXX/Test/token.txt
or
file:/c:/XXX/Test/token.txt
Note: Similar can be used also for mapped shared drive.