cancel
Showing results for 
Search instead for 
Did you mean: 

Adaptive RFC connection error

Former Member
0 Kudos

Getting this eror when I try to test the JCO connection the model:

com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=B MSHOST=bsasap01 GROUP=PUBLIC R3NAME=GMH MSSERV=sapmsGMH PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner not reached (host 10.1.1.65, service sapgw00) TIME Fri May 13 15:48:20 2005 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -10 MODULE nixxi_r.cpp LINE 8588 DETAIL NiPConnect2 SYSTEM CALL SiPeekPendConn ERRNO 10060 ERRNO TEXT WSAETIMEDOUT: Connection timed out COUNTER 1

Help?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

This is a problem with your Message server configuration. As mentioned by kishore see if you have maintained the entry in services file. If not do it and then restart your SLD and then check.

If the problem still persists then Open your SAP logon for windows. Select the Description of the System say "DEV" and then click on Groups.

In the pop up window that appears Enter the 3 letter system id. In your CASE it should be GMH. Then in the Message server enter the SAP R/3 application server host name and then click on Generate list. If your Message server is fine then you should get a list of logon groups like "PUBLIC" "SPACE" and something like that.

If this doesnt work ask your basis person to set this up for you.

Let me know if you require some more information.

regards

ravi

Former Member
0 Kudos

Hi All,

I am trying to learn SAP Webdynpro for java. Basically I'm new to SAP field. I'm currently working as a Senior Java Developer.

I have installed the java trial version of SAP Netweaver 2004 and deployed first web dynpro example getting started .

I got stuck in using Adaptive RFC Model to get Jco connection.

I'm gettting TCP error host not reached , logon failed

Host name Baskar

port 3300

Used Default password abcd1234 everywhere on the installation

Details

Host

Former Member
0 Kudos

Hi All,

I am trying to learn SAP Webdynpro for java. Basically I'm new to SAP field. I'm currently working as a Senior Java Developer.

I have installed the java trial version of SAP Netweaver 2004 and deployed first web dynpro example getting started .

I got stuck in using Adaptive RFC Model to get Jco connection.

I'm gettting TCP error host not reached , logon failed

Host name Baskar

port 3300

Used Default password abcd1234 everywhere on the installation

Host Name Baskar

System Number 00

Sap Router blank

Client 800

Logon Name ( Tried Administrator (default username as per installation document) but allow only 12 chars)

then tried "control" and j2eadmin (windows logon).

password abcd1234

language en

I'm gettting the following error message ...

SAP_CMINIT3 : rc=20 > connect to SAP gateway failed

Connect_PM GWHOST= Baskar, GWS

Former Member
0 Kudos

Hi All,

I am trying to learn SAP Webdynpro for java. Basically I'm new to SAP field. I'm currently working as a Enterprise Java Architect

I have installed the java trial version of SAP Netweaver 2004 and deployed first web dynpro example getting started .

I got stuck in using Adaptive RFC Model to get Jco connection.

I'm gettting TCP error host not reached , logon failed

Host name Baskar

port 3300

Used Default password abcd1234 everywhere on the installation

Host Name Baskar

System Number 00

Sap Router blank

Client 800

Logon Name ( Tried Administrator (default username as per installation document) but allow only 12 chars)

then tried "control" and j2eadmin (windows logon).

password abcd1234

language en

I'm gettting the following error message ...

SAP_CMINIT3 : rc=20 > connect to SAP gateway failed

Connect_PM GWHOST= Baskar, GWSERV=sapgw00,

ASHOST=Baskar, Sysnr=00

Location CPIC(TCP/Ip) on localhost

Error partner not reached (host Baskar , service 3300)

Errorno 10061

Errno text WSAECONNRefused; connection refused

Please guys help me on this issue.

Baskar Gopalakrishnan

Java Architect

Former Member
0 Kudos

Hi,

add this to your services:

sapgw00 3300/tcp

sapms<SID> 36<systemnumber>/tcp

Replace <SID> and <systemnumber> with your environment.

Regards

Sebastian

Former Member
0 Kudos

Hi Sebastian,

Thanks. I will try this and let you know soon. I'm doing at my personal laptop.

Thanks

Baskar

Former Member
0 Kudos

I did as per your suggestion and still the same problem. Please help me.

Former Member
0 Kudos

Hi Bhaskar,

Any inputs on how you resolved this would help us.

Reena

Answers (3)

Answers (3)

Former Member
0 Kudos

TCode SMLG

Regards Sebastian

Former Member
0 Kudos

Thank you sebastian.

great help.

Former Member
0 Kudos

The problem was on the basis side the IP number of the host must be added in the properties of the Logon Group used for the RFC (in this case the PUBLIC logon group)

By default on a single server setup this is not configured.

Thanks for the assistance.

Brett

Former Member
0 Kudos

Hi Brett

Can you please tell how we can find the logon group used for RFC ?.

Mine is a single server on which both abap and java stack run with same sid. Where we have to add the IP as you specified?. Please shed some light on this.

Former Member
0 Kudos

Hi Brett

Did you modify the services file on the system where your J2EE is running. if not do the following.

In the location,WINNT\system32\drivers\etc, Open the file services.

Add the following entry at the end.

sapms<3 letter alphabet what you have given for creating the technical system> <a tab> 36+<Instance number><press enter>

in your case this will be sapmsGMH 36<Insance number>

Kishore