cancel
Showing results for 
Search instead for 
Did you mean: 

Jco error

Former Member
0 Kudos

Hi,

I am getting the following error on test :

com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=cicep GROUP=SPACE R3NAME=CEP MSSERV=sapmsCEP PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR service 'sapmsCEP' unknown TIME Mon Aug 17 12:35:13 2009 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -3 MODULE nixxhsl.cpp LINE 776 DETAIL NiHsLGetServNo: service name cached as unknown COUNTER 4

and on ping:

Failed to ping JCo destination 'WD_RFC_METADATA_DEST'.

Thanks,

Anumit

Accepted Solutions (1)

Accepted Solutions (1)

markus_doehr2
Active Contributor
0 Kudos

> com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=cicep GROUP=SPACE R3NAME=CEP MSSERV=sapmsCEP PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR service 'sapmsCEP' unknown TIME Mon Aug 17 12:35:13 2009 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -3 MODULE nixxhsl.cpp LINE 776 DETAIL NiHsLGetServNo: service name cached as unknown COUNTER 4

- open your services file (c:\windows\system32\drivers\etc\services)

- add a new line with "sapmsCEP 3600/tcp" (if the system number of CEP is 00)

- add one blank line

- save

Retry

Markus

Former Member
0 Kudos

Hi Markus,

Its already there in service file and also maintaied in host entries also.

Thanks,

Anumit

markus_doehr2
Active Contributor
0 Kudos

Is there a blank line after that line? If not, then Windows will not read the last line...

Markus

Former Member
0 Kudos

Yes markus it is there..

i have read one thread and found that there is to maintain the sap R/3 system id (CEP) in the service of j2ee??

How can we do that??

Thanks,

Anumit

markus_doehr2
Active Contributor
0 Kudos

The error message is clear, the gateway on the machine doesn't "know" the service. you may need to restart the gateway (and hence your J2EE instance).

Markus

Former Member
0 Kudos

Hi Markus,

After doing the following we are getting the below error:

open your services file at j2ee (.....drivers\etc\services)

- add a new line with "sapmsCEP 3602/tcp"

- add one blank line

- save

- Restart the j2ee engine.

error:

com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=cicep GROUP=SPACE R3NAME=CEP MSSERV=sapmsCEP PCS=1 ERROR hostname 'cicep' unknown TIME Mon Aug 17 17:26:45 2009 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -2 MODULE nixxhsl.cpp LINE 223 DETAIL NiHsLGetNodeAddr: hostname cached as unknown COUNTER 1

markus_doehr2
Active Contributor
0 Kudos

> com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=cicep GROUP=SPACE R3NAME=CEP MSSERV=sapmsCEP PCS=1 ERROR hostname 'cicep' unknown TIME Mon Aug 17 17:26:45 2009 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -2 MODULE nixxhsl.cpp LINE 223 DETAIL NiHsLGetNodeAddr: hostname cached as unknown COUNTER 1

Now the hostname "cicep" is unkonwn. You have to enter that in your hosts file (same place as services) - or alternatively set it up in the DNS server you configured on the calling machine.

Markus

Former Member
0 Kudos

Hi,

The cicep is already in the system(my PC) of HOST file.

Is the same needed in the j2ee server also??

Thanks,

Anumit

markus_doehr2
Active Contributor
0 Kudos

> The cicep is already in the system(my PC) of HOST file.

And you execute the JCo connection where?

Markus

Answers (0)