Change Metadata JCO in Webdynpro application

Hello all,
I am trying to change the metadata jco destination in a webdynpro application.
Although I have changed this in property "logical system name" of the dictionary, I am getting this error when I run the application :
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve JCO destination name "OLD_JCO" in the SLD. No such JCO destination is defined in the SLD.
<b>The JCo destination seems to be pointing to the old jco (which does not exist anymore).</b>
I have changed the JCo destinations for many applications earlier but had never faced this problem. For some reason, one application is giving this error.
Is there any other place that needs to be updated with the new JCo destination?
Thanks and Regards,
Reena

Hi Suresh,
The Metadata JCo destination that is mentioned in the error message does not exist. I am aware of this and this JCo was deletd deliberately as we did not need it. In place of this, we created two new JCos and also changed our Wen Dynpro programs to reflect the new JCos. Two WD applications succesfully recognized the new JCos and are working well.
However, the third WD project, is still pointing to the old JCos that we had deleted.
We do not want to create these old JCos again.
Here is the error description:
The initial exception that caused the request to fail, was:
   <b>com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve JCO destination name 'OLD_JCO' in the SLD. No such JCO destination is defined in the SLD.</b>
    at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter(JCOClientConnection.java:467)
    at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.init(AbstractJCOClientConnection.java:233)
    at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.<init>(AbstractJCOClientConnection.java:218)
    at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.<init>(JCOClientConnection.java:129)
    at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnection(SystemLandscapeFactory.java:150)
    ... 63 more
Detailed Error Information:
com.sap.tc.webdynpro.services.exceptions.TypeNotFoundException: type com.extranet.salesorderdisplay.orderlistmodel.types.Kunnr could not be loaded: com.sap.dictionary.runtime.DdException: TypeBroker failed to access SLD: Error while obtaining JCO connection.
     at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getSimpleType(DataTypeBroker.java:250)
     at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getDataType(DataTypeBroker.java:213)
     at com.sap.tc.webdynpro.progmodel.context.DataAttributeInfo.init(DataAttributeInfo.java:318)
     at com.sap.tc.webdynpro.progmodel.context.NodeInfo.initUnmappedAttributes(NodeInfo.java:687)
     at com.sap.tc.webdynpro.progmodel.context.DataNodeInfo.doInit(DataNodeInfo.java:238)
     at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:671)
     at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
     at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
     at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:429)
     at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
     at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:700)
     at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:269)
     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:772)
     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:707)
Thanks and Regards,
Reena

