Re: [JBoss-dev] jobs

2003-07-11 Thread julien viet
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. 
KSCache 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,
 julienmailto:[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


RE: [JBoss-dev] jobs

2003-07-11 Thread Kurakula, Suneetha
Title: RE: [JBoss-dev] jobs





Hi Julien,


Thanks for response .Let me try that and get back to you.


Regards!
Sunny


-Original Message-
From: julien viet [mailto:[EMAIL PROTECTED]] 
Sent: Friday, July 11, 2003 11:28 AM
To: Kurakula, Suneetha
Subject: Re: [JBoss-dev] jobs


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





RE: [JBoss-dev] jobs

2003-07-11 Thread Kurakula, Suneetha
Title: RE: [JBoss-dev] jobs





Hi Julien  Others,


 We are already schronizing Map in Cache . But it didn't help
 Please give me some more ideas in solving below problem.


Thanks,
Sunny 




-Original Message-
From: julien viet [mailto:[EMAIL PROTECTED]] 
Sent: Friday, July 11, 2003 11:28 AM
To: Kurakula, Suneetha
Subject: Re: [JBoss-dev] jobs


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





RE: [JBoss-dev] jobs

2003-07-11 Thread marc fleury
Title: Message



sunny 
do me a favor, either post to forums for user help or take out a contract for 
direct developer support. 

Asking 
for user help on the dev list is not appropriate, 

sorry, 


marcf

  
  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  Kurakula, SuneethaSent: Friday, July 11, 2003 2:32 
  PMTo: '[EMAIL PROTECTED]'Subject: 
  RE: [JBoss-dev] jobs
  Hi Julien  Others, 
   We are already schronizing Map 
  in Cache . But it didn't help  
  Please give me some more ideas in solving below problem. 
  Thanks, Sunny  
  -Original Message- From: 
  julien viet [mailto:[EMAIL PROTECTED]] 
  Sent: Friday, July 11, 2003 11:28 AM To: Kurakula, Suneetha Subject: Re: [JBoss-dev] 
  jobs 
  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