cancel
Showing results for 
Search instead for 
Did you mean: 

RFC_ERROR_COMMUNICATION: service '?' unknown

Former Member
0 Kudos

Hi all,

I have a web application up and running that connects to an R\3 system using JCO. Everything works just fine.

Now, I deployed the ear-file to a different server. And on that server the JCO-connection is producing the following error:

com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: <b>Connect to SAP gateway failed</b>

Connect_PM TYPE=A ASHOST=xyz SYSNR=27 GWHOST=xyzGWSERV=sapgw27 PCS=1

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

ERROR service '?' unknown</b>

TIME Mon Jul 19 13:07:42 2004

RELEASE 640

COMPONENT NI (network interface)

VERSION 37

RC -3

COUNTER 3

I use the very same connection parameter on my local server and the remote server. No typing error could be the reason.

I am wondering whether this j2ee server is using unicode whereas my local server might be using iso-8859-1. If so, does anyone has an idea where to set this parameter.

Or, has anyone a better idea ? I am desperate.

Best Regards, Astrid

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Astrid,

please ensure, that the gateway TCP port is available in the %WINDIR%\system32\drivers\etc\services file, for example "sapgw44<TAB>3344/tcp"

Hope that helps.

Regards

Stefan

PS: Don't be desperate, take it easy

Former Member
0 Kudos

Hi,

yes that was the problem thanks. We had no services file on the second server.

Regards, Astrid