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 sto
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 serv
edana loredana" <[EMAIL PROTECTED]>
To:
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 the
html. So I have a scheduled job(servlet) that get's some data from a server
and stores it in a
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 cac