do you synchronize access to your hashmap ? like cache = Collections.synchronizedMap(new HashMap());
Hello Suneetha, Friday, July 11, 2003, 5:25:14 PM, you wrote: KS> Hi All, KS> We are using JBOSS as appserver KS> We have placed metadata in cache using Hash Map and loading it when KS> server is started. KS> Cache is working fine for one hour . Problem is after sometime like KS> 1hr,2hr inconsistently when we try KS> to use cached object from Hash Map it is returning empty object or KS> some other value which is not mapped to that key. It is misbehavior. KS> Please send me some info if you have any. I am desperately looking for help KS> Thanks in Advance, KS> Sunny -- Best regards, julien mailto:[EMAIL PROTECTED] ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development