cancel
Showing results for 
Search instead for 
Did you mean: 

Jco Connection problem

Former Member
0 Kudos

Hi all...

I have a Exec_Flight program .provided by SAP.

I am getting a problem creating a JCo connection for BAPI ...

When I run and deploy the program it gives following error though the JCo created as

WD_FLIGHTLIST_RFC_METADATA_DEST

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve JCO destination name 'WD_RFC_METADATA_DEST' in the SLD. No such JCO destination is defined in the SLD.

When I am trying to create a JCo in content admin, at the connection settings it displays default Message server.

Once I click the Finish for creating it says message server not available and the connections settings are empty.

and the JCo is not getting created....

Any guess what is the problem here exactly??

Thanks

Amit

Edited by: amit bhisekar on Jun 23, 2008 7:05 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ,

Did you register your J2EE Engine here?

Window->Preferences->SAP J2EE Engine -> Selected the first radio button i.e installed on a remote host, and gave message server host and message server port.

Go through the Link to Create JCO Connection step by Step with Screen Shots.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/526bd490-0201-0010-038e-d3ff7eb1...

http://help.sap.com/saphelp_nw04/helpdata/en/3a/3b1b40fcdd8f5ce10000000a155106/frameset.htm

If you selected connection type "Load-balanced connection",in the previous step then you must define a message server.Otherwise its not mandatory.

Points are welcome if it is helpful

Koti Reddy

Former Member
0 Kudos

you should select your message server in the dropdown...not defaulted one.

check whether you entered the message server entry in the host file of the file system

if it is windows-go to run type drivers-etc-hosts

Did you register your J2EE Engine here?

Window->Preferences->SAP J2EE Engine -> Selected the first radio button i.e installed on a remote host, and gave message server host and message server port ( this message server host name will appear in jco creation steps) .Otherwise you have to create Technical system in SLD.

For more information

Check these links

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/obtainingDetailsfromBackendSystem%28toassistincreatingsysteminportalSLD%29

http://help.sap.com/saphelp_nw04s/helpdata/en/f1/92b248db68409487661ff13239127d/frameset.htm

Points are welcome if it is useful

Koti Reddy

Former Member
0 Kudos

Thanks for your reply ....

I have already done Window->Preferences->SAP J2EE Engine settings in Developer studio.

Which shows me J2EE correctly...green

The error I have specified was after deployment.

Deployment was done correctly without any error...

When creating JCo's in WD Content administration window, In the drop down of selecting message server is only one and that is local.

Once I press Finish to complete Jco settings it says

MsgServerName is not defined.

SystemName is not defined.

LogonGroupName is not defined.

Pls. let me know if you have any hint if I am missing some settings here....

Regards!

Amit

ashish_shah
Contributor
0 Kudos

Hi,

Check these links,

I guess you need to start from defining/ registering your R/3 sytem in your WAS SLD.

[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07753b9-fa0c-2a10-64a8-c6754c45396e]

[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3103eb90-0201-0010-71af-be6f4a6f61d1]

Let me know if you still can not find the solution.

Regards,

Ashish

Former Member
0 Kudos

Hi ,

Thanks for the reply.

Since there were two JCo were created.... I have below this procedure

http://help.sap.com/saphelp_nw04/helpdata/en/61/42897de269cf44b35f9395978cc9cb/content.htm

Even though registering SLD in the Visual Administrator.

in the NW administration i.e. http://<host ip>:<port>/nwa

it says SLD is not connected.

but from WebDynpro Content Administration SLD Connection is fine.

Any thoughts??

ashish_shah
Contributor
0 Kudos

The link you sent is for Web Application server ABAP,

can you confirm whether your server is

Web Application server ABAP or

Web Application server java or

Web Application server ABAP + Java.

Also what is your server version.

you can check server version using these links

[/thread/20501 [original link is broken];

[/thread/420798 [original link is broken];

Ashish

Former Member
0 Kudos

Refer to the SLD help. You've forget to set the relevant "CIM Settings" in Visual Admin.

Regards,

Daniel

Former Member
0 Kudos

Guys this problem has been resolved...

I have started the CMS application in Visual Admin and added the CMS server in the SLD landscape.

(this has created the MODELDATA Jco Connection in SLD)

For METADATA JCo

I have created a Logon Group and run report "rsrzllg0_actual" in SE38 to change rdisp/autoabaptime parameter....

now create the JCo manually in WebDynpro Content Administration.

and Deploy the program....

Cheers!

Amit