You are here

Troubleshooting the SAP Connector

Sorry you're having trouble with the SAP Connector.

Alfresco Content Services fails to start

Before applying the provided SAP Connector AMP files, the native SAP Java Connector libraries must be merged into the delivered SAP Connector repository AMP file. If you don't do this, then Alfresco Content Services fails to start.

In this case, the related error message in the log file looks similar to:
java.lang.UnsatisfiedLinkError: no sapjco3 in java.library.path: [/usr/local/tomcat/native-jni-lib, /usr/java/packages/lib, /usr/lib64, /lib64, /lib, /usr/lib]
        at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2660)
        at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:829)
        at java.base/java.lang.System.loadLibrary(System.java:1867)
        at com.sap.conn.jco.rt.DefaultJCoRuntime.loadJCoLibrary(DefaultJCoRuntime.java:898)
Note: The same message also appears if the wrong native files (related to the Alfresco Content Services target system) of the SAP Java Connector have been applied.

To solve this issue, follow the steps in Installing SAP Connector.

back to top

License not valid

If you can't apply the SAP Connector license you've received successfully, make sure you've provided the correct details of your landscape (such as Is Alfresco Content Services running in a virtual machine?) which are important to issue the license.

back to top

Error during connection test setting up a secure connection (HTTPS) in OAC0

If you receive an error during the connection test in OAC0 for the SAP Content Repository, make sure to have the Port Number removed. Only provide the SSL Port Number in this case.

back to top

Payment required (HTTP Response code 402)

If the SAP Connector license becomes invalid or is missing, the SAP user will get a popup which states Payment required, along with a 402 HTTP response code once they try to store a document in Alfresco Content Services. In this case, check the SAP Connector license. See Installing the license for more.

back to top

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.