cancel
Showing results for 
Search instead for 
Did you mean: 

RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed

Former Member
0 Kudos

Hi,

We have our BI system on ISeries, it is installed on a dual stack.

The j2ee is not coming up and the error what I see the in default trace is as following.

It is not able to reach the ABAP system.

I checked the gateway is running and the service entry is also there in the services.

I have checked by created an RFC in the ABAP instance to check itself and it is working fine.

Unsure about what could be the problem.

Would appreciate any help.

********************************************************************************************

com.sap.security.core.persistence#sap.com/irj#com.sap.security.core.persistence.[cf=com.sap.security.core.persistence.datasource.imp.R3Persistence][md=populatePrincipalDatabag(AttributeList)][cl=null]#J2EE_GUEST#0####bc398280a79a11dc86af00145ed13d87#SAPEngine_Application_Thread[impl:3]_8##0#0#Error##Java###An exception was thrown in the UME/ABAP user management connector. This exception might be caused by incorrect user input. It is written to the trace to assist incident analysis by SAP. Only messages also appearing in the log require administrator assistance.

[EXCEPTION]

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

Connect_PM TYPE=A ASHOST=localhost SYSNR=05 GWHOST=localhost GWSERV=sapgw05 PCS=1

LOCATION CPIC (TCP/IP) on local host with Unicode

ERROR partner '127.0.0.1:sapgw05' not reached

TIME Tue Dec 11 14:39:47 2007

RELEASE 700

COMPONENT NI (network interface)

VERSION 38

RC -10

MODULE nixxi.cpp

LINE 2454

DETAIL NiPConnect

SYSTEM CALL connect

ERRNO 79

ERRNO TEXT Connection refused

COUNTER 2

*********************************************************************************************

Thanks & Regards

Mrutyunjay

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Mrutyunjay,

I'm a bit surprised, that you see localhost there ...

But, are you sure, that sapgw05 points to 3305 and the ABAP instance is really running and running on instance number 05 on the same host ?

Is the RFCSDK on your PC successful via hostname and system number 05 ?

Regards

Volker Gueldenpfennig, consolut international ag

http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de

Former Member
0 Kudos

Hi Volker,

Very much thankful for prompt response.

In the UM Config by default it will be mentioned as localhost where J2EE will be refering for its UM persistance.

I have checked the services and SAPGW05 is running at 3305.

The ABAP instance is up .. it is from where I checked the SELF RFC test.

How do I check this RFCSDK on my pc? Please explain little further !

Thanks & Regards

Mrutyunjay

Former Member
0 Kudos

Hi Mrutyunjay,

Install the RFCSDK on your PC and do something similar:

startrfc -3 -h hyperion -s 01 -c 000 -l D -u volker -p password -F SUBST_START_BATCHJOB -E JOBNAME=VOLKERJOB -E REPNAME=RSPFPAR

(described in http://www.easymarketplace.de/startrfc.php)

Regards

Volker Gueldenpfennig, consolut international ag

http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de

Former Member
0 Kudos

Dear Volker,

Very much thankful for your time.

I have changed the UM Communication host from LOCALHOST to the actual hostname and restarted the sap instance, at that time it did not work.

When I have completely rebooted the System and started SAP Instance the error is no more seen.

I dont see any change in either configuration or anywhere as "Localhost" is as good as "Hostname" as ABAP and JAVA are running on the same system.

But after restart I am not seing that error.The J2EE Came up.

Thanks & Regards

Mrutyunjay

Former Member
0 Kudos

Hi Mrutyunjay,

... then just be happy )

Regards

Volker Gueldenpfennig, consolut international ag

http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de

Answers (0)