Skip to Content
avatar image
Former Member

Failed to create new JCO client connection WD_FLIGHTLIST_RFC_METADATA_DEST:

I tried the demo in Sdn , failed?

why?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Aug 15, 2005 at 01:12 PM

    Hello hua zhu,

    Did you "Configure the JCo Client connection needed by your Web Dynpro application which uses Adaptive RFC."? You can do that by following the steps as under:

    1)To start the Content Administrator go to the following URL: (your local j2ee engine)

    http://<Server Name>:52000/WebDynpro/welcome/Welcome.jsp

    Click the “Content Administrator” link.

    • Please note that the above link may not work for you. You need to find out with your System Administrator what applies to you ****

    2)You will need to logon using your administrator user and password.

    3)Click the “Maintain JCo Destinations”. You should now see the screen shown below:

    4)Maintain the destination “WD_FLIGHTLIST_MODELDATA_DEST”, to do this click the “Edit button” in its row.

    5)Enter in the client:

    6)Click Next. Then click next again, taking the default on settings on the next screen.

    7)Select Application Data radio button. Keep the other defaults.

    8)Click Next

    9)Select the Message Server: “XXXX” – this will connect you to the SAP system on XXXX.

    10)Select Logon Group SPACE

    11)Click Next.

    12) Enter in the user name and password:

    13)Set the language to English.

    14) Click Next.

    15) Click Finish.

    16) Click the Test button for your destination. You should see a success message at the bottom of your browser:

    Now do the same thing for the “WD_FLIGHTLIST_RFC_METADATA_DEST”. Make sure to select the “Dictionary Meta Data” radio button shown below:

    For the rest of the entries, use the same data specified above.

    If there are no entries for the WD_FLIGHTLIST_RFC .... and MODELDATA .... you would have to create the JCo connections and that you can do by going thru this article http://help.sap.com/saphelp_nw04/helpdata/en/77/931440a1c32402e10000000a1550b0/frameset.htm

    Hope the above helps. Good Luck

    Regards,

    Dharmi

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 16, 2005 at 01:57 AM

    Sorry I forget posting the msg:

    for WD_FLIGHTLIST_MODELDATA_DEST:

    nnection for 'WD_FLIGHTLIST_MODELDATA_DEST' was sucessfully tested with user 'ZZHZHU'

    But :

    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(WebDynproMainTask.java:100) at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:299) at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:640) at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59) at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:251) at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154) at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116) at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:391) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:265) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:345) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:323) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:865) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:240) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37) at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged1(Native Method) at java.security.AccessController.doPrivileged(AccessController.java:321) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162) Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve connection parameter for WD_FLIGHTLIST_RFC_METADATA_DEST at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter4MsgServerJCODestinaton(JCOClientConnection.java:664) at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter(JCOClientConnection.java:508) at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.init(AbstractJCOClientConnection.java:247) at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.<init>(AbstractJCOClientConnection.java:221) at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.<init>(JCOClientConnection.java:101) at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnection(SystemLandscapeFactory.java:138) ... 31 more Caused by: java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:474) at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter4MsgServerJCODestinaton(JCOClientConnection.java:558) ... 36 more

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Hua,

      From your message I understand that you have successful connection with WD_FLIGHTLIST_MODELDATA_DEST but not for the WD_FLIGHTLIST_RFC_METADATA_DEST!!! Did u make sure to select the “Dictionary Meta Data” radio button ?

      Regards,

      Dharmi

  • Dec 08, 2006 at 02:49 AM
    Add comment
    10|10000 characters needed characters exceeded