Ok, thanks.
I'll check it: but if anybody can give to me a code example
or explain  more deeply this or another solution let me know.

Thanks a lot!

              Luca


-----Messaggio originale-----
Da: Nicholas Orr [mailto:[EMAIL PROTECTED]]
Inviato: luned́ 16 dicembre 2002 23.54
A: 'Tomcat Users List'
Oggetto: RE: How to restart Tomca's service from a Web app?


I'm sure you could use some "feature" of asp to execute a batch file on your
machine.  I don't know the specifics but I have read about it during my ASP
scripting.  Ask at www.vbforums.com or www.devarticles.com or
www.developerfusion.com

Batch
Script just needs two lines.

net stop "Tomcat Service Name"
net start "Tomcat Service Name"

Nicholas Orr

-----Original Message-----
From: Luca Ventura [mailto:[EMAIL PROTECTED]]
Sent: Monday, 16 December 2002 9:50 PM
To: tomcat-user
Subject: How to restart Tomca's service from a Web app?


Hello everybody!

I have installed IIS as Web Server and Tomcat 4.1.16 LE as plug-in of IIS to
mangage Servlet/JSP pages (using isapi filter JK2 "isapi_redirector.dll"). I
would like to know is there is some way to re-start Tomcat's service using
some web application  acessible  from the Internet (it can be based on
asp/jsp pages or servlets) to avoid to use the "Services Panel" of Windows
2000 Advanced Server. In fact it can happen I can not access remotely to the
server machine where Tomcat is installed: so when I need I would like to be
able to re-start Tomcat using some web application. Is it possible?

Thanks everybody in advance!

                                                   Luca


**********************************************************************
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.

For general enquires:   ++61 7 3833 8000
Support Centre e-mail:  [EMAIL PROTECTED]
Support Centre phone:   Australia 1800500646
                                        International ++61 7 38338042
**********************************************************************


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


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

Reply via email to