Similar Messages

  • Cannot maintain JCO connection  for webdynpro application in Portal Admin

    I cannot create or modify the JCO connection in Portal Content Admin->the application.name while executing webdynpro application.
    There should be a red or green icon Butr in my case for my application ,
    The create or test is disbaled .Colored  icon is not there.
    I am using SAP sneak preview and its first time.Should I check SLD settings.Pls help.
    George

    how to maintain it?
    accidently deleted SLD form localhost/sld url and now i cannot change or add the sld.It gives page cannot be displayed.PLs advice how to fix it  or should i reinstall it?
    George

  • Single Webdynpro Application with multiple JCO Connection ?

    Hi Experts,
    I have a strange requirement ......
    We have a Webdynpro Application which is connected to
    say (using JCO connection)
    client:- A
    now i want to connect the same Webdynpro application to
    Client:- B which is again in the same server as the client A.
    Please help me how to handle this.
    how it possible to connect a single Webdynpro application to two different clients using JCO Connection.
    Please help.
    Points would be rewarded to helpful answers.
    Regards,
    Sanjyoti.

    Hi experts
                        We have to use  wd application for both client at a same time e.g. as follow
    Client A -
    > Travel app--->Featches data from A for   employee hired in client A ,in same server as B
    Client B -
    > Travel app--->Featches data from B for   employee hired in client B , in same server as A
    we  are using same EP for both client but using diffrent roles for employees of both client.
    Please reply asap.

  • Problem create jco connection in webdynpro application run time

    Hi There,
    I created webdynpro application using rfc model.
    After deploy the project , i created two jco connection
    for data & meta data this is work o.k (test with no errors). the sld is o.k.
    We are using application server (Single Server) for data
    & message server for meta data (Load Balance).
    During run time there is an error message:
    Error stacktrace:
    com.sap.tc.webdynpro.services.exceptions.WDTypeNotFoundException: type com.ness.crm.customerlasttwo01pckg.model.types.Datab could not be loaded: com.sap.dictionary.runtime.DdException:
         at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getSimpleType(DataTypeBroker.java:242)
         at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getDataType(DataTypeBroker.java:205)
         at com.sap.tc.webdynpro.progmodel.context.AttributeInfo.init(AttributeInfo.java:471)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.initAttributes(NodeInfo.java:771)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:756)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:761)
         at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getCustomControllerInternal(Component.java:433)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:371)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:400)
         at com.sap.tc.webdynpro.progmodel.context.MappingInfo.init(MappingInfo.java:138)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:746)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:761)
         at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:540)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:422)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:130)
         at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:41)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.displayToplevelComponent(ClientComponent.java:134)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:374)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:593)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
         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.doGet(DispatcherServlet.java:48)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         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.doPrivileged(Native Method)
         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.dictionary.runtime.DdException:
         at com.sap.dictionary.runtime.ProviderFactory.internalGetProvider(ProviderFactory.java:225)
         at com.sap.dictionary.runtime.ProviderFactory.getProvider(ProviderFactory.java:180)
         at com.sap.dictionary.runtime.DdDictionaryPool.getProvider(DdDictionaryPool.java:78)
         at com.sap.dictionary.runtime.DdDictionaryPool.getDictionary(DdDictionaryPool.java:64)
         at com.sap.dictionary.runtime.DdDictionaryPool.getDictionary(DdDictionaryPool.java:39)
         at com.sap.dictionary.runtime.DdBroker.getDataType(DdBroker.java:149)
         at com.sap.dictionary.runtime.DdBroker.getSimpleType(DdBroker.java:170)
         at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getSimpleType(DataTypeBroker.java:234)
         ... 44 more
    <u>Can some one help me with this matter?</u>
    Best regards Nir Shohat.

    Hi Nir,
    We also had same problem but no we won't. Check ur config on SLD again and the try to the test connection from the http://localhost:4444/webdynpro ( WAS 6.4 )server.
    If this connection is OK then deploy some small application n see.
    Is ur's JCo connection working for J2ee application?
    Arnigs

  • Webdynpro application errors with SLD,J2EE Engine - JCOs probelem

    Hi,
    I have developed a small webdynpro application
    1. Passing 2 values to RFC
    2. Getting result contents from RFC and displayed in a table.
    I am getting following errors:
    u2022     SLD is not accessible. Check SLD Data Supplier service settings.
    u2022     Insufficient permissions for getting SLD access information. You can add permissions for your application via the SLD service in the 'Visual Administrator'.
    u2022     ACCESS.ERROR: Authorization check for caller assignment to J2EE security role [SAP-J2EE-Engine : administrators].
    u2022     application [webdynpro/dispatcher] Processing HTTP request to servlet [dispatcher] finished with error.
    The error is: com.sap.tc.webdynpro.clientserver.session.CloseResponseException: An attempt to write after the stream had been closed.
    Exception id: [0002559A6FCB0077000000A0000CF0E8000460EC9406F721]
    u2022     application [webdynpro/dispatcher] Processing HTTP request to servlet [dispatcher] finished with error. The error is: com.sap.tc.webdynpro.clientserver.session.CloseResponseException: An attempt to write after the stream had been closed.
    at
    Please suggest me.

    Hi Kiran,
    You need configure SLD and JCo destinations in your j2ee engine..
    Check this [article |https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0c1d495-048e-2b10-babd-924a136f56b5] to create the SLD and JCo destinations.
    regards,
    Siva

  • Background colour change for WebDynpro Application has to changed

    Hi All,
    One of my custom built web dynpro application background color has to be changed, is it possible to do that?
    Satish

    Hi Satish,
    Can u please go through the below link
    how do i change the css of my webdynpro application?
    Raghu

  • Color changed when webdynpro application is called from Portal

    Hi,
    I have developed an Webdynpro application, but the orginal color has been changed if I call it from portal.
    Does someone have an idea how to deal with it?
    best regards

    Hi,
             The attribute name in iView configuration is 'Supply Portal Stylesheet'. It should be marked as 'No' to not to use the Portal Style Sheet.
    Ranganathan.

  • Question about ESS Webdynpro application's context change

    Hi All,
    Is it possible to add new entries into the ESS(based on ECC5.0) Webdynpro application's context especially under 'SelectedInfotype' from the back end ECC5.0 system?
    Kind regards,
    Vijay

    Hi Vijay,
    You cannot modify Web Dynpro application from backend. You need to setup NWDI for modifying Web dynpro applciation for ESS/MSS. Please refer to this NWDI Cookbook for XSS.pdf in SAP Notes 872892.
    Hope it helps
    Regards
    Arun

  • Is it possible to change the name of the application in webdynpro

    Hi ,
             I created one application with 2 views .It is running perfectly.Now the problem here is i want to change the name of the application.Is it possible to edit the name of an application
    Regards
    Padma N

    hi,
       I want to create an application with name Z_XXX but while running the application it has to show only XXX at the top of the Application window
       i dont think which u have mentioned is possible or Even i may be ignorant in that.
    better give the Application name as XXX instead of Z_XXXX
    Thanks and reagrds
    Fistae

  • MetaData Jco Connection without MsgSvr

    Hi all!
    I have again a problem setting up the Jco Connections for the WebDynpro tutorial. Now, I'm able to create a JcoConnection for the application data, but none for the MetaData, because the IDes, I want to connect to, is not installed with a message server (in that case it really wouldn't make sense, as there is only one app server).
    So, please, can anybody tell me, if there is a way to define a MetaData Jco Connection without load balancing?! Or give me a hint, how I can make that tutorial run?
    Thx in advance!
    Nick

    Hi Nicolas,
    It is for load balancing purposes that message server is required for the creation of JCO metadata. When large volumes of users are accessing the metadata it becomes necessary that it should be load balanced.
    Also using the transaction SMLG you will have to add the message server to the Public logon group. Then only you can create the metadata connection
    Also check the services file for the entry sapms<SID> 3600/tcp
    Hope this helps you
    Regards
    Rohit

  • Debugging ABAP Code From Within Webdynpro Application

    Hello Experts,
    We use ABAP RFC Function in Our Java Webdynpro application, We need to debug the parameters pass from the webdynpro application to the ABAP Function.
    In order to do that we:
    1. Defined a JCO connection with "Single Server Connection" as the Destination Type.
    2. We have loged on to the relevant system and client using SAP GUI with the same user that run the webdynpro application.
    3. We have activate the external debugging in se80 Utilities -> Settings
    4. We have set an HTTP (external) breakpoint in the ABAP code,
    As mentioned in the article:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0e9a9d90-0201-0010-478e-991dbea73a30
    However, we recieve a dump in the R3 system:
    RFC_DEBUGGING_NO_DIALOG_USER
    ShrtText
    RFC debugging is only possible with dialog user
    What happened?
    You attempted to debug a program by RFC. However, in this destination
    there is a user whose user type permits communication without dialog.
    This means, for example, that debugging with a system user is not
    possible.
    What can you do?
    Restart the program and take note of the following:
    You can do one of the following:
    1. You can change the user listed in the RFC destination and enter a
    dialog user.
    2. In the target system of RFC you can change the user type of the user
    listed in the RFC destination to 'dialog'.
    3. You can avoid this runtime error by omitting the RFC debugging.
    If in the ABAP debugger the statement cursor points to the statement
    (CALL FUNCTION ... DESTINATION), you must choose the function
    'Execute'.
    We checked and the user we use is defined as dialog in SU01 and the user that the webdynpro use to call the functio is the same user as was logged in.
    What else should we do?
    Thanks,
    Eyal

    Hello Eyal,
    You mentioned the following..
    1. Defined a JCO connection with "Single Server Connection" as the Destination Type. 2. We have loged on to the relevant system and client using SAP GUI with the same user that run the webdynpro application.*<---The system that you logged into is your source system*
    3. We have activate the external debugging in se80 Utilities -> Settings
    4. We have set an HTTP (external) breakpoint in the ABAP code,
    and the name of the system defined in the RFC connection will be your target system.
    As per the response (dump error message) in this target system you need to have a dialog user.
    And this dialog user needs to be defined in the RFC destination that is being used to connect to the target system.
    Regards,
    Siddhesh

  • Webdynpro Application slowness

    Hi everyone,
    I am working in Netweaver 7.0
    I have a webdynpro application which uses ARFC in order to execute a BAPI model object connected to the Action handler of a button.
    The response, after the button is clicked for the firsttime , is taking a long time.
    But once the response has been shown, the subsequent execution of the model object takes very less time.
    Why is this difference?
    Is there anything we can do to improve this ?
    Share your ideas,
    Thank you

    Hi,
    The following comments I will make is based on my experience.
    As per your hyperlink, you would be right. Having "many" FM's per "Model" would be "best practice", but I think this takes into consideration only connection pooling.
    In the real-world, this leads to inflated Models, barely re-usable, very 'costly' in Development Time, Build Time and Deployment Time. A fine tuning of JCO Connections is usually better than follow that (again, this is my opinion as a software developer).
    Another thing you should be aware of is how the underlying layer works (JCO). If the Model has never been used (Not Cached!) it will take expensive time to build the metadata and modeldata into the destinations. As a 'work-around', (I've never did this, I'm not even sure if this would work) is to create a J2EE Application and 'read' the whole thing at server startup.
    Also, be sure to be "caching" both destinations, this is a good 'performance' improvement.
    Hope this information helps somehow,
    Daniel

  • Will system change effect JCO connections.

    Hi,
    We are connecting to other server. So will the changes in the system reflect in the JCO connections or we have to create JCO connections individually for each application??
    Is there any way to create JCOs for all applications together?
    Thanks,
    Zayed

    If you are referring to the generated metadata and modeldata JCo destinations after creating/importing a model, it's wise to choose meaningful names for them. In my opinion a good practice is to let them reflect the type of system (ECC, CRM, etc.) that they will connect to. You can use the same names for different models. These models will then use the same JCo destinations, which has the advantage that you will only have to change 2 JCo destinations (the metadata and modeldata) when your ECC system connection parameters change for example.

  • Unable to close metadata jco connection

    Hi Experts,
    when checking the JCo Connection Pools in Web Dynpro Console, I found that all MetaData JCo are in use and unable to disconnect automatically.
    the following is metadata jco destination setting
    Maximal Pool Size 1
    Maximum Connections 5
    Connection Timeout 60
    Maximum Wait Time 10
    how can i do to close these jco connection?

    Hi Sidney,
    I dont really understand why you want to remove the Jco connections. If you click on the "Remove" button as posted earlier by someone, it will completely remove your Jco configurations and you have to create them again on your own. SO, dont do that.
    If you want to disconnect the Jco connection in webdynpro java, we can do that by using the following piece of code at the end of the  connection process.
    As far as I know, by default the Jco connections gets disconnected after certain time limit. Because, I never had to disconnect the Jco whenever I used one.
    wdContext.currentModelElement().modelObject().modelInstance().disconnectIfAlive()
    Regards,
    Gopal.

  • How to change the JCO reference of an existing model  in CE 7.1

    Hi All
    I have read an article which explains the method to change the JCO reference of model but when I tried to follow the same steps in CE 7.1 i am not able to find the category "Model Settings" (on clicking model edit option) containing the property "modelInstance_defaultLogicalSystem" which needs to be changed.
    So is there any other method that needs to be followed in CE 7.1 to change the JCO reference? or should i delete and recreate the models with new JCO reference.
    Any suggestions would be highly helpful.
    Regards,
    Ashwin Kulkarni.

    Hi Ashwin,
    I guess you are not opening the models node. Open the models node shown in the web dynpro explorer.
    ---local Development [project1]
    ----Web Dynpro
    ----Application
    ----Model
    --Model1                                <<<<----Click Here and select properties tab
    ----Model Classes
    ----Component Interfaces
    ----Components
    ----Dictionary
    ----Resources
    Then select the model for which you want to change the JCo references and then in teh properties tab you will find the desired propoerty and then just change the modelInstance_defaultLogicalSystem Property.
    I guess this will solve your problem.
    Thanks
    Sarbjeet Singh,

