on 09-01-2008 7:24 AM
Hi All,
I want to connect to ECC system through standalone JAVA program using jco.while executing my java program it is saying that connection refused.
I am getting the error as shown below.
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: CMALLC : rc=20 > Co
nnect from SAP gateway to RFC server failed
Connect_PM GWHOST=192.168.10.99, GWSERV=sapgw01, SYSNR=01
LOCATION SAP-Gateway on host igm501 / sapgw01
ERROR partner '192.168.10.99:sapgw01' not reached
TIME Mon Sep 1 15:00:37 2008
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -10
MODULE nixxi.cpp
LINE 2821
DETAIL NiPConnect2
SYSTEM CALL connect
ERRNO 239
ERRNO TEXT Connection refused
COUNTER 2
at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeConnect(Native Method)
at com.sap.mw.jco.rfc.MiddlewareRFC$Client.connect(MiddlewareRFC.java:11
25)
at com.sap.mw.jco.JCO$Client.connect(JCO.java:3138)
at JConnector_frmDesk.<init>(JConnector_frmDesk.java:91)
at JConnector_frmDesk.main(JConnector_frmDesk.java:141)
I have already configured SAPDP01,SAPGW01 in my services file in windows\system32\drivers\etc\services.
What else i need to do to connect to ECC system through my JAVA program.Please help me in this regard.
Regards,
Ramana.
Hi !
Check this to verify that you are correctly using JCO:
Try to give in ashost="/H/saprouter/H/sap".
Regards,
Matias.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.