Skip to Content
author's profile photo Former Member
Former Member

Jco error in TutWD_FlightList_Init demo

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!!

Add a comment
10|10000 characters needed characters exceeded

Related questions

6 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 26, 2005 at 06:06 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 26, 2005 at 06:13 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 26, 2005 at 08:55 AM

    no way:(

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 26, 2005 at 09:04 AM

    Hi hua,

    May be your sld is not configured correctly

    Go to these links and see how to configure sld

    creating/deploying webdynpro application on sneak preview of EP

    Hope this helps you

    Regards

    Rohit

    Message was edited by: Rohit Radhakrishnan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 26, 2005 at 09:55 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 01, 2005 at 05:52 AM

    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

    .....

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.