search cancel

CONNECTIVITY ISSUE USING SAP PLUG IN: Exception com.sap.conn.jco.JCoException: 102 JCO_ERROR_COMMUNICATION

book

Article ID: 228895

calendar_today

Updated On:

Products

CA Workload Automation AE CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation DE - Business Agents (dSeries)

Issue/Introduction

We are getting connection error while install the latest Agent 12.0 and its sap plugin using sap.cfg 

  1. Error: Not Connected - Exception com.sap.conn.jco.JCoException: 102 JCO_ERROR_COMMUNICATION: Connect to message server host failed Connection parameters: TYPE=B DEST=CYB:001:EN:CAYBAT MSHOST=cybci01.xxx.com R3NAME=CYB GROUP=CYB PCS=1
  2. ERROR service sapmsCYB unknown
  3. TIME Sat Nov 20 11:56:30 2021
  4. RELEASE 720
  5. COMPONENT NI network interface
  6. VERSION 40
  7. RC -3
  8. MODULE niuxi.c
  9. LINE 1814
  10. DETAIL NiPGetServByName: sapmsCYB not found
  11. SYSTEM CALL getaddrinfo
  12. COUNTER 1

 

Cause

The server is unable to translate request for symbolic port name into actual port number.

Environment

Release : 12.x

Component : Workload Automation Agent for SAP

Resolution

Add the line like below in /etc/services file;

sapmsCYB 3600/tcp # SAP connection service

where, CYB is the SAP system ID (SID)

The entry causes the server to translate requests for the symbolic port name "sapmsCYB" into the actual port number 3600. This is required to use SAP load balancing.

 

 

Additional Information

See the documentation on the following topic;

Configure the Server for Symbolic Port Name Translation

https://techdocs.broadcom.com/us/en/ca-enterprise-software/intelligent-automation/workload-automation-agent-for-sap/12-0/configuring/configure-load-balancing.html#concept.dita_bcf01b359911c3aab9edcfd7076b3d553906f4c2_ConfiguretheServerforSymbolicPortNameTranslation