you can restart tomcat from bash.

I found such issue in jira

NUTCH-376
Add methods to control runtime behaviour of NutchBeanNot sure if the case is
still valid but I had to implement some such mechanism for my own use.

Solr might have something to work better with index.

Best Regards
Alexander Aristov


2009/6/1 <[email protected]>

>
> So there is no way of reloading the index with out restarting tomcat?
>
>
> Quoting Alexander Aristov <[email protected]>:
>
>  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
>>> >
>>> >
>>>
>>>
>>>
>>
>
>
>

Reply via email to