cancel
Showing results for 
Search instead for 
Did you mean: 

JCo conenction error

Former Member
0 Kudos

Hi

I am trying to establish a JCo conenction for a web dynpro application. After establishing the JCo connection, when I test the connection I get the error message given below:

com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=alfdv04 GROUP=Development R3NAME=DEV MSSERV=sapmsXXX PCS=1 ERROR service 'sapmsXXX' unknown TIME Fri May 25 14:46:47 2006 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -3 MODULE niuxi_mt.c LINE 576 DETAIL NiPGetServByName2: service 'sapmsXXX' not found SYSTEM CALL getservbyname_r COUNTER 1

We are using EP 6.0 SP11. Please help.

Thank you

-Mark

Accepted Solutions (0)

Answers (1)

Answers (1)

achim_hauck2
Active Contributor
0 Kudos

Mark,

edit your "services" file (/etc in Unix, windor/system32/drivers/etc in windows)

insert a line:

sapmsXXX 36xx/tcp

(where xx is the systemnr. of your sap system XXX, most likely 00)

after that, restart your os.

kr, achim