cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

Hi, i´m configuring a jco destination, i configure technical system with two partners, but when i create a new jco... appear this error: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=A ASHOST=clariana SYSNR=90 GWHOST=clariana GWSERV=sapgw90 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '192.168.101.250:sapgw90' not reached TIME Wed Sep 05 17:18:16 2007 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -10 MODULE nixxi.cpp LINE 2764 DETAIL NiPConnect2 SYSTEM CALL connect ERRNO 10061 ERRNO TEXT WSAECONNREFUSED: Connection refused COUNTER 1

What happend? What is wrong?

Thanks,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

add the line:

sapgw00 3300/tcp # SAP System Gateway Port

To the File C:\WINDOWS\system32\drivers\etc\services.

Former Member
0 Kudos

Victor,

In your case it would be sapgw90 3390/tcp # SAP System Gateway Port

I think this should be present but still you can cross check it.

Regards,

Murtuza

Answers (4)

Answers (4)

Former Member
0 Kudos

I found the solution, I change the ip of server this way:

i go to "Content Maintenance", select "Application System Instance", i select the application that want change the ip, in the top select the "Associated Instances", select "Application System Instance Host", select the "Antecedent" that i want change the ip and now can change the ip...

Former Member
0 Kudos

Hi, appear the same error when i create a new jco...

"com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=clariana GROUP=PUBLIC R3NAME=CER MSSERV=sapmsCER PCS=1 ERROR partner '192.168.101.250:sapmsCER' not reached TIME Thu Sep 06 12:34:59 2007 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -10 MODULE nixxi.cpp LINE 2764 DETAIL NiPConnect2 SYSTEM CALL connect ERRNO 10061 ERRNO TEXT WSAECONNREFUSED: Connection refused COUNTER 1"

I see one thing in the transaction sm59, in conect ABAP... i test the conection clariana and appear an error, it´s normal?

Former Member
0 Kudos

u hv 2 restart ur system 4 d changes 2 take place....have u done all d things mentioned by me in previous post

Former Member
0 Kudos

Yes i do... i go to restart the machine or the server?

Former Member
0 Kudos

machine

Former Member
0 Kudos

Hi,

To the best of my knowledge a update in services file does not require a restart as all requests are checked in the service file every time.

Please try this from the portal server try to ping the R/3 system.

ping 192.168.101.250

Thanks & Regards,

Vijith

Former Member
0 Kudos

The ping work perfectly...

Former Member
0 Kudos

Hello,

Remove multiple sapmsCER entries in the services file.

Also check the ip of your R/3 system say XXX.XX.XX.XX

Then add in hosts file of the portal server

XXX.XX.XX.XX hostname

hostname is the name of your R/3 machine

Try again.

Thanks & Regards,

Vijith

Former Member
0 Kudos

Don´t work, i have the same error: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=clariana GROUP=PUBLIC R3NAME=CER MSSERV=sapmsCER PCS=1 ERROR partner '192.168.101.250:sapmsCER' not reached TIME Thu Sep 06 13:43:29 2007 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -10 MODULE nixxi.cpp LINE 2764 DETAIL NiPConnect2 SYSTEM CALL connect ERRNO 10061 ERRNO TEXT WSAECONNREFUSED: Connection refused COUNTER 1

Former Member
0 Kudos

Anybody?????

Former Member
0 Kudos

Hi Victor,

Your entries in services file are correct.

While configuring JCO just check if you are using correct client and system number.

Regards,

Smruti

Message was edited by:

Armin Reichert

Former Member
0 Kudos

How can see the client and system number?

Former Member
0 Kudos

Victor,

open your SAP Logon pad and select the system for which you want to know the system number and click on change item button. From here you can see the system number of that particular system.

While you login to this system you would get client number at the top on your logon page itself.

Regards,

Murtuza

achim_hauck2
Active Contributor
0 Kudos

Victor,

I guess your double entries for sapmsCER & sapgw90 is the error.

this should be the only entry for sapgw90:

sapgw90 3390/tcp

and this the only entry for sapmsCER:

sapmsCER 3690/tcp

kr, achim

Former Member
0 Kudos

How can know if is sapgw90 or sapmsCER...???

Former Member
0 Kudos

Hello,

Logon to the R/3 system from where you are trying to retrieve data.

Open Transaction ST11

Open the file dev_ms.

There will be a line <b>I listen to port sapmsXXX (36xx)</b>

Open the services file in the portal system and add the entry

sapmsXXX 36xx/tcp

Thanks & Regards,

Vijith

Former Member
0 Kudos

Hi Victor,

Please check if you have made entry in drivers\etc\services file of server.

If you still get an error....may be your R/3 system for which you are making entry is down.

regards,

Smruti

Message was edited by:

Armin Reichert

Former Member
0 Kudos

I have in the services this:

sapmsCER 3200/tcp

sapmsCER 3903/tcp

sapmsCER 3690/tcp

sapmsCER 3600/tcp

sapgw90 3690/tcp

sapgw90 3390/tcp # SAP System Gateway Port

sapgw90 3600/tcp # SAP System Gateway Port

sapgw90 3903/tcp # SAP System Gateway Port

R3 no is down, because i´m in it...

Former Member
0 Kudos

U need to do the following things

1) make entries in the services file in your server Dir. path -> c:\WINDOWS\system32\drivers\etc\services

sapmsDE1 3390/tcp # SAP System Gateway Port

Check your message port number with your R/3 Basis Admin.Default is

36[instance number]

2)And also in host file

R/3 IP Addr R/3 Server Host Name # SAP R/3 System

for ex:

192.168.40.71 PRODNET # PRODNET System Network IP

3) add the portal IP and host name in

\WINDOWS\system32\drivers\etc\hosts

192.29.10.0 Poratal host

Former Member
0 Kudos

1) I check the port number with the transaction rz70, in msgsrv and press test, it´s good? The port is 3690.

2-3) In host file... i have...

127.0.0.1 localhost

192.168.101.250 clariana.grupotec.local

192.168.101.251 clarianades.grupotec.local

192.168.100.41 netweaver

good?

Former Member
0 Kudos

yeah it looks good

Former Member
0 Kudos

ot of thanks, appear: "I listen to port sapmsCER (3690)"

Message was edited by:

Victor Capi