cancel
Showing results for 
Search instead for 
Did you mean: 

Reg: JCO Destination Test Error

former_member216430
Participant
0 Kudos

Hi,

        I configured JCO Destination I select one JCO Connection like " SAP_ECC_Financial"  give backend system.

1. client:XXX,

2. Use local J2EE engine: I selected My Backend system host name

and select "check box"

3. Datatype: Application Data

4. Define the message server, system name and the logon group used by the JCO connection.

   

    Message Server: showing solution manager server only

    Enter Hostname Manually: My backend sapgw12 (message server name)

    System Id: showing Solution manager SID

5. Given User and password: My Backend System details

6. Finish showing Green color.

7. Click Test I got Error

com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connection parameters: TYPE=B DEST=<Java Rfc client> MSHOST=sapgw12 R3NAME=SM1 GROUP=SPACE PCS=1  ERROR       service 'sapmsSM1' unknown TIME        Wed Mar 20 14:28:11 201 RELEASE     701 COMPONENT   NI (network interface) VERSION     38 RC          -3 MODULE      ninti.c LINE        530 DETAIL      NiPGetServByName2: service 'sapmsSM1' not found SYSTEM CALL getservbyname_r COUNTER     1

SLD Data Supplier connection is Done

I Think this only Error.


4. Define the message server, system name and the logon group used by the JCO connection.

How to solve this error. Finaly give points.

Accepted Solutions (1)

Accepted Solutions (1)

former_member185239
Active Contributor
0 Kudos

Hi selva,

Since you are using logon group SPACE right.

You need to maintain the entry in services file on the host where you are creating the JCO connection.

If you see the error carefully it saying

R3NAME=SM1 GROUP=SPACE PCS=1  ERROR       service 'sapmsSM1' unknown

so maintain the entry in services file

sapmsSM1 3612/tcp

This will resolve the issue.

With Regards

Ashutosh Chaturvedi

former_member216430
Participant
0 Kudos

Ashutosh,

    I updated service file            sapmsSM1 3612/tcp            This things, but I selected one JCO Destination sucessfully created showing message at bottom like


JCo destination 'SAP_R3_Financials' was successfully created in SLD.

But The JCO Status showing Red Color button.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Selva,

Please check the below link which says you add the below in the services file.

sapmsSM1          3612/tcp                           # SAP System Gateway Port

I dont think there is any issue in the VA.

Also you can find the same infor regarding the adding the port details in the below link.

https://scn.sap.com/thread/24853

former_member216430
Participant
0 Kudos

Thanks to All

That JCO Destination configuration is done I had Tested, its successcully finished.

Thanks Thanks to All..........

Former Member
0 Kudos

hai raj,

The above details you have to give in visual admin tool securestorage under logon method u can give the inputs.again u can check it.

TWO systems must register in sld.SLD also in updated version.

thanks

narendra

former_member216430
Participant
0 Kudos

Narendra,

      Portal server upto date java patch level is update in sld.

Former Member
0 Kudos

raj,

check once securestorage area check the logon methode...give the required inputs

former_member216430
Participant
0 Kudos

Narendra,

  This is my securestore page where I will give input information, which inforformation is required pls explain.

patelyogesh
Active Contributor
0 Kudos

Hello Selva,

1.

Please check following line is added to your  windows service.ini file

sapmsSM1      3612/tcp 

Service file location is at :  X:\Windows\System32\drivers\etc

2.

Check that you are able to ping destination SAP server from source SAP server.

If you are still not able to ping destination please post errors.

Thank you

Yogesh

Former Member
0 Kudos

Hi,

It looks like you've set the MSHOST as the name of the gateway service.  Either change this to 3212 (ms port number) or the hostname of the host.  Try those first.

Regards,

Graham

former_member216430
Participant
0 Kudos

Hi Graham,

      I try with hostname another one JCO like "Metadata" Status showing

JCo destination 'SAP_ECC_Financials_MetaData' was successfully created in SLD.

could not showing Green color status

Former Member
0 Kudos

Hi,

Sorry, I don't understand your reply.  Have you changed the hostname to the name of the ECC server?  Or have you changed the service to the port number of the message server, i.e. 3200+instance number?  It's something to do with the connection parameters.

Regards,

Graham

former_member216430
Participant
0 Kudos

Graham,

I having some doubts, First of all JCO connection purpose In backend system ECC is required or solution manager is required pls explain.

I am not changing anything, newly I enter the hostname, our botton side your JCO Destination is successfully Finished, icon showing Red color, then I click TEST showing

I got this Error.

com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connection parameters: TYPE=B DEST=<Java Rfc client> MSHOST=sapgw12 R3NAME=SM1 GROUP=SPACE PCS=1 ERROR       service 'sapmsSM1' unknown TIME        Wed Mar 20 14:28:11 201 RELEASE     701 COMPONENT   NI (network interface) VERSION     38 RC          -3 MODULE      ninti.c LINE        530 DETAIL      NiPGetServByName2: service 'sapmsSM1' not found SYSTEM CALL getservbyname_r COUNTER 1

JPReyes
Active Contributor
0 Kudos

service 'sapmsSM1' unknown

As suggested by Ashutosh.... You need to update your services file.

Regards, Juan

former_member216430
Participant
0 Kudos

Hi Juan,

I updated service file            sapmsSM1 3612/tcp            This things, but I selected one JCO Destination sucessfully created showing message at bottom like


JCo destination 'SAP_R3_Financials' was successfully created in SLD.

But The JCO Status showing Red Color button.

JPReyes
Active Contributor
0 Kudos

Whats the error message now?

former_member216430
Participant
0 Kudos

Juan,

Below check screen in bottom status updated successfully finished, but top Icon is showing.