SAP S4 HANA connector error

:bangbang: Please be sure you’ve read the docs and API specs before asking for help. Also, please be sure you’ve searched the forum for your answer before you create a new topic.

Problem

Basically we are facing a problem where our connection was working fine with SAP S4 Hana and suddenly we started getting the error below:

I have already downloaded the latest binaries and reimported on the connector.

Do i have to make any manual changes on the virtual appliance? This looks like a connector issue, but i don`t know what triggered this, two days ago was working fine.

I checked the sailpoint logs, no relevant changes on the SAP connector were done.

Message Status(500) Error response from connector: com/sap/conn/jco/JCoException

telnet, dig, pings and traceroutes seems to work just fine from the VA to the SAP server.

Any ideas? Thank you

Hi @mtavan
verify the SAP credentials and try to restarting the VA services to reload the connector.

can you please share more loggeres to understand the issue, if the sapjco3 and libsapjco is there, and then also getting jco exception, need to check why it is failing. can you please share??

Sure.

This is the error i get on the stacktrace ccg.log file.

This is the log error resumed.

NoClassDefFoundError: com/sap/conn/jco/JCoException

Caused by: java.lang.ClassNotFoundException: com.sap.conn.jco.JCoException

And below the full stack trace from the test connection error.


{"stack":"ccg","pod":"xxxxxxxxxxxxxxx","connector-logging":"175","clusterId":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","utilities":"3.11.9","buildNumber":"1214","apiUsername":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","orgType":"","file":"CloudPersistenceManager.java","encryption":"3.11.9","messageType":"test-connection","connector-bundle-identityiq":"283","line_number":199,"@version":1,"cloud-modules-api":"3.11.9","logger_name":"com.sailpoint.ccg.persistence.CloudPersistenceManager","mantis-client":"3.11.9","class":"com.sailpoint.ccg.persistence.CloudPersistenceManager","atlas-api":"3.28.1","va-gateway-client":"66","connector-bundle-utilities":"10","tracing":"3.11.9","clientId":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","request_milliseconds":"599","source_host":"xxxxxxxxxxxx","method":"logCacheWarning","org":"COMPANY-sb","level":"WARN","IdentityIQ":"8.3p4 Build 894c6bcd4ef-20260218-032501","message":"CCG CACHE [Application] OBJECT LOADED FROM CLOUD: SAP S4Hana [source] (xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)","pipeline":"3.11.9","@timestamp":"2026-03-19T12:35:20.155Z","thread_name":"pool-9-thread-273","atlas-util":"3.28.1","metrics":"3.11.9","region":"us-east-1","AppType":"SAP - Direct","Application":"SAP S4Hana [source]","request_id":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","queue":"xxxxxxxxxxxxxxx-COMPANY-sb-cluster-90","SCIM Common":"8.0 Build 00b1f252d1b-20200225-190809"}

{"exception":{"stacktrace":"java.lang.NoClassDefFoundError: com\/sap\/conn\/jco\/JCoException\n\tat java.base\/java.lang.Class.getDeclaredConstructors0(Native Method)\n\tat java.base\/java.lang.Class.privateGetDeclaredConstructors(Class.java:3375)\n\tat java.base\/java.lang.Class.getConstructor0(Class.java:3580)\n\tat java.base\/java.lang.Class.getConstructor(Class.java:2273)\n\tat sailpoint.connector.ConnectorFactory.createConnector(ConnectorFactory.java:193)\n\tat sailpoint.connector.AbstractConnector.getRealConnector(AbstractConnector.java:1381)\n\tat sailpoint.connector.SAPConnector.getRealConnector_aroundBody0(SAPConnector.java:666)\n\tat sailpoint.connector.SAPConnector$AjcClosure1.run(SAPConnector.java:1)\n\tat org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:171)\n\tat com.sailpoint.tracing.otel.TracedAspect.lambda$traceExecution$0(TracedAspect.java:38)\n\tat com.sailpoint.tracing.otel.GlobalTracer.trace(GlobalTracer.java:170)\n\tat com.sailpoint.tracing.otel.GlobalTracer.trace(GlobalTracer.java:143)\n\tat com.sailpoint.tracing.otel.TracedAspect.traceExecution(TracedAspect.java:40)\n\tat sailpoint.connector.SAPConnector.getRealConnector(SAPConnector.java:666)\n\tat sailpoint.connector.SAPConnector.testConfiguration_aroundBody8(SAPConnector.java:761)\n\tat sailpoint.connector.SAPConnector$AjcClosure9.run(SAPConnector.java:1)\n\tat org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:171)\n\tat com.sailpoint.tracing.otel.TracedAspect.lambda$traceExecution$0(TracedAspect.java:38)\n\tat com.sailpoint.tracing.otel.GlobalTracer.trace(GlobalTracer.java:170)\n\tat com.sailpoint.tracing.otel.GlobalTracer.trace(GlobalTracer.java:143)\n\tat com.sailpoint.tracing.otel.TracedAspect.traceExecution(TracedAspect.java:40)\n\tat sailpoint.connector.SAPConnector.testConfiguration(SAPConnector.java:761)\n\tat sailpoint.connector.ConnectorProxy.testConfiguration(ConnectorProxy.java:472)\n\tat com.sailpoint.ccg.cloud.container.Container.testConnection(Container.java:528)\n\tat com.sailpoint.ccg.cloud.container.ContainerIntegration.ping(ContainerIntegration.java:73)\n\tat com.sailpoint.ccg.handler.TestConnectionHandler.invoke(TestConnectionHandler.java:31)\n\tat sailpoint.gateway.accessiq.CcgPipelineMessageHandler.handleMessage_aroundBody0(CcgPipelineMessageHandler.java:45)\n\tat sailpoint.gateway.accessiq.CcgPipelineMessageHandler$AjcClosure1.run(CcgPipelineMessageHandler.java:1)\n\tat org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:171)\n\tat com.sailpoint.tracing.otel.TracedAspect.lambda$traceExecution$0(TracedAspect.java:38)\n\tat com.sailpoint.tracing.otel.GlobalTracer.trace(GlobalTracer.java:170)\n\tat com.sailpoint.tracing.otel.GlobalTracer.trace(GlobalTracer.java:143)\n\tat com.sailpoint.tracing.otel.TracedAspect.traceExecution(TracedAspect.java:40)\n\tat sailpoint.gateway.accessiq.CcgPipelineMessageHandler.handleMessage(CcgPipelineMessageHandler.java:38)\n\tat com.sailpoint.pipeline.server.PipelineServer$InboundQueueListener$MessageHandler.run(PipelineServer.java:402)\n\tat java.base\/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)\n\tat java.base\/java.util.concurrent.FutureTask.run(FutureTask.java:264)\n\tat java.base\/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\n\tat java.base\/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)\n\tat java.base\/java.lang.Thread.run(Thread.java:840)\nCaused by: java.lang.ClassNotFoundException: com.sap.conn.jco.JCoException\n\tat java.base\/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)\n\tat java.base\/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)\n\tat java.base\/java.lang.ClassLoader.loadClass(ClassLoader.java:525)\n\tat sailpoint.connector.ConnectorClassLoader.findClass(ConnectorClassLoader.java:182)\n\tat sailpoint.connector.ConnectorClassLoader.loadClass(ConnectorClassLoader.java:157)\n\tat sailpoint.connector.ConnectorClassLoader.loadClass(ConnectorClassLoader.java:139)\n\t... 40 more\n","exception_class":"java.lang.NoClassDefFoundError","exception_message":"com\/sap\/conn\/jco\/JCoException"},"stack":"ccg","pod":"xxxxxxxxxxxxxxx","connector-logging":"175","clusterId":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","utilities":"3.11.9","buildNumber":"1214","apiUsername":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","orgType":"","file":"PipelineServer.java","encryption":"3.11.9","connector-bundle-identityiq":"283","line_number":476,"@version":1,"cloud-modules-api":"3.11.9","logger_name":"com.sailpoint.pipeline.server.PipelineServer","mantis-client":"3.11.9","class":"com.sailpoint.pipeline.server.PipelineServer$InboundQueueListener","atlas-api":"3.28.1","va-gateway-client":"66","connector-bundle-utilities":"10","tracing":"3.11.9","clientId":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","request_milliseconds":"610","source_host":"xxxxxxxxxxxx","method":"sendInternalErrorResponse","org":"COMPANY-sb","level":"ERROR","IdentityIQ":"8.3p4 Build 894c6bcd4ef-20260218-032501","message":"An internal error occurred handling request.","pipeline":"3.11.9","@timestamp":"2026-03-19T12:35:20.166Z","thread_name":"pool-9-thread-273","atlas-util":"3.28.1","metrics":"3.11.9","region":"us-east-1","request_id":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","queue":"xxxxxxxxxxxxxxx-COMPANY-sb-cluster-90","SCIM Common":"8.0 Build 00b1f252d1b-20200225-190809"}

I did, we even manually logged into SAP system manually to make sure the credentials are valid and account is not blocked.