Hi Pranjal,
From: https://support.sap.com/en/product/connectors/jco.html
SAP Note 2786882 describes which operating systems and versions with which JDKs/JREs are supported by the SAP Java Connector 3.1, and when the SAP Java Connector 3.1 maintenance and support period will end.
The SDK package of SAP Java Connector 3.1 includes the software, documentation, and examples. The SAP Java Connector 3.1 requires a JDK/JRE 8, 11 or 17. SAP Java Connector 3.1 running on Windows operating systems requires the Microsoft Visual Studio 2013 C/C++ runtime libraries to be installed on the system.
The .dll file you mentioned, made me think it is only available on a Windows system. That it works on your system could give a hint that it might work in an on-prem/private cloud Windows system running Mendix.
In the Mendix (free) Cloud, there are no Windows based deployments.
Go Mkae It.
Hi Pranjal,
On the SAP support page, you can find a Linux version of the JCO. The one you use now on your local machine requires Windows components that can not be used in the Mendix Cloud. (Linux based)
See SAP note 3276799 for the release notes.
I hope that you manage to populate the userlib folder with the Linux libraries, and make it work. I haven't tried it meself.
Will you post a comment if it worked for you?
Go Make It.
Hi Pranjal,
I also encountered this problem. I couldn't connect to the SAP server locally, so I could only publish to the private cloud for testing, but when I arrived at the private cloud, I was prompted with the same error as you.
Mendix officially did not mention the private cloud environment, where to place the downloaded Linux version of sapjoc files. Have you solved this problem now?