cancel
Showing results for 
Search instead for 
Did you mean: 

JCO Connection Error

Former Member
0 Kudos

Hi,

We created a JCo connection for ECC server. We are getting the following exception when we try pinging or when we press Test.

com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=hsdnt24s15 GROUP=PUBLIC R3NAME=C5R MSSERV=sapmsC5R PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR service 'sapmsC5R' unknown TIME Tue Feb 24 14:54:54 2009 RELEASE 711 COMPONENT NI (network interface) VERSION 39 RC -3 MODULE nixxhsl.cpp LINE 643 DETAIL NiHsLGetServNo: service name cached as unknown COUNTER 4

Regards,

Sudhir Gorantla

Accepted Solutions (1)

Accepted Solutions (1)

former_member197348
Active Contributor
0 Kudos

Hi Sudhir,

You have to make an entry in services file.

Go to C:\WINDOWS\system32\drivers\etc open services with notepad

In the last line make this entry

sapmsC5R msgserverport/tcp (e.g. 3600/tcp)

Save and close it.

Now test in WD content manager.

Regards,

Siva

Answers (4)

Answers (4)

Former Member
0 Kudos

Hello,

Can u tell me if you have solved this issue?

I'm getting the same error. Even after adding the sapms<SID> 3600/tcp in the host file, the error still remains the same.

Thanks!

Former Member
0 Kudos

You have to add the entries in the services file located under /etc .Once you have added the entry this should work fine.

Former Member
0 Kudos

add like this " sapmsC5R 3600/tcp # sap system C5R message server "

Former Member
0 Kudos

after u add that entry into the services file try creating a JCo connector.

Former Member
0 Kudos

Hey Ambarish,

Thanks! It got successful!

Regards!

former_member201361
Active Contributor
0 Kudos

Hi Sudhir,

refer this link for JCO:

[https://www.sdn.sap.com/irj/scn/wiki?path=/display/ep/troubleshooting%252bsap%252bjava%252bconnector%252b(JCo)]

Thanks and Regards'

Former Member
0 Kudos

Hi,

Check this link..

https://www.sdn.sap.com/irj/scn/wiki?path=/display/ep/troubleshooting%252bsap%252bjava%252bconnector...

or search the following

Troubleshooting SAP Java Connector (JCo)

John

Edited by: john paul on Feb 24, 2009 11:42 AM

Former Member
0 Kudos

HI

Please try connect to the backend , check if are able to connect to the backend.

you may face this problem if you are not able to connect to the backend.

for more information try to check this guide in SDN

Adaptive RFC- Troubleshooting Guide

murali