Error when connecting to R/3 4.6C using JCo

We're trying to connect to SAP R/3 4.6c using JCo, however keep getting the following error message:

    Requires Free Membership to View

[java] com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect
 from SAP gateway to RFC server failed
     [java] Connect_PM  GWHOST=SAPEYEU, GWSERV=sapgw00, ASHOST=SAPEYEU, SYSNR=00
     [java]
     [java] LOCATION    SAP-Gateway on host SAPEYEU
     [java] ERROR       connection to host SAPEYEU, service sapgw00 timed
 out
     [java]
     [java] TIME        Fri Feb 21 14:04:38 2003
     [java] RELEASE     46D
     [java] COMPONENT   NI (network interface)
     [java] VERSION     34
     [java] RC          -12
     [java] MODULE      nixxi.c
     [java] LINE        751
     [java] DETAIL      NiPConnect
     [java] COUNTER     3

This error indicates that JCo cannot see your SAP app server across the network. The app server could be down, you might have the wrong hostname (try the server's IP address), or there is a firewall between JCo and SAP that requires certain open ports to communicate.

This was first published in April 2003

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.