SAP JCo connector issues - Could not initialize class com.sap.conn.jco.rt.JCoRuntimeFactory
search cancel

SAP JCo connector issues - Could not initialize class com.sap.conn.jco.rt.JCoRuntimeFactory

book

Article ID: 373069

calendar_today

Updated On:

Products

CA Identity Suite

Issue/Introduction

The customer was unable to connect to the existing SAP endpoint or create a new SAP/R3 endpoint. 

The following error message was seen in the Provisioning Manager:

In jcs_daily.log, the following error message is printed:

2024-07-22 11:58:14,489 518629536 [ApacheDS Worker-thread-5] (com.ca.jcs.core:com.ca.jcs.osgi.exchange.router.MessageRouter:551) ERROR  - A remote server returned an error: org.apache.directory.shared.ldap.exception.LdapConfigurationException: JCS@XXXXXXX1234: internal error in ADD(): java.lang.NoClassDefFoundError: Could not initialize class com.sap.conn.jco.rt.JCoRuntimeFactory [Root exception is java.lang.NoClassDefFoundError: Could not initialize class com.sap.conn.jco.rt.JCoRuntimeFactory]
2024-07-22 11:58:14,528 518629575 [ApacheDS Worker-thread-7] (com.ca.jcs.core:com.ca.jcs.DefaultConnectorManager:644) ERROR  - The endpoint type eTNamespaceName=SAP R3,dc=im,dc=etasa that was referenced in the request has not been activated
2024-07-22 11:58:14,531 518629578 [ApacheDS Worker-thread-7] (com.ca.jcs.core:com.ca.jcs.osgi.exchange.router.MessageRouter:551) ERROR  - A remote server returned an error: org.apache.directory.shared.ldap.exception.LdapNameNotFoundException: JCS@XXXXXXX1234: The endpoint type eTNamespaceName=SAP R3,dc=im,dc=etasa that was referenced in the request has not been activated
2024-07-22 11:58:14,536 518629583 [ApacheDS Worker-thread-9] (com.ca.jcs.core:com.ca.jcs.DefaultConnectorManager:644) ERROR  - The endpoint type eTNamespaceName=SAP R3,dc=im,dc=etasa that was referenced in the request has not been activated
2024-07-22 11:58:14,536 518629583 [ApacheDS Worker-thread-9] (com.ca.jcs.core:com.ca.jcs.osgi.exchange.router.MessageRouter:551) ERROR  - A remote server returned an error: org.apache.directory.shared.ldap.exception.LdapNameNotFoundException: JCS@XXXXXXX1234: The endpoint type eTNamespaceName=SAP R3,dc=im,dc=etasa that was referenced in the request has not been activated



Environment

Identity Manager 14.5

Cause

The errors are the result of incomplete configuration.

Resolution

Follow the instructions from the Broadcom technical documentation, step by step: 

Acquire-SAP-endpoint-in-Identity-Manager

In addition to the above, copy the library file libsapjco3.so to the location /opt/CA/IdentityManager/ConnectorServer/jcs/native/

You should now be able to create/work with SAP endpoints.