cancel
Showing results for 
Search instead for 
Did you mean: 

JCO Connection Error in WebDynpro

Former Member
0 Kudos

I am trying to connect to a SAP ECC 5.0 server using SAP JCo Connection, and when i try to test the connection i am getting the following error.

-


com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed

Connect_PM TYPE=A ASHOST=10.18.8.135 SYSNR=10 GWHOST=10.18.8.135 GWSERV=sapgw10 PCS=1

LOCATION CPIC (TCP/IP) on local host with Unicode

ERROR service 'sapgw10' unknown

TIME Sun Sep 24 17:50:12 2006

RELEASE 640

COMPONENT NI (network interface)

VERSION 37

RC -3

MODULE ninti.c

LINE 501

DETAIL NiPGetServByName2: service 'sapgw10' not found

SYSTEM CALL getservbyname_r

COUNTER 2

-


I am able to ping the SAP server from the NetWeaver server and also able to login with the credentials provided in the connector using SAP Logon GUI. Even my JAVA Standalone application is able to connect using the same JCO connection details.

Any help will be greatly appreciated

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

See this Thread

See this help document

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f3f93ee7-0c01-0010-2593-d7c28b5377c2">Adaptive RFC- Troubleshooting Guide</a>

Kind Regards

Mukesh