cancel
Showing results for 
Search instead for 
Did you mean: 

JCO3 RFC Server in Netweaver 7.5 cannot find server

Former Member
0 Kudos

We are attempting to setup our development system to use JCO 3 with an RFC server to connect the SAP backend to our Java application. We were told that this is now possible in NW 7.5 or later..

This specifically is an SCN forum post I am referencing ( https://archive.sap.com/discussions/thread/3823695 😞

"But the situation changed with NetWeaver 7.5 and one can use the JCoServer functionality now in release 7.5.

You cannot register your own ServerDataProvider (the same as with the DestinationDataProvider), this is a fix part of the shipped NetWeaver AS Java infrastructure. But there are APIs and also a NWA UI for storing and managing your own JCoServer configurations."

Specifically we are having a problem setting up the JCoServer connections. We were able to get the Destination to work correctly, but the JCoServer is not the same. Our BASIS team is letting us know they have the RFC connection setup and we are attempting to use this to connect:

server = JCoServerFactory.getServer(SERVER_NAME1);

Where SERVER_NAME1 is a declared string of the expected server name, but no connection is being made.

I cannot seem to find any documentation about using JCo3 + NetWeaver to setup these server connections that were referenced in the older SCN post. Hoping someone will have some insight as to what the missing piece to this puzzle is.

Accepted Solutions (0)

Answers (1)

Answers (1)

AntalP
Product and Topic Expert
Product and Topic Expert

Hi Andrew,

please check the defaulttrace file (/usr/sap/SID/inst_nr/j2ee/cluster/serverX/log ) if there are any exceptions related to the JCo RFC provider related to your application.

Also check the JCo/RFC logs from the server folder (/usr/sap/SID/inst_nr/j2ee/cluster/serverX).

Where did you configure the RFC properties in NWA?

Best Regards,

Antal Perger