cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

hello

When I try to create JCO connection I am getting the following error message.

com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=sap GROUP=Public R3NAME=E50 MSSERV=sapmsE50 PCS=1 ERROR service 'sapmsE50' unknown TIME Tue Oct 23 13:28:30 2007 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -3 MODULE ninti.c LINE 530 DETAIL NiPGetServByName2: service 'sapmsE50' not found SYSTEM CALL getservbyname_r COUNTER 2

any ideea?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Make service entry for sapmsE50 on the J2EE host. and also Check whether PUBLIC group is available in your R/3 System. Transaction SMLG.

Give a system reboot for J2EE host.

Former Member
0 Kudos

i've done everything you say but nothing is changed

Former Member
0 Kudos

Do you have the entry in the services file on both systems?

If not make sure they are in both

You have to set the service name in the path as shown below

c:\winnt\system32\drivers\etc\services file.

It should be in the format

sapmsE50 3600/tcp

Former Member
0 Kudos

Hi galan,

Go to C:\WINDOWS\system32\drivers\etc. add the ip address of ur server as well as the host name in hosts file. then try.

regards

Sumit

Former Member
0 Kudos

been there, done that...

it seems that nothing is working

Former Member
0 Kudos

Hello ,

I am also facing the same isue.

Sumit,

Which system's host name and which system's ipaddress are you talking about..?

Looking forward to your reply.