Skip to Content
author's profile photo
Former Member

RFC_ERROR_COMMUNICATION: service '?' unknown

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:$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


COMPONENT NI (network interface)


RC -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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Posted on Jul 20, 2004 at 06:02 PM

    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.



    PS: Don't be desperate, take it easy 😉

    Add comment
    10|10000 characters needed characters exceeded