start/stop-script from source dist

2005-03-31 Thread Andreas Andersson
Is there a start/stop-script in the source distribution thats suitable 
to run from /etc/init.d on linux?

Or is there a way to make one automatically?
--
Andreas Andersson
IT Dept.
Travelstart Nordic
[EMAIL PROTECTED]
http://www.travelstart.se
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: start/stop-script from source dist

2005-03-31 Thread Antony Paul
Check for RPM/deb distributions. This one is useful.
http://www.raibledesigns.com/tomcat/boot-howto.html . I hadnt tried it yet.


On Thu, 31 Mar 2005 13:27:16 +0200, Andreas Andersson
[EMAIL PROTECTED] wrote:
 Is there a start/stop-script in the source distribution thats suitable
 to run from /etc/init.d on linux?
 
 Or is there a way to make one automatically?
 --
 Andreas Andersson
 IT Dept.
 Travelstart Nordic
 [EMAIL PROTECTED]
 http://www.travelstart.se
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 
rgds
Antony Paul
http://www.geocities.com/antonypaul24/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Réf. : start/stop-script from source dist

2005-03-31 Thread Cyril . ZEKSER

Andreas,

If your need is to restart a webapp, you can use ant to access the
following URL (assuming you run the command on the same server than tomcat)
:

here is the target in the build.xml file

  target name=reload
get src
=http://{tomcatserver}:{port}/manager/html/stop?path/{webappname}; dest
=/dev/null usetimestamp=true username={your user name} password
={your admin password} ignoreerrors=true /
get src
=http://{tomcatserver}:{port}/manager/html/start?path/{webappname}; dest
=/dev/null usetimestamp=true username={your user name} password
={your admin password} ignoreerrors=true /
  /target

then run the script with :

   ant reload

That's the way we do that.

Cyril ZEKSER



   
  Andreas   
   
  AnderssonPour :   Tomcat Users List 
tomcat-user@jakarta.apache.org 
  [EMAIL PROTECTED] cc :   
 
  tart.se Objet :  start/stop-script from 
source dist 

   
  31/03/2005 13:27  
   
  Veuillez  
   
  répondre à
   
  Tomcat Users 
   
  List 
   

   

   




Is there a start/stop-script in the source distribution thats suitable
to run from /etc/init.d on linux?

Or is there a way to make one automatically?
--
Andreas Andersson
IT Dept.
Travelstart Nordic
[EMAIL PROTECTED]
http://www.travelstart.se

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]