Skip to Content
0

JCO3 RFC Server in Netweaver 7.5 cannot find server

Jan 16, 2017 at 08:44 PM

76

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Antal Perger
Feb 11, 2017 at 04:17 PM
1

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

Share
10 |10000 characters needed characters left characters exceeded