Re: {Spam?} Re: caching problem with two simultaneous Shark instances

[email protected]
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <OFAE55ACA6.0C793D95-ON8525703D.00474539-8525703D.00481E63@intellicare.com>
Hi Vlada:

Thank you so much! That was exactly the solution..:) For anyone else who 
has this problem, make this change in your Shark.conf files:

LRUProcessCache.Size=0
LRUResourceCache.Size=0
(The default is 100)

Thanks again!
Geeta




Vladimir Puskas <[email protected]> 
07/13/2005 02:55 AM
Please respond to
[email protected]


To
[email protected]
cc

Subject
{Spam?} Re: [shark] caching problem with two simultaneous Shark instances






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


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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


CONFIDENTIALITY NOTICE:This email is intended solely for the person or 
entity to which it is addressed and may contain confidential and/or 
protected health information.  Any duplication, dissemination, action 
taken in reliance upon, or other use of this information by persons or 
entities other than the intended recipient is prohibited and may violate 
applicable laws.  If this email has been received in error, please notify 
the sender and delete the information from your system.  The views 
expressed in this email are those of the sender and may not necessarily 
represent the views of IntelliCare.
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.