cancel
Showing results for 
Search instead for 
Did you mean: 

Using RFC in Cloud Foundry

cmos
Participant
0 Kudos

Hi,

I am currently trying to call our on-premise systems via RFC from within a Cloud Foundry application written in Java. If I unserstand the documentation correctly, this should be possible by using an instance of the destination service. This has been configured and the connection data can be accessed inside the Java application (e.g., I am able to print the configured values).

Following the corresponding chapter of the documentation (https://help.sap.com/viewer/cca91383641e40ffbe03bdc78f00f681/Cloud/en-US/7808d1d32c994a9e860ab342e2188763.html) I shoud be able to include the following maven artifact to get access to the JCo interfaces I need for the development.

<groupId>com.sap.conn.jco-cloud</groupId>
<artifactId>com.sap.conn.jco.cloud</artifactId>

Currently I am not able to include the depencency, because it is not available in a public repository like Maven Central. While this is no problem in the local development environment, building and deploying the application with the Web IDE directly into the Cloud Foundry Environment is not possible.

Is there any way to fix this?

Thank you in advance.

Kind Regards,

Christian

Accepted Solutions (0)

Answers (3)

Answers (3)

daihao
Employee
Employee
0 Kudos

Hi Guys,

I used the Spring Boot to build a RESTful Java app, but always fails when I deploy it in cloud foundry, the error message is java.lang.UnsatisfiedLinkError: no sapjco3 in java.library.path, and one note I found https://launchpad.support.sap.com/#/notes/2833975, it says that the could foundry does not support Spring Boot app with SAPJCO3...

Hao Dai

0 Kudos

Hi guys,

Have you tested in cloud cockpit your destination using the button Check Connection ?

I have the same issue, I tried change the jco lib by normal lib and configure the services and cloud connector, but when try use jco I receve the error com.sap.conn.jco.JCoException: (106) JCO_ERROR_RESOURCE: Destination TESTE does not exist.

0 Kudos

Hello, has this issue been classified?

I met the same one.