cancel
Showing results for 
Search instead for 
Did you mean: 

(102) RFC_ERROR_COMMUNICATION. Not able to figure out.

Former Member
0 Kudos

Hello,

When I test/ping the JCo connection, I get this error:


com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message 
server host failed Connect_PM  TYPE=B MSHOST=ecquality GROUP=GEMS_GROUP 
R3NAME=ECQ MSSERV=sapmsECQ PCS=1 ERROR       hostname 'ecquality' unknown TIME
Mon Mar 23 22:00:09 2009 RELEASE     700 COMPONENT   NI (network interface) VERSION
38 RC -2 MODULE nixxhsl.cpp LINE 223 DETAIL NiHsLGetNodeAddr: hostname cached as unknown COUNTER 2 

I read many threads and tried various steps. Can anybody tell me how to fix.

Thanks

Tony

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Looks like you have given some wrong host name while creating JCOs..

Answers (3)

Answers (3)

nikhil_bose
Active Contributor
0 Kudos

Tony,

Are you able to ping the server 'ecquality'? from J2EE server? Usually this is the error when the server can't connect to other machine in network.

logon to 'ecquality' system: T.Code SMLG and check the group GEMS_GROUP has ext-RFC enabled checked. if not check and save assignment.

alternatively, you can find the cause from dev_jrfc.trc file available under saploc\<SID>\JC<nr>\j2ee\cluster\server0\

Former Member
0 Kudos

The actual problem was the host name had been changed by our network people(couldn't ping), and the group configuration on the R3 was also messed up.

former_member185086
Active Contributor
0 Kudos

Hi

Have u done the host file entries for those system which u define in the jco.(After this restart the system)

Best Regards

Satish Kumar

Former Member
0 Kudos

I added host file entries for the system that I defined in the jco (Message server). I still get the error


com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to 
message server host failed Connect_PM TYPE=B MSHOST=ecquality 
GROUP=GEMS_GROUP R3NAME=ECQ MSSERV=sapmsECQ PCS=1 ERROR service 
'sapmsECQ' unknown TIME Tue Mar 24 00:53:26 2009 RELEASE 700 COMPONENT 
NI (network interface) VERSION 38 RC -3 MODULE nixxhsl.cpp LINE 776 
DETAIL NiHsLGetServNo: service name cached as unknown COUNTER 1 

Former Member
0 Kudos

On the portal server in services file add the entry

%WINDIR%system32driversetc

sapmsECQ 3600/tcp # SAP System Messaging Service Port

This should work!

For Troubleshooting SAP Java Connector (JCo) , take help of this wiki:

https://www.sdn.sap.com/irj/scn/wiki?path=/display/ep/troubleshootingSAPJavaConnector%2528JCo%2529

Regards,

Anagha

Former Member
0 Kudos

Hi Tony ,

Are you getting this error while test/pinging both Application data and Dictionary data ??

Regards,

Abhijeet

former_member185086
Active Contributor
0 Kudos

Hi

Take help form [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0019b1a-775f-2910-beb8-d81f27d0d8d0] and [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7a16201d-0d01-0010-07a6-a3c56470d8f4] threads.

Best Regards

Satish Kumar

Former Member
0 Kudos

Hi Anagha,

I did what you said and restarted the server. Still I get this error:


com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to 
message server host failed Connect_PM TYPE=B MSHOST=ecquality 
GROUP=GEMS_GROUP R3NAME=ECQ MSSERV=sapmsECQ PCS=1 ERROR partner 
'ecquality:sapmsECQ' not reached TIME Tue Mar 24 01:21:32 2009 RELEASE 
700 COMPONENT NI (network interface) VERSION 38 RC -10 MODULE nixxi.cpp
 LINE 2823 DETAIL NiPConnect2 SYSTEM CALL connect ERRNO 10061 ERRNO TEXT
 WSAECONNREFUSED: Connection refused COUNTER 1 

I think my host file is wrong???

Former Member
0 Kudos

For this error, the wiki mentions:

Check if the ECC system exists and the Technical system is configured properly

Former Member
0 Kudos

What is your message server port ? Is it 3600 or 3601?

Can you give a try with 3601..in the services file.

i.e, sapmsECQ 3601/tcp

Former Member
0 Kudos

HI ,

Make an entry(X System) in the hostfile of message server(S).

EX:Messaeg Server :S

And JCO s are configures in :X System.

Regards,

Lavanya.G