WA SAP Plugin: Jobs are delayed and take long time to complete
search cancel

WA SAP Plugin: Jobs are delayed and take long time to complete

book

Article ID: 201648

calendar_today

Updated On:

Products

CA Workload Automation DE - Business Agents (dSeries) CA Workload Automation DE DSERIES- SERVER CA Workload Automation DE - System Agent (dSeries) CA Workload Automation DE - Scheduler (dSeries)

Issue/Introduction

The SAP jobs may sometimes stay in READY or WAIT state.  The agent logs show timeout errors from SAP.
XX/XX/2020 00:00:12.345-0400 2 TCP/IP Controller Plugin.Transmitter pool thread <Regular:1>.CybTargetHandlerChannel.call[:782] - Message has been sent: 20200929 10131684+0400 CATEST AGENT_SAP SAP1234/SAP_JOBS.25/MAIN STATE UNKNOWN Status(Unknown) LStatus(SAP did not respond. Request processing timed out.)  Plugin(sap) User(AGENT_SAP) Host(TESTHOST)
........

XX/XX/2020 00:00:12.345-0400 1 main.Monitor:-1234567891234567893.CybSAPJobManager.requestProcessedNotify[:1102] - About to reply to the Error <300>
XX/XX/2020 00:00:12.345-0400 1 main.Monitor:-1234567891234567893.CybSAPJobManager.shouldResubmit[:1280] - cybermation.plugins.sap.communicator.CybSAPException: Job <> not found. Retrying ....
at cybermation.plugins.sap.communicator.CybSAPJobManager.getSAPJob(CybSAPJobManager.java:4894)
at cybermation.plugins.sap.communicator.CybSAPJobManager.shouldResubmit(CybSAPJobManager.java:1263)
..........
XX/XX/2020 00:00:12.345-00400 3 main.Monitor:-1234567891234567893.CybSAPJobManager.requestProcessedNotify[:1120] - Check if the error <300> is related to connection...

 

Environment

Release : 11.x, 12.x

Component : WORKLOAD AUTOMATION AGENT FOR SAP

Cause

The WA Agent for SAP may have timeout problems when communicating with SAP.

Resolution

Check to make sure that WA Agent has good connectivity with SAP host.

Add the following parameter in the agentparm.txt and restart the agent.  The default value for the setting is 60 seconds.  Increase the wait period to 120 seconds or 180 seconds.

sap.connection.wait.sec=120

Additional Information

Refer to this link for more details on the parameter.