Ask the Expert

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

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: