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

Unable to connect to existing SAP endpoint or create a new SAP/R3 endpoint. 
Below error message is seen 

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

Errors are the result of incomplete configuration.

Resolution

Follow the instructions from the tech doc, step-by-step

https://techdocs.broadcom.com/us/en/symantec-security-software/identity-security/identity-management-and-governance-connectors/1-0/connectors/other-connectors/sap-connector/acquire-sap-endpoint-in-identity-manager.html

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


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