Yes, I experience problem too if I do it too many times. To cop with it, I restart tomcat server everyday during least traffic period. In my case, I only reload index few times during a day, and it works out fine.
On Mon, 2009-06-01 at 09:07 +0400, Alexander Aristov wrote: > I experienced problems with such approach. Tomcat hang after a few > application re-deployments. And it seems it's a problem with Tomcat > itself as I saw this issue in different environments and with > different applications. > > Main problem is that Tomcat doesn't release memory and hence it fails > with out-of-memory. > > Best Regards > Alexander Aristov > > > 2009/6/1 kevin chen <[email protected]> > > You can touch web.xml (under WEB-INF/ ). > > > On Sat, 2009-05-30 at 14:33 -0700, prb wrote: > > Hi I have a service to reindex my intranet nightly. > > I create a new index and copy the files and reboot tomcat. > > This all works great from a terminal session but fails from > from unless > > I touch index files and reboot manually and then it works > but I want to > > automate this.. > > Is there some trick to force tomcat to reload my new index > from a from bash? > > Maybe a java -jar one liner or a specific file I can update > to trip tomcat ? > > Thx > > > > > > >
