Skip to Content
avatar image
Former Member

an error occured when I test the connection from jco to SAP:

I alter the logon information of example.java provided by SAP,then run it,an error as following occured:

what's problem with me?

#use the logon info which I setd in the example.java,I can logon in SAP.

Version of the JCO-library:

-


2.1.4 (2004-10-20)

Caught an exception:

com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed

Connect_PM GWHOST=192.168.100.29, GWSERV=sapgw10, ASHOST=192.168.100.29, SYSNR=10

LOCATION CPIC (TCP/IP) on local host

ERROR partner not reached (host 192.168.100.29, service 3310)

TIME Thu Mar 10 16:03:59 2005

RELEASE 640

COMPONENT NI (network interface)

VERSION 37

RC -10

MODULE nixxi_r.cpp

LINE 8537

DETAIL NiPConnect

SYSTEM CALL connect

ERRNO 2

ERRNO TEXT ENOENT*: No such file or directory OR: The system cannot fi

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Mar 10, 2005 at 05:23 PM

    Hi Zhu,

    I think Starting with JCo 2.1.4 and JCo 2.0.11, JCo requires the new Visual Studio .NET C/C++ runtime libraries on Windows platforms.(found on SAP webpage)

    I would recommend you download the new JCO version 2.1.5 found here: http://service.sap.com/connectors

    and follow the installation guide. When you still get a problem connecting, you should post the error message here.I hope it helps.

    Bye!

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello,Rudolph Emange

      I have install the jco libraries,but can't connect to the SAP,the error tell me it's not the problem of jco libraries,but can't connect to SAP,but through SAP GUI,I can connect to SAP manually.

  • avatar image
    Former Member
    Mar 11, 2005 at 07:16 AM

    I have seen the error, but I used to get this error only when the host entry was wrong.

    I'd suggest check the IP address of the SAP system once again.

    Add comment
    10|10000 characters needed characters exceeded