cancel
Showing results for 
Search instead for 
Did you mean: 

What's Negative Cache ??

Former Member
0 Kudos

Hello!:

The app was working for months without problem now I get this error:

<b>Root Cause</b>

The initial exception that caused the request to fail, was:

java.lang.ClassNotFoundException: com.repsolypf.gis.pozos.wdp.InternalGisView Found in negative cache -


Loader Info -


ClassLoader name: [local/PozosGis] 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:tccolapi library:com.sap.aii.util.misc library:tccmi library:tccol~runtime Resources: D:\usr\sap\PD0\JC00\j2ee\cluster\server0\apps\local\PozosGis\webdynpro\public\lib\app.jar D:\usr\sap\PD0\JC00\j2ee\cluster\server0\apps\local\PozosGis\webdynpro\public\lib\classes111.jar D:\usr\sap\PD0\JC00\j2ee\cluster\server0\apps\local\PozosGis\webdynpro\public\lib\jcifs_vs1.jar Loading model: {parent,references,local} -


at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:348)

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

at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.<init>(DelegatingView.java:41)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.createUninitializedView(ViewManager.java:486)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:523)

... 28 more

<b>Detailed Exception Chain</b>

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for view com.repsolypf.gis.pozos.GisView. (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.DelegatingView.<init>(DelegatingView.java:41)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.createUninitializedView(ViewManager.java:486)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:523)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:421)

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

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

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

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

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

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

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

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

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: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.repsolypf.gis.pozos.wdp.InternalGisView

Found in negative cache

-


Loader Info -


ClassLoader name: [local/PozosGis]

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:tccolapi

library:com.sap.aii.util.misc

library:tc~cmi

library:tccolruntime

Resources:

D:\usr\sap\PD0\JC00\j2ee\cluster\server0\apps\local\PozosGis\webdynpro\public\lib\app.jar

D:\usr\sap\PD0\JC00\j2ee\cluster\server0\apps\local\PozosGis\webdynpro\public\lib\classes111.jar

D:\usr\sap\PD0\JC00\j2ee\cluster\server0\apps\local\PozosGis\webdynpro\public\lib\jcifs_vs1.jar

Loading model: {parent,references,local}

-


at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:348)

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

... 31 more

I make a new deploy and the app works fine for 5 minutes, then I get this error again....

Any idea?

Thanks a lot for your time on this thread.

RLS

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Rocio,

Try this forum link

Regards,

Anand

Answers (2)

Answers (2)

Former Member
0 Kudos

You may have deployed multiple applications to WAS.

As you can see this issue is typically due to having two model objects

(or view or component etc) in two wd projects respectively with the samemodel name and the same model package it will confuse the classloading

system. Please check to make sure that all your view/component/model

names are unique across all deployed Web Dynpro projects.

Regards,

Subramanian V.

Former Member
0 Kudos

Hi Subramanian:

I know it and if I perform the change it works, but It's hard to believe that having each app it's own namespace the WAS have this kind of problems. I would like to have it fix it from the server side, so I'm searching If there's the way.... with this problem I can't have a project and re-use it.

Thanks a lot for your time and answers.

Rocío.

lajitha_menon
Contributor
0 Kudos

Hi there,

Did you recently upgrade your system? Which version are you in? Are all the hotfixes for the version applied? Try it, because sometimes upgrades causes these issues,

Regards

LM

Former Member
0 Kudos

Hi L. Menon:

Thanks for your answer.

There was no set up of any hotfix or SP.

Something strange is that if I test the app with the "Web Dynpro Administrator console" the apps works fine, there's no class loading issue and there's no error, but if I test it at SAP Portal the error appears.

Thanks.

RLS

Former Member
0 Kudos

If you are in SP16 or lower check SAP Note : 923694 apply the given hotfix and check again for this issue.

Regards,

Subramanian V.

Message was edited by:

Subramanian Venkateswaran

Former Member
0 Kudos

Thanks Subramanian V. for answering.

Can you check if this note is available because I'm trying but I can't see it.

Thanks again.

Regards,

Rocí

Former Member
0 Kudos

The note is available. Checked again today.

Note 923694 - Importing a Web Dynpro Hot Fix for NW04 Support Package 16

Regards,

Subramanian V.

Former Member
0 Kudos

Hi Subramanian:

The note was apply today and nothing change. (NW2004 SP19)

Any idea?.

Thanks a lot for your time and answers.

Former Member
0 Kudos

The note was apply but nothing change....

Thanks for your time and answers.

Rocío.