-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yves,

On 3/4/2009 3:17 PM, Yves Yu wrote:
> 2009/3/5 Christopher Schultz <[email protected]>
> On 3/3/2009 12:51 PM, Yves Yu wrote:
>>>> I'm developing two projects, one of them need reload daily
>>
>> Ugh. Why?
> 
> I'm using Nutch to search, it should be recrawl and reindex the pages
> everyday, so I need reload the project everyday to make the new pages work.

What's wrong with doing a scheduled re-index using cron or even quartz?

Triggering a reload of your web application every day to perform a
search index refresh is an ugly hack.

>> How do you attempt to trigger an application reload?
> 
> I'm using windows 2003, so I just write a .bat and use planning task in
> windows to reload the project.

Right. What does your .bat file do? Reboot the computer? Turn off the
lights?

>> The presence of virtual hosts should not matter. If you are using the
>> manager application to reload your webapps, you might have to deploy it
>> once in each virtual host (that is, manager is deployed /twice/ total).
> 
> it's very strange, if I just deploy Nutch, the reloading works well, but
> when I deploy two projects in one tomcat, it doesn't work.

"It does not work" is a classic sign of lack of investigation. You're
going to have to cough up more details if you actually want any help.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkm2eYQACgkQ9CaO5/Lv0PAQ+QCeNzTXFuWeWTwZ7cl/2JvmyFX5
mtwAn14I4QJpQSJthQmhM8llHwUL+Q2z
=qKeJ
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to