cancel
Showing results for 
Search instead for 
Did you mean: 

JCo Destination Failing With RFC_Error_COMMUNICATION

Former Member
0 Kudos

Hi Gurus,

We installed a new Bi system with ABAP and JAVA stacks on different hardware and SIDs, now we have problem in integration where JCO BI Meta Data connection is giving following error if I test it. Ping is also failing.

com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=host.domain.com GROUP=PUBLIC R3NAME=<SID> MSSERV=sapms<SID> PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR service 'sapms<SID>' unknown TIME Tue Aug 10 05:26:09 201 RELEASE 701 COMPONENT NI (network interface) VERSION 38 RC -3 MODULE nixxhsl.cpp LINE 776 DETAIL NiHsLGetServNo: service name cached as unknown COUNTER 2

I checked sapms<SID> in etc -> services on ABAP host it is defined to message server port, I have added sapms<SID> as 8100 in SLD connection.

All three connections from portal as successful, still JCo destinations are not working.

Note:I have initally added message server port as 3600 in SLD connection where I replaced it to 8100 now, not sure whether this has any impact.

Kindly help.

Thanks

Gopal

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Make the entries Sapms<sid> 36XX/tcp in the etc files of both the systems.

Regards,

Vamshi.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Please add the sapmsSID entries for both systems (java and abap) in the /etc/services file of BOTH SERVERS. This means that each server should have entries for every system in your landscape.

Additionally, please ensure that this is set to 36<NN> and not 8100 as you mentioned. The reason is that 8100 is ABAP HTTP port, but 36<NN> is message server port. These two are different.

Try this.

Regards,

Shitij

Former Member
0 Kudos

Hi Vamsi/Shitij,

I changed SLD settings,edited services file and bounced the system, now JCo connections are working fine..

Thanks for your suggestions.

Regards,

Gopal.VVS