Re: caching problem with two simultaneous Shark instances

Vladimir Puskas <[email protected]>
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <[email protected]>
Hello Geeta

you wrote:
> Hi all:
> 
> I have two Shark instances up and running: one for the admin swing client 
> and another for my web application. Most times things are working great, 
> but I do notice one anamoly. When, for instance, I abort a process using 
> the admin client, when I refresh my page which shows the current list of 
> activities, I still see the activity corresponding to the process that i 
> just aborted. However, If I restart my web application server (tomcat), 
> that aborted process disappears from my activity list (like it should).
> 
> I guess there is some caching issue but I don't know what I have to set to 
> fix this. Currently my Shark.conf for both Shark instances have different 
> engine names and also the following:
> 
> DatabaseManager.defaults.cache.maxCacheSize=0
> DatabaseManager.defaults.cache.maxSimpleCacheSize=0
> DatabaseManager.defaults.cache.maxComplexCacheSize=0
> DatabaseManager.defaults.cache.reserveFactor=0.1
> 
> Is there anything else I need to set?

Have you switched the Shark caches off:

CacheManagerClassName=org.enhydra.shark.caching.LRUCacheMgr

regards
-- 
Vlada
message-footer.txt (text/plain, 271 B)
--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.