cancel
Showing results for 
Search instead for 
Did you mean: 

Jco error in TutWD_FlightList_Init demo

Former Member
0 Kudos

After I depolyed the .ear to the engine then in the web dynpro content administrator I try to create the Jco connections for WD_FLIGHTLIST_MODELDATA_DEST and WD_FLIGHTLIST_RFC_METADATA_DEST respectively. But I meet the following erroes:

1.for WD_FLIGHTLIST_MODELDATA_DEST

Failed to create new JCO client connection WD_FLIGHTLIST_MODELDATA_DEST: com.sap.lcr.api.cimclient.LcrException: CIM_ERR_ALREADY_EXISTS: Instance already exists:

.......

client:000

Application data

load-balanced connection

application server:hqd01_D01_00

Used mathod: ticket

2. for WD_FLIGHTLIST_RFC_METADATA_DEST

Failed to create new JCO client connection WD_FLIGHTLIST_RFC_METADATA_DEST: com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscapeException: Error while obtaining JCO connection. at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnection(SystemLandscapeFactory.java:140) at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.createJCOClientConnection(SystemLandscapeFactory.java:286) at com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscape.createJCOClientConnection(WDSystemLandscape.java:107) at com.sap.tc.webdynpro.tools.sld.ButtonBar.onActionFinish(ButtonBar.java:224) at com.sap.tc.webdynpro.tools.sld.wdp.InternalButtonBar.wdInvokeEventHandler(InternalButtonBar.java:252) at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87) at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67) at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction

.....

client:000

Dictionary Meta Data

messager server:D01 hqd01

Used mathod: User/Password

name:zzhzhu

password:******

-


here I have some issues:

1. client 000 is right or not? it should be login client of backend R/3, right?

the backend R/3 login client is 100, should I change 000 to 100?

2.Used mathod: User/Password

name:zzhzhu

password:******

is the backend R/3 login or J2ee engine login?

thanks a lot!!

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Yes, I did but still failed.

1.For WD_FLIGHTLIST_MODELDATA_DEST

client:100

Application data

load-balanced connection

application server:hqd01_D01_00

Used mathod: ticket

Failed to create new JCO client connection WD_FLIGHTLIST_MODELDATA_DEST: com.sap.lcr.api.cimclient.LcrException: CIM_ERR_ALREADY_EXISTS: Instance already exists:

.......

2. for WD_FLIGHTLIST_RFC_METADATA_DEST

client:100

Dictionary Meta Data

messager server:D01 hqd01

Used mathod: User/Password

name:zzhzhu

password:******

Failed to create new JCO client connection WD_FLIGHTLIST_RFC_METADATA_DEST: com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscapeException: Error while obtaining JCO connection. at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnection(SystemLandscapeFactory.java:140) at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.createJCOClientConnection(SystemLandscapeFactory.java:286) at com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscape.createJCOClientConnection(WDSystemLandscape.java:107) at com.sap.tc.webdynpro.tools.sld.ButtonBar.onActionFinish(ButtonBar.java:224) at com.sap.tc.webdynpro.tools.sld.wdp.InternalButtonBar.wdInvokeEventHandler(InternalButtonBar.java:252) at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87) at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67) at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction

.....

Former Member
0 Kudos

Hi hua,

Go to this thread

It deals with the same problem

Ragards

Rohit

Former Member
0 Kudos

Hi Hua,

Were you able to create the JCO successfully but got the exception during runtime? If not,the simple steps you need to follow to create a JCO destination, provided you have configured your J2EE system, R/3 group etc correctly are listed below. Please check if the entries you gave were similar to these or not. Hope this helps you.

From clicking on the 'Create JCO destination' tab, the steps are :

1)

Name of the Destination : Provide a unique name for the destination

Client no: Enter your client no: for the R/3 system (in your case 100)

Copy from existing : If you check this option you can copy some of the properties from an already existing JCO destination.

2) select j2ee engine from the drop down.

3) data type & destination type :

Data type - dictionary & application : Select the data type of JCO destination you are creating.

Destination type - select the kind of connection you want to use (note that Load balanced connection can be used only for application data type).

4) msg server & R/3 logon group : Select Your R/3 system and the corresponding logon group as 'public'

5) user name & password : provide the user name & password for your R3 system

6) Click finish to create the JCO destinaton. Go to 'Maintain JCO destinations'. There you will be able to see the new destination you created. Click on the 'test' button to test the JCO destination.

If you faced problems in any of these steps or did not get the expected value in any of the dropdowns please let us know. This might help us to know if your problem is with JCO or SLD and give corresponding solutions.

Best Regards,

Nibu.

Former Member
0 Kudos

Hi hua,

May be your sld is not configured correctly

Go to these links and see how to configure sld

Hope this helps you

Regards

Rohit

Message was edited by: Rohit Radhakrishnan

Former Member
0 Kudos

no way:(

Former Member
0 Kudos

hi hua,

https://www.sdn.sap.com/sdn/developerareas/webdynpro.sdn?page=TutWD4_AccessingABAP.htm

This tutorial explains how to create JCO destinations

Make sure you have selected Dictionary Meta Data when creating WD_RFC_METADATA_DEST.

hope this helps you

Regards

Rohit

Former Member
0 Kudos

hi Hua,

1.Your backend R/3 login client is 100. change 000 to 100

2.Used mathod: User/Password

should be that of r3 system

Regards

Rohit