cancel
Showing results for 
Search instead for 
Did you mean: 

JCO Connection Error---URGENT!!!

Former Member
0 Kudos

Hi

I created JCO connections to a sap server. The SLD was good and ok. However, from the JCO I am getting this error.

Please let me know <b>what is the solution to fix them.</b>

-


com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=hpacsap GROUP=PUBLIC R3NAME=DEV MSSERV=sapmsDEV PCS=1 LOCATION <b>CPIC (TCP/IP) on local host with Unicode ERROR service 'sapmsDEV' unknown</b> TIME Thu Apr 21 13:26:51 2005 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -3 MODULE ninti.c LINE 494 <b>DETAIL NiPGetServByName2: service 'sapmsDEV' not found</b> SYSTEM CALL getservbyname_r COUNTER 4

-


Thanks

Nutida

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Manish,

-Is it correct if Gateway host is the name of Exchange Infrastructure server,webas ?

-Is it correct that i choose "_SLD_RFC" in the part of data correction programs?

Thank you

Nutida

Former Member
0 Kudos

Hi

Check if your message server is mentioned properly in your SLD. Also ensure that you have added that entry in the services file of windows nt. If you log in to your ABAP system at the right hand bottom , you would find a 3 letter caption. Just go to your services file and say

sapms<the 3 letter name> . Press a tab and then enter the port number as 36<instance number>. If instance number is 01 enter it as 3601.

The error you are getting mainly happens in case of Message server not being proper.

regards

Ravi

Answers (9)

Answers (9)

Former Member
0 Kudos

Hi Nutida,

Can you check, have you added "sapmsDEV" and the port 3600/tcp in your service file? if yes, then i think the entries that you have given under sld should be wrong. make sure that your group "PUBLIC" exists in R3 and the Host name is correct in sld.

Cheers,

Kumar

Former Member
0 Kudos

Hi there,

I'm not sure in my SLD configuration. Would you please check mine, Is it correct?

<b>

Maintain SLD connection Parameter</b>

Host name: <XI server>

port:50000

user:XIAPPLUSER

<b>Maintain server setting in the SLD</b>

http://<XI server>:50000/sld

user:xisuper

Object Server:<XI server>

Working Directory:/usr/sap/<XI server>/SYS/global/sld

<b>Configuring the SLD client with the SLD Administration</b>

Gateway Server: <XI server>

Service: sapgw00

<b>Maintaining the ABAP Connection</b>

Host:<XI server>

Service:sapgw00

<b>Configuring the SLD Data Supplier Service in the Visual Administrator</b>

Host:<XI server>

Port:50000

User:XISUPER

<b>Creating RFC Destination in the ABAP Environment</b>

Target Host:<XI server>

Service No: 50000

user: xiisuser

<b>Creating RFC Destination in the ABAP and JAVA Environment</b>

<i>ABAP:AI_RUNTIME_JCOSERVER</i>

Gateway Host: <XI server>

Gateway Service: sapgw00

<i>ABAP:AI_DIRECTORY_JCOSERVER</i>

Gateway Host: <R3 server>

Gateway Service: sapgw00

<i>ABAP:LCRSAPRFC</i>

Gateway Host: <R3 server>

Gateway Service: sapgw00

<i>ABAP:SAPSLDAPI</i>

Gateway Host: <R3 server>

Gateway Service: sapgw00

<i>

JAVA</i>

Application Server: <XI server>

system number: 00

Client: 200

user: SAPJSF

Thank you,

Nutida

Former Member
0 Kudos

Hi there,

I'm not sure in my SLD configuration. Would you please check mine, Is it correct?

Maintain SLD connection Parameter

Host name: <XI server>

port:50000

user:XIAPPLUSER

Maintain server setting in the SLD

http://<XI server>:50000/sld

user:xisuper

Object Server:<XI server>

Working Directory:/usr/sap/<XI server>/SYS/global/sld

Configuring the SLD client with the SLD Administration

Gateway Server: <XI server>

Service: sapgw00

Maintaining the ABAP Connection

Host:<XI server>

Service:sapgw00

Configuring the SLD Data Supplier Service in the Visual Administrator

Host:<XI server>

Port:50000

User:XISUPER

Creating RFC Destination in the ABAP Environment

Target Host:<XI server>

Service No: 50000

