Re: restart servlet from cron

2005-12-27 Thread Bjørge Solli
Bjørge Solli wrote: location="/usr/share/java/catalina5-ant.jar"/> Typo. '5' in wrong place. Really sorry I bothered you all with this! -- Bjørge Solli - Private cellphone: +47 91614343 Nansen Environmental and Remote Sensing Center - Bergen http://www.nersc.no Reception: +47 55205800 Dept.

Re: restart servlet from cron

2005-12-27 Thread Bjørge Solli
Bjørge Solli wrote: [EMAIL PROTECTED] wrote: Here's what's in one of my ant files to stop a web app. Start and restart are probably similar. http://myhost.mycompany.com/manager/"; username="manager" password="managerpw" path="/${webapp}" /> Thankyou. I am new

Re: restart servlet from cron

2005-12-27 Thread Bjørge Solli
[EMAIL PROTECTED] wrote: Here's what's in one of my ant files to stop a web app. Start and restart are probably similar. http://myhost.mycompany.com/manager/"; username="manager" password="managerpw" path="/${webapp}" /> Thankyou. I am new to ant and cannot unde

Re: restart servlet from cron

2005-12-23 Thread rusty+tomcat
Here's what's in one of my ant files to stop a web app. Start and restart are probably similar. http://myhost.mycompany.com/manager/"; username="manager" password="managerpw" path="/${webapp}" /> ---

Re: restart servlet from cron

2005-12-23 Thread rusty+tomcat
You could use ant. It has tomcat tasks for stopping, starting, and restarting tomcat web apps. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

restart servlet from cron

2005-12-23 Thread Bjørge Solli
Setup: Fedora Core 4, Tomcat 5 Is there a way to restart a single servlet in a cronjob? The only way I have found so far is to restart tomcat itself. Either way, what would I have to do to achieve this in a cronjob run as the tomcat-user? The servlet[1] gets new configfiles daily and therefor