cancel
Showing results for 
Search instead for 
Did you mean: 

JCo Connection Error

former_member229034
Participant
0 Kudos

Hi Seniors,

I am working on JCo connector and am trying to connect to SAP. I get the following error while trying to connect.

com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: SAP_CMINIT3 : rc=20 > Connect to SAP gateway failed

Connect_PM GWHOST=IP.IP.IP.IP, GWSERV=sapgw01, SYSNR=01

LOCATION CPIC (TCP/IP) on local host

ERROR partner 'IP.IP.IP.IP:3301' not reached

TIME Fri Feb 13 14:22:04 2009

RELEASE 710

COMPONENT NI (network interface)

VERSION 39

RC -10

MODULE nixxi.cpp

LINE 3139

DETAIL NiPConnect2: IP.IP.IP.IP:3301

SYSTEM CALL connect

ERRNO 10060

ERRNO TEXT WSAETIMEDOUT: Connection timed out

COUNTER 1

Could you please let me know the reasons and a solution for this. Your help is highly needed and appreciated.

Thanks and regards,

Chaitanya.C.N

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

check the services file in WINDOWS/system32/drivers/etc/

it should have the entry sapgw01 <portnumber>/tcp

use th following link,

http://help.sap.com/saphelp_nw70/helpdata/en/f6/daea401675752ae10000000a155106/content.htm

Regards

Jayapriya

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Are you able to ping this system?

Do you have a host entry in your lmhosts file?

Regards

Ayyapparaj