cancel
Showing results for 
Search instead for 
Did you mean: 

Error in executing model

Former Member
0 Kudos

Hi Experts,

I am getting the below exception while executing the following model.

Previously I was successfully executing the model.

But in the backend, the structure of one export parameter has been changed. from then, I am getting the exception.

I have imported the model in another project, but there also I am getting the same exception.

error--com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:107) at worldbank.org.Localt1.executeContractGetMultModel(Localt1.java:236) at worldbank.org.Localt1.wdDoInit(Localt1.java:104) at worldbank.org.wdp.InternalLocalt1.wdDoInit(InternalLocalt1.java:640) at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:95) at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215) at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200) at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:347) 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:174) 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(AccessController.java:219) 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: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: com.cnt.getmlt.model.__Miga__Str_Cnt_Sky -


Loader Info -
ClassLoader name: [local/localtesting] Parent loader name: [Frame ClassLoader] References: common:service:http;service:servlet_jsp service:ejb common:service:iiop;service:naming;service:p4;service:ts service:jmsconnector library:jsse library:servlet common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl library:ejb20 library:j2eeca library:jms library:opensql common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore interface:resourcecontext_api interface:webservices interface:cross interface:ejbserialization sap.com/tcwddispwda sap.com/tcwdcorecomp service:webdynpro service:sld library:tcddicddicservices library:com.sap.aii.proxy.framework library:tcgraphicsigs library:com.sap.mw.jco library:com.sap.lcr.api.cimclient library:sapxmltoolkit library:com.sap.aii.util.rb library:com.sap.util.monitor.jarm library:tcddicddicruntime library:com.sap.aii.util.xml library:com.sap.aii.util.misc library:tccmi Resources: /usr/sap/EPD/JC50/j2ee/cluster/server0/apps/local/localtesting/webdynpro/public/lib/app.jar Loading model: {parent,references,local} -
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.createNewBaseTypeDescriptor(AiiModelClass.java:422) at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.descriptor(AiiModelClass.java:222) at com.cnt.getmlt.model.__Miga__Api_Cnt_Get_Mlt_Output.<init>(__Miga__Api_Cnt_Get_Mlt_Output.java:51) at com.cnt.getmlt.model.CNT_GET_MLT.__Miga__Api_Cnt_Get_Mlt(CNT_GET_MLT.java:182) at com.cnt.getmlt.model.__Miga__Api_Cnt_Get_Mlt_Input.doExecute(__Miga__Api_Cnt_Get_Mlt_Input.java:137) at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:92) ... 30 more Caused by: java.lang.ClassNotFoundException: com.cnt.getmlt.model.__Miga__Str_Cnt_Sky -
Loader Info -
ClassLoader name: [local/localtesting] Parent loader name: [Frame ClassLoader] References: common:service:http;service:servlet_jsp service:ejb common:service:iiop;service:naming;service:p4;service:ts service:jmsconnector library:jsse library:servlet common:library:IAIKSecurity;library:activation;library:mail;library:tc
secssl library:ejb20 library:j2eeca library:jms library:opensql common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore interface:resourcecontext_api interface:webservices interface:cross interface:ejbserialization sap.com/tcwddispwda sap.com/tcwdcorecomp service:webdynpro service:sld library:tcddicddicservices library:com.sap.aii.proxy.framework library:tcgraphicsigs library:com.sap.mw.jco library:com.sap.lcr.api.cimclient library:sapxmltoolkit library:com.sap.aii.util.rb library:com.sap.util.monitor.jarm library:tcddicddicruntime library:com.sap.aii.util.xml library:com.sap.aii.util.misc library:tccmi Resources: /usr/sap/EPD/JC50/j2ee/cluster/server0/apps/local/localtesting/webdynpro/public/lib/app.jar Loading model: {parent,references,local} -
at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:382) at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.createNewBaseTypeDescriptor(AiiModelClass.java:409) ... 35 more

Please help me to resolve the issue.

Thanks,

Bhavyasri.M

Accepted Solutions (1)

Accepted Solutions (1)

former_member192434
Active Contributor
0 Kudos

Hi ,

Follow this

frist try to

Restart J2ee engine and NWDS.

if problem still exists then go for 1 and second option

1. Make sure that the JCO you are using is working fine.

Check that the userid and password is still valid.

2. Check whether the RFC is working fine or any changes happened? Log in with the user same as portal and then execute the RFC.

it will solve your problem.

thanks

Answers (5)

Answers (5)

Former Member
0 Kudos

Answered

Former Member
0 Kudos

Hi,

Restart your J2EE server & re do your context binding. changes will replicate & it will work.

Best Regards

Ravi

Former Member
0 Kudos

Hi,

this usually happens when you reimport the RFC....

solution for this problem is..

either you restart the J2ee engine or if it is not possible ..then login to portal go to system administarion

then go to webdynpro tab...in the left pan there will be option for clearing the catche...it will ask for jco connection you used give that and clear the catche....then again redeploy it will work...

Former Member
0 Kudos

Hi Ramesh,

I have followed the link, the method shown there is for NW6.40 SP20 onwards. But we are using NW6.40 SP19. So the option Invalidate ARFC cache is not coming.

In that they have provided links for EAR files. But I don't know how to deploy them on to the server.

can u please tell me how to deploy them on to the server and run.

Thanks for ur help inadvance.

Bhavyasri.M

former_member197348
Active Contributor
0 Kudos

Hello Bhavya,

For your scenario, you can simply

1.Select and right click on the model, choose Reimport the model

2.Check the context and rebind/map if any context variables change

3.Rebuild the project

4.Select and right click on the application, choose Deploy New Archive and Run

5.Make sure that the portal server is restarted before the deploy.

First 4 steps are mandatory for any scenario/version and step 5 is optional for latest versions but for you it is mandatory.

Regards,

Siva

lakshmikanthaiah_s
Participant
0 Kudos

Hi,

Could you able to download the ear files from the given links? or did u do it from other links?

I try to download those ear files from the given links.

It looks like the links are unqualified now.

Can you help me to download them.

My J2ee version is 6.40 SP18.

Thanks in advance.

Lakshmikantha

Former Member
0 Kudos

Hi,

if the Functıon Module changes in Backend except the business logic, it need to be reimported.

even if you reimport the RFC ,some times you get errors due to metacache.

so after reimport if you get the errors ,server(j2ee engine) need to restart.

Metadata Cache Invalidation for Adaptive RFC Models

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10465350-b4f5-2910-61ba-a58282b3...

Regards,

ramesh.