on 03-01-2006 11:25 AM
Hi, All ,
I am trying to connect the R3 which lies in the same VPN as my machine . I get the error message as following .
Caught an exception: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
Connect_PM GWHOST=10.16.215.51, GWSERV=sapgw01, ASHOST=10.16.215.51, SYSNR=01
LOCATION CPIC (TCP/IP) on local host
ERROR partner not reached (host 10.16.215.51, service 3301)
TIME Wed Mar 01 19:16:11 2006
RELEASE 640
COMPONENT NI (network interface)
VERSION 37
RC -10
MODULE nixxi_r.cpp
LINE 8634
DETAIL NiPConnect2
SYSTEM CALL SiPeekPendConn
ERRNO 10060
ERRNO TEXT WSAETIMEDOUT: Connection timed out
COUNTER 1
Hi Guixin,
Are u using JCO in console application or ?.
have u copied the two DLL files which is available with sapjco.jar in the system32 directory .
just refer this forum.here we have discussed some issues ..
let me know
sapjco.jar , librfc32.dll and sapjcorfc.dll all of these files must be of the same version. u have to replace the DLL files already present in system32 with these files.
just refer this also.
http://searchsap.techtarget.com/general/0,295582,sid21_gci1096472,00.html
Regards
Kishor Gopinathan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Guixin,
the following link contain some of the exceptions associated with JCO.
http://help.sap.com/saphelp_nw04/helpdata/en/f6/daea401675752ae10000000a155106/content.htm
from this what we can infer is that , usually this type of errors are because of the Back end connection parameter problems.
Guixin check these things in your connection parameter,
<b> Instance Number</b>
u told u could connect to other R/3 system using the same code. so check whether the Instance Number u have given there for connection is correct or not.
<b>Gateway service Details</b>
if u use gateway service details also as connection parameter, then just check, the gateway service u have given there is correct or not.
gateway service name can be ---
sapgw<Instance Number>.
eg sapgw00 -- means the instance number is 00.
check the instance number also here...
check the version of the R/3 system also , whether JCO support ur this version or not.
Regards
Kishor Gopinathan
Hi,
Were you able to connect directly to the SAP R/3 using SAP Logon?
Thanks and regards
RK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.