cancel
Showing results for 
Search instead for 
Did you mean: 

com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION:

Former Member
0 Kudos

Hello,

I have strange errors in trace while starting Java stack (many of them, but reason always the same):

Connect to SAP gateway failed

Connect_PM TYPE=A ASHOST=localhost SYSNR=00 GWHOST=localhost GWSERV=sapgw00 PCS=1

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

ERROR partner '127.0.0.1:sapgw00' not reached

The problem is (I guess) that it tries to connect to localhost (and in RFC connection SAPJ2EE I have given hostname as aaabwd). Where and how change Java configuration to make it connect by default to ASHOST=aaabwd not localhost).

REgs,

FS

PS. Point will be rewarded!!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Try this

Note 841688 - CPIC error when setting up a connection from the J2EE Engine

--kalyan

Answers (0)