cancel
Showing results for 
Search instead for 
Did you mean: 

SAP connection via gateway and JCO

Former Member
0 Kudos

Hello,

I'm facing a strange problem. I'm using SAPJCo, and I am trying to establish a connection to SAP system over a saprouter. I am getting following exception:

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

Connect_PM GWHOST=/H/193.166.9.16/H/sapecc.helia.fi, GWSERV=sapgw00, ASHOST=/H/193.166.9.16/H/sapecc.helia.fi, SYSNR=00

LOCATION SAProuter 37.4 on wille

ERROR timeout occured

TIME Tue Jul 10 15:03:03 2007

RELEASE 640

COMPONENT NI (network interface)

VERSION 37

RC -93

COUNTER 45

The data which I passed is correct. SAP Gui works correctly and establishes connection without any problem.

I've got to indicate that one month ago (before my vacation), my application got connection without any problem as well. I didn't change anything. I've just come back to work after holiday and it doesn't want to work. I wonder why timeout occured? What can be the source of the problem?

Any clue?

Please help me...it is extremely important.

Off course any answer will be appreciated and considered and all helpful answers will be properly rewarded.

Looking forward any answer.

BR,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Basically the problem is due to :


JCO_ERROR_COMMUNICATION 
<b> Exception :</b> caused by network problems, connection breakdowns, gateway problems, unavailability of the remote SAP system, etc. 

<b>Resolution</b> 
Get the host of the SAP System from dev_jrfc.trc or the JRFC trace; ping the SAP system from command line; check routers, gateways, SAP systems

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


u can also see the following link :

http://searchsap.techtarget.com/general/0,295582,sid21_gci1096479,00.html

If the answer is helpful please do reward with points.

Thanks

ritu

Former Member
0 Kudos

Hi,

Thanks for answer.

I think that somebody has changed settings on saprouter. I figured out by myself, but anyway your answer might be helpful for somebody else and therefore I reward you with 10.

BR,

Rafal

Answers (0)