cancel
Showing results for 
Search instead for 
Did you mean: 

Exception error when try deploy and run

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

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

Thanks

Ananda

Former Member
0 Kudos

Hi Ananda,

I am using the tut examples to learn the webdynpro. while i import it to the existing workspace, i am getting error stating missing library. Another query is the program,which was running fine is also not getting deployed. I am copying down the result below:

Result

=> deployment aborted : file:/C:/Temp/temp23925Welcome.ear

Aborted: development component 'Welcome'/'local'/'LOKAL'/'0.2007.01.03.12.21.52'/'0':

Caught exception during application deployment from SAP J2EE Engine's deploy service:

java.rmi.RemoteException: Cannot deploy application local/Welcome.. Reason: Clusterwide exception: Failed to deploy application local/Welcome. 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/Welcome. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?

(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)

Deployment exception : The deployment of at least one item aborted

sankar_narayana
Active Participant
0 Kudos

Hey you said to remove the WebDynpro DC. Can i know the procedure to delete the DC. I was new to this Interactive forms after deployment i got this error message.

Answers (4)

Answers (4)

michael_pang4
Active Participant
0 Kudos

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

Former Member
0 Kudos

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?

Former Member
0 Kudos

have you been solve the issue?

thnx

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Kartik,

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

Regards, Anilkumar