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

Exception error when try deploy and run

when i try to deploy i am getting this exception error. please

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for component com.sap.tc.webdynpro.tutorials.tablecomp.TableComp. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)

at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:110)

at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.<init>(DelegatingComponent.java:38)

at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doInit(ClientComponent.java:776)

at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:330)

at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:382)

at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:618)

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.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:401)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

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:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

Caused by: java.lang.ClassNotFoundException: com.sap.tc.webdynpro.tutorials.tablecomp.wdp.InternalTableComp

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 02, 2007 at 03:16 PM

    Hi

    Are you using used webdynpro DC.This problem arises from Used DC.If yes, remove them and add again.

    Thanks

    Ananda

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 03, 2007 at 02:22 AM

    Hi Kartik,

    Rebuild the project once.Check if there are any comiplation errors.

    Regards, Anilkumar

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 03, 2007 at 02:16 PM

    Hi Kartik,

    Are u suing any child components from another DC project in ur project?

    If yes, first build and deploy the DC project , which contains the child component , and then try to build and deploy the parent DC project.

    Regards

    Fahad Hamsa

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 25, 2008 at 06:38 AM

    Hey Karthik:

    I have perfertly the same problem as you met before. Can you help me out? I really need to know how to figure out this problem.

    I use NWDS to deploy dynpro application, and no DC is used.

    Exception are blow:

    Reason: Clusterwide exception: Failed to deploy application local/Jason_ProgramModel_WD2. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?; nested exception is:

    com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application local/Jason_ProgramModel_WD2. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 23, 2008 at 10:25 AM

    Hi,

    I experienced the same error in SP15, when I tried to copy a DC and both DC contain the same contents. eg. ZDC1, ZDC2

    The system somehow treats them exactly the same.

    So what I did to solve this:

    1. Create new DC in NWDS

    2. Copy everything from src/package from old to new

    3. Compile. Watch for classpath as it gets corrupted somehow.

    4. Rename the JCo in OS level. Do a text search for old JCo, replace with new.

    5. Rename Application (or create new and point to component controller)

    6. Rename Component Controller, and fix all errors. (right click in NWDS > rename)

    7. Build and deploy.

    The problem went away.

    Cheers

    Michael

    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.