If you want to guarantee it does then you could modify the startup script of 
the Tomcat server to remove the cache files

( From my production Linux server's startup.sh )   

   # System Log backup and cache cleanup   
   mkdir $CATALINA_HOME/logs/bak >/dev/null 2>/dev/null   
   mv -f $CATALINA_HOME/logs/*.log $CATALINA_HOME/logs/bak >/dev/null 
2>/dev/null   
   mv -f $CATALINA_HOME/logs/catalina.out $CATALINA_HOME/logs/bak >/dev/null 
2>/dev/null   
   rm -rf $CATALINA_HOME/work/Catalina/localhost/* >/dev/null 2>/dev/null   

   # App log backup and cache cleanup   
   mkdir $CATALINA_HOME/webapps/arsys/logs/bak >/dev/null 2>/dev/null   
   mv -f $CATALINA_HOME/webapps/arsys/logs/*.log 
$CATALINA_HOME/webapps/arsys/logs/bak >/dev/null 2>/dev/null   
   rm -rf $CATALINA_HOME/webapps/arsys/cache/* >/dev/null 2>/dev/null   

Fred


-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Longwing, LJ CTR MDA/IC
Sent: Monday, July 30, 2012 8:38 AM
To: [email protected]
Subject: Re: Does restarting a mid-tier server force a recache?

Rick,
If you use cache persistence, then no, bouncing the server would not force a 
re-cache because based on my understanding, when the server restarts, it will 
simply re-load the existing cache files from disk.

-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Rick Cook
Sent: Monday, July 30, 2012 7:30 AM
To: [email protected]
Subject: Does restarting a mid-tier server force a recache?

** 
My colleagues and I were just talking about restarting a web server, and we 
were all under the assumption that restarting Apache (or IIS, for that matter) 
and/or physically bouncing the server would force a re-cache of the Remedy form 
definitions on the mid-tier server.  But as I think of it, I'm not sure that's 
the case, because it would involve removing the xml files from the server and 
pulling in a new copy of them.
 
Can someone say definitively whether it does or doesn't?
 
Rick

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"

Reply via email to