Skip to main content



      Home
Home » Eclipse Projects » Gemini » turn off class caching in web development scenario
turn off class caching in web development scenario [message #551418] Fri, 06 August 2010 07:21 Go to next message
Eclipse UserFriend
Hi
I have setup a development scenario where the web bundles are installed as reference from my workspace.

In more details:
I have gemini running in my console.
I have eclipse running with my web bundle projects inside.

I have installed the bundles using install reference:file:/blabla/workspace/myWebProject1

Well everything works at first. Calling servlet X will generate output X as expected. But if I change the output of servlet X to Y the out put does not change on browser refresh.

Is there a way to turn off this caching mechanism?
Restart of the server fixes the problem, but I do not want to restart it.

I know that this scenario may be optimized, but I really need to turn off this caching mechanism.

Thanks,
Dimitar
Re: turn off class caching in web development scenario [message #551423 is a reply to message #551418] Fri, 06 August 2010 07:34 Go to previous messageGo to next message
Eclipse UserFriend
Have you tried updating the bundle and/or using Package Admin to refreshPackages?

(Note that Virgo includes special support to handle static resource updates without requiring a bundle update and refreshPackages, but this support is not part of Gemini Web.)
Re: turn off class caching in web development scenario [message #551425 is a reply to message #551423] Fri, 06 August 2010 07:40 Go to previous messageGo to next message
Eclipse UserFriend
thanks refresh actually fixed the problem.
But still is it possible to not cache if we use it in development mode.
Re: turn off class caching in web development scenario [message #551429 is a reply to message #551425] Fri, 06 August 2010 08:05 Go to previous message
Eclipse UserFriend
I don't think so as you are presumably talking about changes to classes rather than static resources. Other than "hot code replace" if you modify a class under the debugger, you really have to recycle the class loader to get a new version of a class, which is what refresh does.

[Updated on: Fri, 06 August 2010 08:06] by Moderator

Previous Topic:p2 update site for Gemini Web?
Next Topic:Enterprise Modules Project (Gemini) FAQ
Goto Forum:
  


Current Time: Sun Jul 06 11:01:20 EDT 2025

Powered by FUDForum. Page generated in 0.03981 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top