Skip to Content
0
Former Member
Sep 18, 2009 at 04:55 PM

JCO Exception

49 Views

Dear all,

I am connecting my java stand alone program with sap . I Am using netbean IDE , i have two programs in two different projects , there one program is working fine but other is throwing this error.every thing is configured same in both the projects , Kindly show some light on this.

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

Connect_PM GWHOST=122.166.7.226, GWSERV=sapgw04, SYSNR=04

LOCATION CPIC (TCP/IP) on local host

ERROR partner '122.166.7.226:3304' not reached

TIME Fri Sep 18 22:15:57 2009

RELEASE 710

COMPONENT NI (network interface)

VERSION 39

RC -10

MODULE nixxi.cpp

LINE 2985

DETAIL NiPConnect2

SYSTEM CALL connect

ERRNO 10022

ERRNO TEXT WSAEINVAL: Invalid argument

COUNTER 1

Thanks in advance

Sri