cancel
Showing results for 
Search instead for 
Did you mean: 

RFC_ERROR_COMMUNICATION - time out

Former Member
0 Kudos

Actually I am trying to connect from JCO to SAP , but I have the following message :

Caught an exception: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect from SAP gateway to RFC server failed

Connect_PM GWHOST=192.168.30.253, GWSERV=sapgw00, ASHOST=192.168.30.253, SYSNR=00

LOCATION SAP-Gateway on host gcuxsq01 / sapgw00

ERROR connection to host 192.168.30.253, service sapgw00 timed out

TIME Tue Aug 1 13:24:49 2006

RELEASE 46D

COMPONENT NI (network interface)

VERSION 34

RC -12

MODULE nixxi.c

LINE 757

DETAIL NiPConnect

COUNTER 4

My TOMCAT environment - Apache Tomcat/5.0.28 VM 1.4.2_06-b03

I really appreciate if someone can help me .

Thanks.

Rodrigo Zubeldia

Argentina

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

How to make this??

My code is:

try {

JCO.addClientPool(SID, 10, // Max. number of connections "300", // SAP client

"XXXXXXX",// userid

"XXXXXXX", // password

"EN", // language

"192.168.30.253",// host name

"00");

// Create a new repository

repository = JCO.createRepository("MYRepository", SID);

}

Message was edited by: rodrigo zubeldia

Former Member
0 Kudos

Hi I'm running this command from a Suse Linux and from a Windows Xp:

java -classpath /usr/share/tomcat/common/lib/sapjco.jar com.sap.mw.jco.support.JRfcServ -t10

After the application ask me for some info:

client [300] :

user [rfc-artear] :

password [XXXXXX] :

application host [192.168.30.253] :

system number [00] :

I recieve the following error:

Start server

jco.server.trace : true

jco.client.client : 300

jco.client.passwd : XXXXXX

jco.client.user : rfc-artear

jco.client.sysnr : 00

jco.client.ashost : 192.168.30.253

JCO.Exception occured:

Group:102

Key:RFC_ERROR_COMMUNICATION

Message:Connect from SAP gateway to RFC server failed

Connect_PM GWHOST=192.168.30.253, GWSERV=sapgw00, ASHOST=192.168.30.253, SYSNR=00

LOCATION SAP-Gateway on host gcuxsq01 / sapgw00

ERROR connection to host 192.168.30.253, service sapgw00 timed out

TIME Thu Aug 3 14:09:30 2006

RELEASE 46D

COMPONENT NI (network interface)

VERSION 34

RC -12

MODULE nixxi.c

LINE 757

DETAIL NiPConnect

COUNTER 2

Any Ideas??

Martin Fernandez

Argentina

Former Member
0 Kudos

Well did you first find out why you did get the timeout?

Could it be because the app server was not running?

Could the port not be open in the firewall?

Could the network path not be defined?

Wrong IP ?

Wrong port #?

Etc...

Can you access the SAP system using SAPGUI on those machines?

Enjoy

Former Member
0 Kudos

Hi,

Increase the Maximum Wait time for JCO Connection.

Kind Regards,

S.Saravanan.