user: xiisuser

Creating RFC Destination in the ABAP and JAVA Environment

ABAP:AI_RUNTIME_JCOSERVER

Gateway Host: <XI server>

Gateway Service: sapgw00

ABAP:AI_DIRECTORY_JCOSERVER

Gateway Host: <R3 server>

Gateway Service: sapgw00

ABAP:LCRSAPRFC

Gateway Host: <R3 server>

Gateway Service: sapgw00

ABAP:SAPSLDAPI

Gateway Host: <R3 server>

Gateway Service: sapgw00

JAVA

Application Server: <XI server>

system number: 00

Client: 200

user: SAPJSF

Thank you,

Nutida

Former Member
0 Kudos

Sorry, i forgot one question.

If the above error affects, how to fix the problem?

Thank you again.

Nutida

Former Member
0 Kudos

Hi VIP,

I wonder this <b>Does the following error can affect to JCO connection fail?</b> I check my RFC connections through SLDCHECLK, It has an error as follow:

Exchange Infrastructure: Test LCR Connection

-


Properties of RFC destination SAPSLDAPI

RFC host: %%RFCSERVER%%

program id: SAPSLDAPI_RD1

gateway host: webas

gateway service: sapgw00

Testing the RFC connection to the SLD java client...

RFC ping returned exception with message:

Error opening an RFC connection.

-


Summary: Connection to SLD does not work

=> Check SLD function and configurations

-


Now checking access to the XI Profile

Properties of RFC destination LCRSAPRFC

RFC host: %%RFCSERVER%%

program id: LCRSAPRFC_RD1

gateway host: webas

gateway service: sapgw00

Testing the RFC connection to the SLD java client...

RFC ping returned exception with message:

Error opening an RFC connection.

Thanks,

Nutida

Former Member
0 Kudos

Please check your Getway Host & Getway Service using RZ70

Manish

Former Member
0 Kudos

Hi,

The problem could be in the MessageServer name that you have entered in the SLD (while adding the system info in SLD).

The SLD you are going to refer in the content admin for Jco connection. So it will display all the list of systems in the dropdown box while creating Jco destination.

One more problem could be with the ticket!!Change the user authentication from ticket to "user.password" while creating the Jco destination and enter your username and password on the R/3 system and try

Regards, VIP

Former Member
0 Kudos

My SLD configuration on XI server, webas, as follow:

(JCO is in another server, AII)

1.Applying SAP NOTE 712594

webas/.../etc/service ---> sapgw00 33000/tcp

sapgw00s 4800/tcp

2.Maintain SLD connection Parameter

Host name: WEBAS

port:50000

user:XIAPPLUSER

3.Maintain server setting in the SLD

http://webas:50000/sld

user:xisuper

Object Server:webas

Working Directory:/usr/sap/webas/SYS/global/sld

4.Configuring the SLD client with the SLD Administration

Gateway Server: webas

Service: sapgw00

5.Maintaining the ABAP Connection

Host:webas

Service:sapgw00

6.Configuring the SLD Data Supplier Service in the Visual Administrator

Host:webas

Port:50000

User:XISUPER

7.Creating RFC Destination in the ABAP Environment

Target Host:webas

Service No: 50000

user: xiisuser

8.Creating RFC Destination in the ABAP and JAVA Environment

ABAP:

Gateway Host: webas

Gateway Service: sapgw00

JAVA:

Application Server: webas

system number: 00

Client: 200

user: SAPJSF

Thank you.

Former Member
0 Kudos

Hi VIP,

The error occur when test its connection, which using Ticket method, and ping also fail.

<b>Would you please specific the part of SLD that i should correct? I am not sure where is used for configure the Message Server.</b>

Example: Part of SLD on XI

-SLD connection Parameters in the integration Server

-Server setting in SLD

-Configuring SLD Bridge

-Maintain a business system for the integration Server etc.

-


My scenario as follow:

-Backend, R/3 server

-Exchange Infrastructure, WEBAS server

-Adapter Engine, AII server

Thanks,

Nutida

Former Member
0 Kudos

Hi Nutida ,

Are you getiing this error in contentAdministrator while configuring the Jco connection ?? (While testing the connection ?).

If so it looks like the system that you have added in the SLD is wrong. Please check the messageserver name once again in SLD and create connection once again.

Regards, VIP