Re: Restarting tomcat from web page

2003-12-08 Thread Altug B. Altintas
hi,
could u please give an example ?

- Original Message - 
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, December 05, 2003 4:09 PM
Subject: RE: Restarting tomcat from web page



Howdy,
It does matter from a practicality perspective: tomcat comes with
built-in features to restart individual webapps, so you don't have to do
any work.  O restart all of tomcat externally is much more work, you'll
have to write a script, or use an external tool, etc.


Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Altug B. Altintas [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 4:21 AM
To: Tomcat Users List
Subject: Re: Restarting tomcat from web page

it doesn't matter, but restarting all of tomcat much better.


- Original Message -
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 6:03 PM
Subject: RE: Restarting tomcat from web page



Howdy,
Restarting all of tomcat or just selected webapps?

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Altug B. Altintas [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 10:57 AM
To: Tomcat Users List
Subject: Restarting tomcat from web page

Hi
How can i restart Tomcat which is running as service, from a web page
1 - calling bat file ? (not working)
2 - calling http://localhost:8080/manager/html/start?path=/engine
(asking
password)

any clean way ?

Regards
Altug.


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




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary
and/or privileged.  This e-mail is intended only for the individual(s)
to
whom it is addressed, and may not be saved, copied, printed, disclosed
or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


-
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]




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


-
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]



Re: Restarting tomcat from web page

2003-12-05 Thread Altug B. Altintas
it doesn't matter, but restarting all of tomcat much better.


- Original Message - 
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 6:03 PM
Subject: RE: Restarting tomcat from web page



Howdy,
Restarting all of tomcat or just selected webapps?

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Altug B. Altintas [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 10:57 AM
To: Tomcat Users List
Subject: Restarting tomcat from web page

Hi
How can i restart Tomcat which is running as service, from a web page
1 - calling bat file ? (not working)
2 - calling http://localhost:8080/manager/html/start?path=/engine
(asking
password)

any clean way ?

Regards
Altug.


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




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


-
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]



RE: Restarting tomcat from web page

2003-12-05 Thread Shapira, Yoav

Howdy,
It does matter from a practicality perspective: tomcat comes with
built-in features to restart individual webapps, so you don't have to do
any work.  O restart all of tomcat externally is much more work, you'll
have to write a script, or use an external tool, etc.


Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Altug B. Altintas [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 4:21 AM
To: Tomcat Users List
Subject: Re: Restarting tomcat from web page

it doesn't matter, but restarting all of tomcat much better.


- Original Message -
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 6:03 PM
Subject: RE: Restarting tomcat from web page



Howdy,
Restarting all of tomcat or just selected webapps?

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Altug B. Altintas [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 10:57 AM
To: Tomcat Users List
Subject: Restarting tomcat from web page

Hi
How can i restart Tomcat which is running as service, from a web page
1 - calling bat file ? (not working)
2 - calling http://localhost:8080/manager/html/start?path=/engine
(asking
password)

any clean way ?

Regards
Altug.


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




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary
and/or privileged.  This e-mail is intended only for the individual(s)
to
whom it is addressed, and may not be saved, copied, printed, disclosed
or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


-
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]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



Re: Restarting tomcat from web page

2003-12-04 Thread Tim Funk
I have heard of this done by using a second webserver with perl installed and 
then using Perl Win32 calls from webserver A to webserver B to restart the 
server.

You could always run the other webserver on a high protected port so you 
don't need a second box.

-Tim

Altug B. Altintas wrote:

Hi
How can i restart Tomcat which is running as service, from a web page
1 - calling bat file ? (not working)
2 - calling http://localhost:8080/manager/html/start?path=/engine  (asking
password)
 


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


RE: Restarting tomcat from web page

2003-12-04 Thread Shapira, Yoav

Howdy,
Restarting all of tomcat or just selected webapps?

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Altug B. Altintas [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 10:57 AM
To: Tomcat Users List
Subject: Restarting tomcat from web page

Hi
How can i restart Tomcat which is running as service, from a web page
1 - calling bat file ? (not working)
2 - calling http://localhost:8080/manager/html/start?path=/engine
(asking
password)

any clean way ?

Regards
Altug.


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




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



Re: Restarting tomcat from web page

2003-12-04 Thread Rodrigo Ruiz
The only way to restart a Windows service is through native code. You 
could use JNDI, or Runtime.exec() to run a net stop  net start 
script, or a perl script, or a vbs one... there are many options here :-)

Apart from protecting the page, I would also implement a first step with 
a countdown, so you can abort the restart operation if you want :-P

Regards,
Rodrigo Ruiz
Tim Funk wrote:

I have heard of this done by using a second webserver with perl 
installed and then using Perl Win32 calls from webserver A to 
webserver B to restart the server.

You could always run the other webserver on a high protected port so 
you don't need a second box.

-Tim

Altug B. Altintas wrote:

Hi
How can i restart Tomcat which is running as service, from a web page
1 - calling bat file ? (not working)
2 - calling http://localhost:8080/manager/html/start?path=/engine  
(asking
password)
 


-
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]