cancel
Showing results for 
Search instead for 
Did you mean: 

Error while testing new Jco Destination

Former Member
0 Kudos

Hi all,

I am configuring the SLD. I created the Jco, and while I clicked 'Test' , I am getting the below eror.

[code]com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B

MSHOST=aprins05 GROUP=SPACE R3NAME=ID1 MSSERV=sapmsID1 PCS=1 ERROR <b>service 'sapmsID1' unknown</b>TIME Wed Nov 21 11:19:41

2007 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -3 MODULE nixxhsl.cpp LINE 776 DETAIL

NiHsLGetServNo: service name cached as unknown COUNTER 2[/code]

<b>Note :</b> I have added the parameter 'sapms<system name>' <portno>. to the services file.

What could be the problem?

Thanks,

Prabhakar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The following will help:

1. Check whether the message server port is open to access from the server.

2. A restart of the server will recognise the service file entry.

Regards

Srinivasan.

Former Member
0 Kudos

Hi Srinivas,

Thanks for your reply,

The message server port is open.

I have already restarted the server and the system too.

Thanks,

Prabhakar.

Former Member
0 Kudos

HI

1.The first problem might be the message server port not been opened.

Try to ping or telnet message server port of backend system from your portal....

2.Problem with the groups.

Check if the group is existing using SMLG transaction and the sttus is green,If the group is not existing create one.

3.The parameters while creating technical system might be wrong.

Check for all parameters.

4.Make an entry in the hosts file too.

Regards

Akshaya

Former Member
0 Kudos

Hi Akshaya Bhat,

1. How to ping the message server port of the backend system?

2. I used the SMLG transaction, there is a group called 'PUBLIC', and its status is <b>green</b>.

3. I hope that all the parameters, must be correct, because I have already configured two of my collegues system, and created the JCo's, they are working properly.

Thanks,

Prabhakar.

Former Member
0 Kudos

Hi

Use rz70 transaction ,go to SLD_MSGSRV and click test.

There you can find host name and port number.

Now go to command prompt ,give the command

<b>ping hostname</b>

Try to telnet by giving

telnet hostname portnumber

Former Member
0 Kudos

Hi,

I gave the ping command in the command prompt, but "request timed out".

Thanks,

Prabhakar.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi All,

My problem is solved. Thank you all.

We are using two host names, which look similar to each other.I made a small mistake in the host name in 'hosts' file. When I changed it, the JCos are working.

Thanks,

Prabhakar.

Former Member
0 Kudos

Check here

<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/f6/daea401675752ae10000000a155106/content.htm">JCo Exceptions</a>

try to change the logon group - SPACE or PUBLIC

Former Member
0 Kudos

Hi,

Check if the file C:\WINDOWS\system32\drivers\etc\services contains the entry -

sapmsID1 36XX/tcp (where XX is usually 00)

Aviad

Former Member
0 Kudos

Hi all,

When I tested SLDMSGSRV as said by Akshaya Bhat, it gave the messageport as 3601, I used 3901 while creating Technical system in two of my collegues system, they are woking fine.

In my system, I tried both 3601 and 3901, but no use.

Hi Aviad Levy, in 'services' file I have the entry sapmsID1 3601(I changed the port number to 3901, whenever I change it in Technical system)(I have also tried restarting the system, after changing that entry)

Thanks and Regards,

Prabhakar

Former Member
0 Kudos

Hi

I think ports need to be opened from backend system to your system.

Regards

Akshaya