tomcat and java cache

2007-10-15 Thread loredana loredana
I have a pretty big website that uses java cache from which it retrieves the html. So I have a scheduled job(servlet) that get's some data from a server and stores it in a java cache(Oscache or Ehcache for those who know it). My problem is next: whenever the server (tomcat) is restarted, the

Re: tomcat and java cache

2007-10-15 Thread Johnny Kewl
it up is going to take too long have fun - Original Message - From: loredana loredana [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Monday, October 15, 2007 9:38 AM Subject: tomcat and java cache I have a pretty big website that uses java cache from which it retrieves

Re: tomcat and java cache

2007-10-15 Thread Pid
loredana loredana wrote: I have a pretty big website that uses java cache from which it retrieves the html. So I have a scheduled job(servlet) that get's some data from a server and stores it in a java cache(Oscache or Ehcache for those who know it). My problem is next: whenever the server

Re: tomcat and java cache

2007-10-15 Thread Leon Rosenberg
Thats what listener are for, in your case ContextListener. regards Leon On 10/15/07, loredana loredana [EMAIL PROTECTED] wrote: I have a pretty big website that uses java cache from which it retrieves the html. So I have a scheduled job(servlet) that get's some data from a server and stores