Skip to Content
0
Former Member
May 28, 2015 at 10:10 PM

Connect from SAP gateway to RFC server failed

1266 Views

Hello Experts,

I have an issue with connecting a java application deployed on SAP portal with SAP backend.

I get a Jco Exception raised from the Java code which is captured in the default trace file:

com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: CMALLC : rc=19 > Connect from SAP gateway to RFC server failed

Connect_PM GWHOST=abc, GWSERV=sapgw00, ASHOST=abc, SYSNR=00

LOCATION SAP-Gateway on host xyz.domain.com / sapgw00

ERROR hostname 'abc' unknown

TIME Thu May 28 14:25:46 201

RELEASE 721

COMPONENT NI (network interface)

VERSION 40

RC -2

MODULE nixxhl.cpp

LINE 193

DETAIL NiHLGetNodeAddr: hostname cached as unknown

COUNTER 6

#

#1.5 #0050568A639F001C0000002E000023680005172B00C8F37E#1432848347848#System.err#sap.com/irj#System.err#J2EE_GST_PD1#0##12C99386058011E5A145000000480CBA#12c99386058011e5a145000000480cba-0#12c99386058011e5a145000000480cba#SAPEngine_Application_Thread[impl:3]_13##0#0#Error##Plain### at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeConnect(Native Method)# #1.5 #0050568A639F001C0000002F000023680005172B00C8F410#1432848347848#System.err#sap.com/irj#System.err#J2EE_GST_PD1#0##12C99386058011E5A145000000480CBA#12c99386058011e5a145000000480cba-0#12c99386058011e5a145000000480cba#SAPEngine_Application_Thread[impl:3]_13##0#0#Error##Plain### at com.sap.mw.jco.rfc.MiddlewareRFC$Client.connect(MiddlewareRFC.java:1125)# #1.5 #0050568A639F001C00000030000023680005172B00C8F4A1#1432848347849#System.err#sap.com/irj#System.err#J2EE_GST_PD1#0##12C99386058011E5A145000000480CBA#12c99386058011e5a145000000480cba-0#12c99386058011e5a145000000480cba#SAPEngine_Application_Thread[impl:3]_13##0#0#Error##Plain### at com.sap.mw.jco.JCO$Client.connect(JCO.java:3244)#

etc....messages

I checked the dev_rfc.trc file and here are its contents:

**** ERROR file opened at 20150528 130046 Pacific Daylight Time, SAP-REL 640,0,318 RFC-VER 3 1133649 MT-SL

T:2636 Error in program 'jlaunch': ======> CMALLC : rc=19 > Connect from SAP gateway to RFC server failed

Connect_PM GWHOST=abc, GWSERV=sapgw00, ASHOST=abc, SYSNR=00

LOCATION SAP-Gateway on host xyz.domain.com / sapgw00

ERROR hostname 'abc' unknown

TIME Thu May 28 13:00:45 201

RELEASE 721

COMPONENT NI (network interface)

VERSION 40

RC -2

MODULE nixxhl.cpp

LINE 193

DETAIL NiHLGetNodeAddr: hostname cached as unknown

COUNTER 2

T:2636 Error in program 'jlaunch': ======> CMALLC : rc=19 > Connect from SAP gateway to RFC server failed

Connect_PM GWHOST=abc, GWSERV=sapgw00, ASHOST=abc, SYSNR=00

LOCATION SAP-Gateway on host xyz.domain.com / sapgw00

ERROR hostname 'abc' unknown

TIME Thu May 28 13:00:45 201

RELEASE 721

COMPONENT NI (network interface)

VERSION 40

RC -2

MODULE nixxhl.cpp

LINE 193

DETAIL NiHLGetNodeAddr: hostname cached as unknown

COUNTER 4

T:2636 Error in program 'jlaunch': ======> CMALLC : rc=19 > Connect from SAP gateway to RFC server failed

Connect_PM GWHOST=abc, GWSERV=sapgw00, ASHOST=abc, SYSNR=00

LOCATION SAP-Gateway on host xyz.domain.com / sapgw00

ERROR hostname 'abc' unknown

TIME Thu May 28 13:00:45 201

RELEASE 721

COMPONENT NI (network interface)

VERSION 40

RC -2

MODULE nixxhl.cpp

LINE 193

DETAIL NiHLGetNodeAddr: hostname cached as unknown

COUNTER 6

I do not get why there are 3 entries in dev_rfc.trc file with counter 2,4 & 6 each time an error happens.

Here the hostname 'abc' is wrong and I do not know where it is coming from, I have checked all the parameters in Visual Administrator & configtool . Every where the hostname is correct- which is 'xyz'.

Is there a need to maintain host and service file on the backend ECC system too?

The host and service file are maintained and have correct values on the Portal server.

The problem seems to be common & reported many times in SDN, but there has been no concrete solution mentioned anywhere in any of the existing threads.

Any help is greatly appreciated.

Thanks,

Sonali.