cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

Hi All,

I have installed SAPJco 2.0.12 on my SAP system AIX operating system. I am trying to connect from a Java system to connect to SAP system where After I executed the connect program and got the following error:-

Creating the connection...

Attempting the connection...

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

Connect_PM GWHOST=xxxx.xxx..com, GWSERV=sapgw00, ASHOST=xxx.xxx.com, SYSNR=00

LOCATION CPIC (TCP/IP) on local host

ERROR partner not reached (host xxx.xxx.com, service 3300)

TIME Thu Jul 09 10:59:47 2009

RELEASE 640

COMPONENT NI (network interface)

VERSION 37

RC -10

MODULE nixxi_r.cpp

LINE 8634

DETAIL NiPConnect2

SYSTEM CALL SiPeekPendConn

ERRNO 10060

ERRNO TEXT WSAETIMEDOUT: Connection timed out

at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeConnect(Native Method)

at com.sap.mw.jco.rfc.MiddlewareRFC$Client.connect(Unknown Source)

at com.sap.mw.jco.JCO$Client.connect(Unknown Source)

at connection.Test.<init>(Test.java:31)

at connection.Test.main(Test.java:52)

Can anybody please advice what could be the next step to resolve this connectivity issue.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Everyone,

Thanks all of you, for the valid responces.

The issue has been resolved. Basically this was because of the firewall restriction. The sap router was blocked for that termilal system. Now we have granted the permission and working fine.

Thanks again to all of you.

Former Member
0 Kudos

Hello Shash i ,

Its just the Backend Server is down .

Just clog to SAPGUI pad and see if the sevre is alive or not .

If the system is found alive .. In the POrtal go to System Administration --> System Configuration

And Open the System ID for the backend . Open the connnector properties and WAS Details for the system . This ought to be the same as the one in SAP GUI Pad itself .

regards

Sandeep Sharma

Former Member
0 Kudos

ping your Jco connection and check for the following step.

1) you need Message server entry in services file

C:\Windows\system32\drivers\etc\services

pattern:

sapms<SID> 36<nr>/tcp

2) in SMLG, log on group attribute is ext-RFC enabled

point if help.

Former Member
0 Kudos

Hi,

Are you able to connect to the host using SAP GUI?

Most likely you have given a wrong host/system nr.

Former Member
0 Kudos

Hi,

I am trying to connect from a different host (terminal system). The Java application host and the sap host is from different domain but here I am able to ping/tracert from java system to sap system.

Do I need to install SAP GUI in the java system ? Can you advice me what can be the path/string to connect to sap. Is there any thing like saprouter string needs to be placed in the java programming ?

Former Member
0 Kudos

Hi,

You do not need to install any SAP gui in the system.

But if you have SAP GUI installed, then you can put in those parameters in SAP gui and see if it can be connected at all.