Skip to Content
author's profile photo Former Member
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:

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    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.

    Regards

    Stefan

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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.