The new jk_nt_service.exe (TC3.3) already has this facility build in. You
might need to get it from CVS because I can't remember if it is in beta2.
Also if you look in bugzilla there is a Service Manager (like the SQLServer
one) that I have contributed. Just download and build (You'll need to patch
jk_nt_service as well).

Dave
[EMAIL PROTECTED]

-----Original Message-----
From: Siomara Pantarotto [mailto:[EMAIL PROTECTED]]
Sent: 25 September 2001 07:36
To: [EMAIL PROTECTED]
Subject: Re: SV: How to start/stop tomcat from a remote machine???

Thanks for the tip I will certainly need that once unix will be one of our
platforms. If someone in the list can still help on trying to start/stop
tomcat remotly under NT I will appreciate very much.

Hans, You gave me a good idea. I guess I can use perl to write a cgi script
to do that.

Thanks

Siomara


>From: "Hans-Erik Skyttberg" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: SV: How to start/stop tomcat from a remote machine???
>Date: Tue, 25 Sep 2001 08:25:38 +0200
>
>Hi!
>
>I do not know how to do it in NTm but this is how you could do it on a
>unix box.
>Let's say you have a users called tomcat that should start and stop
>tomcat.
>
>Then you can create a small shell script to call start stop tomcat like
>this:
>Call this script tomcat_stop.cgi:
>#!/bin/sh
>/opt/app/tomcat/bin/tomcat stop
>
>Call this script tomcat_start.cgi:
>#!/bin/sh
>/opt/app/tomcat/bin/tomcat start
>
>Do the following on thoose two scripts:
>chmod 750 tomcat_st*
>chgrp apache tomcat_st* # or whatever group id your apache is running
>as....
>chown tomcat tomcat_st* # or whatever user you start stop tomcat as,
>should not be root though.
>chmod u+s tomcat_st*
>
>Now put them in a ScriptAliased dir on your webserver and protect them
>either by deby allow directives or maybe a .htpasswd or something
>equivalent, now you can start and stop your tomcat with a browser.
>
>Regards
>Hans - Erik Skyttberg
>Boxer TV Access AB
>Tegluddsv. 64
>115 28 Stockholm
>+46 (0)8 587 899 64
>+46 (0)733 35 70 64
>
>
>-----Ursprungligt meddelande-----
>Frn: Siomara Pantarotto [mailto:[EMAIL PROTECTED]]
>Skickat: den 25 september 2001 08:14
>Till: [EMAIL PROTECTED]
>mne: Re: How to start/stop tomcat from a remote machine???
>
>
>I am currently using windows NT. Could you provide more details on how
>exactly you do even for Linux or Solaris (and NT if possible)
>
>Thanks
>
>Sio
>
>
> >From: Charles Baker <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: [EMAIL PROTECTED]
> >Subject: Re: How can I start/stop tomcat web server from a remote
> >machine???
> >Date: Mon, 24 Sep 2001 18:00:17 -0700 (PDT)
> >
> >Are you using *nix or NT? On my Linux or Solaris boxes
> >I just ssh in and start/stop whatever I want to.
> >
> >--- Siomara Pantarotto <[EMAIL PROTECTED]> wrote:
> > > Hi all,
> > >
> > > How can I start/stop tomcat web server from a remote
> > > machine???
> > >
> > > In other words, how can I run the start/shutdown
> > > batch files that tomcat has
> > > to start/stop its services from a remote machine
> > > that is not the server that
> > > Tomcat is installed in?
> > >
> > > Thanks
> > >
> > > Siomara
> > >
> > >
> > >
> > >
> >_________________________________________________________________
> > > Get your FREE download of MSN Explorer at
> > > http://explorer.msn.com/intl.asp
> > >
> >
> >
> >=====
> >-
> >[EMAIL PROTECTED]
> >Hacking is a "Good Thing!"
> >See http://www.tuxedo.org/~esr/faqs/hacker-howto.html
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Get email alerts & NEW webcam video instant messaging with Yahoo!
> >Messenger. http://im.yahoo.com
>
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at
>http://explorer.msn.com/intl.asp
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

Reply via email to