on 10-05-2006 9:17 AM
Hai,
When iam trying to do jco implementation i got the following error even i provide credetials as correct.
-
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
Connect_PM GWHOST=gbdci550.in.ibm.com:50300, GWSERV=sapgw11, ASHOST=gbdci550.in.ibm.com:50300, SYSNR=11
LOCATION CPIC (TCP/IP) on local host
ERROR hostname 'gbdci550.in.ibm.com:50300' unknown
TIME Thu Oct 05 13:24:53 2006
RELEASE 620
COMPONENT NI (network interface)
VERSION 36
RC -2
MODULE ninti.c
LINE 385
DETAIL NiPHostToAddr
SYSTEM CALL gethostbyname
COUNTER 1
at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeConnect(Native Method)
at com.sap.mw.jco.rfc.MiddlewareRFC$Client.connect(MiddlewareRFC.java:1005)
at com.sap.mw.jco.JCO$Client.connect(JCO.java:2928)
at com.sap.nani.TutorialConnect1.<init>(TutorialConnect1.java:30)
at com.sap.nani.TutorialConnect1.main(TutorialConnect1.java:77)
-
please any one guide me what settings do i need to make for running my application correct.
hi,
>>>>ERROR hostname 'gbdci550.in.ibm.com:50300' unknown
it seems that not credentials are your problem ?
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes
as the previous post already said: your server-name (ASHOST) value is wrong.
first: don't use the port here (:50300). You don't connect to the java-stack with jco but to the abap stack, here, either the dispatcher- (32xx) or the messageserver port (36xx) is used.
second: check, if you can ping the full qulified domain (gbdci550.in.ibm.com).
then, the connection should work.
kr, achim
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.