Error when connecting to R/3 4.6C using JCo

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

    When you register, you will start receiving targeted emails from my award-winning team of editorial writers. Our goal is to keep you informed on the hottest topics and biggest challenges faced by SAP professionals today.

    Hannah Smalltree, Editorial Director

    By submitting your registration information to SearchSAP.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchSAP.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

[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