cancel
Showing results for 
Search instead for 
Did you mean: 

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

former_member192283
Participant
0 Kudos

Hi Experts,

I was trying to configure the JCO destinations. After i created the JCO destinations. when i click on the test button . I am getting the following error.

com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=saptcs01 GROUP=PUBLIC R3NAME=ER1 MSSERV=sapmsER1 PCS=1 ERROR partner 'saptcs01:sapmsER1' not reached TIME Tue Mar 11 17:17:03 2008 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 have added the entry in the service file like

sapms<SID> msgserverport/tcp

sapmsER1 3210/tcp

Added the R/3 server name in the host file

172.17.121.225 saptcs01

Can any body tell me what is the fix for this error.

Regards

Vijay

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Vijay,

Have u made entry for ur server in hosts file??Check the file at following location

C:\WINDOWS\system32\drivers\etc . Open the hosts file in notepad & enter the details of the ur server. For example:

  1. 102.54.94.97 rhino.acme.com # source server

  2. 38.25.63.10 x.acme.com # x client host

If that entry is correct, check the SLD configuration.

regards

Sumit

former_member192283
Participant
0 Kudos

Hi Sumit,

Thks for the reply,

I have added the R/3 server entry in the etc/host file.

<R/3 Server IP> saptcs01

then i have checked the JCO destination. It is giving the different error.

com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=saptcs01 GROUP=PUBLIC R3NAME=ER1 MSSERV=sapmsER1 PCS=1 ERROR The message received isn't from a message server. Are you really connected to the message server? Please check your connection parameters. (saptcs01 / sapmsER1) TIME Tue Mar 11 17:49:37 2008 RELEASE 700 COMPONENT MS (message handling interface, multithreaded) VERSION 4 RC -29 MODULE msxxi.c LINE 2543 COUNTER 1

Regards

Vijay

Edited by: Vijay Krishna Meda on Mar 11, 2008 6:07 PM

Former Member
0 Kudos

Hi Vijay,

Are u able to ping the server using command prompt? If yes, then check ur connection parameters.

regards

Sumit

former_member192283
Participant
0 Kudos

Hi sumit,

I am able to ping my sap server from command prompt using

saptcs01

But when i tried to ping using

sapmsER1.

Giving the error chck the host and try again.

Regards

Vijay

Former Member
0 Kudos

Hi Vijay,

Refer following link

Regards,

P.Manivannan

Former Member
0 Kudos

Message Server Ports are always in the 36xx range. You put 3210, which should probably be 3610 into your services file.

Former Member
0 Kudos

Hi,

Also check these two points :

1) The user you are login in to check Jco connection.....has the backend ............

"s_rfc" profile atleast .

2) With SMLG transaction , check the logon group is PUBLIC

Ask these two to your BASIS consultant.

Thanks ,

Srini

Former Member
0 Kudos

Hi vijay,

check your SLD configuration....

Regards,

P.Manivannan