Maybe you are looking for

  • On a Mac Chrome no longer works with Webmail

    Getting the following error when trying to log into webmail using Chrome:  Not Supported Method Any thoughts? Safari and Firefox all work. This only began in the last few weeks.

  • Most recent pdf files open when clicking on one?

    Hi, I am having some issues with Adobe Reader (Downloaded 9.1.3).  When I select a pdf to open all of my most recent pdf's open at once.  I am using Windows Vista.  I have uninstalled and reinstalled after a fresh boot.  Any thoughts about what could

  • Unable to connect to Oracle 8i through a java program

    Hi all, I have Oracle 8i standard edition. Does this allow remote clients such as a java program trying to connect through a JDBC program?

  • Oracle Fatal error when trying to connect through sqlplus

    Hi, I am getting the below error when trying to connect to instance through sqlplus Database version is :10.2.0.3 Operating system= Solaris Operating System (SPARC 64-bit) OS version=5.10 [lscbd07p2*BMC]-\ORACLE>sqlplus SQL*Plus: Release 10.1.0.4.0 -

  • EOS 7D Mark II Raw not open at LR5!

    Hi, sorry my english is not so good. I have pay a new Canon Eos 7D Mark ii. But LR5 have a Problem! She can not open the new Raw from my Camera. Please help me. When you write me in German was better for me. Thanks