cancel
Showing results for 
Search instead for 
Did you mean: 

Redwood Script - "JCS-108003" Error

tejmannava
Explorer
0 Kudos

I am getting the below error message while copying files between directories located on the DMZ. We are using a Redwood script to copy files as the file should be copied only if it not available in the destination or archive folders.

Error Message:"JCS-108003: The specified job-file (ID: xx,xxx,xxx) cannot be retrieved at this time. Please try again later."

I wanted to catch this exception in the Redwood script. I am using the exception, "com.redwood.scheduler.api.exception.JobFileException", to catch but no luck.

Please advise on the package/class/method I have to use to catch this exception.

Appreciate your help !!

Thanks,

Accepted Solutions (0)

Answers (1)

Answers (1)

nanda_kumar21
Active Contributor
0 Kudos

From the troubleshooting guide for the error JCS-108003:

 

No backend could retrieve the job-file, but at least one backend reported a transient

failure. This indicates that the same request might succeed in the future.

Can you please check the operator message for any communication error. Telnet if possible?

tejmannava
Explorer
0 Kudos

Thank you for the quick reply.

Yes there is a communication error, and is expected as the remote server from where we are copying files is very slow in response, which is why I want to catch the exception to ignore it.

Operator Message:

JCS-116012: Warning: Transient communication failure: HTTP response code: 500

Message Trace:
com.redwood.scheduler.jobservice.remote.HTTPResponseException: HTTP response code: 500

Stack Trace:
com.redwood.scheduler.jobservice.remote.HTTPResponseException: HTTP response code: 500
at com.redwood.scheduler.jobservice.remote.PlatformAgentService.sendRequest(PlatformAgentService.java:1550)
at com.redwood.scheduler.jobservice.remote.PlatformAgentReplyPoller.onMessage(PlatformAgentReplyPoller.java:93)
at com.redwood.scheduler.infrastructure.work.MessageEnabledWork.run(MessageEnabledWork.java:107)
at com.redwood.scheduler.infrastructure.work.WorkerImpl.run(WorkerImpl.java:140)
at java.lang.Thread.run(Thread.java:770)