Hi,
Any portable solutions (that would work on windows, not just unix, and
on MacOS)?

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Richard Calosso [mailto:[EMAIL PROTECTED]
>Sent: Friday, May 14, 2004 12:55 PM
>To: 'Tomcat Users List'
>Subject: RE: Tomcat "reboot" runtime
>
>The script will need to be a 2 stage process otherwise the kill tomcat
>command will kill your shell as part of its shutdown sequence and the
rest
>of your script will not execute (no restart).
>
>Stage 1. - start disconnected sub shell for process 2
>Stage 2. - kill tomcat, sleep, start tomcat
>
>In most UNIX shell these is a nohup command that disconnects the shell
for
>daemon processing that should work.  You can either script both parts
or
>build the correct nohup shell and do stage 2 from java.
>
>-----Original Message-----
>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Sent: Thursday, May 13, 2004 9:02 AM
>To: Tomcat Users List
>Subject: RE: Tomcat "reboot" runtime
>
>
>
>Hi,
>What's running your program (in order to wait and issue a startup
>command) after you've done a shutdown? ;)
>
>(Unless you're talking about highly tomcat-specific code that shuts
down
>tomcat and leaves the JVM itself running)
>
>Yoav Shapira
>Millennium Research Informatics
>
>
>>-----Original Message-----
>>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]
>>Sent: Thursday, May 13, 2004 11:55 AM
>>To: Tomcat Users List
>>Subject: RE: Tomcat "reboot" runtime
>>
>>Personally, I don't see why the scheme that Adam came up with wouldn't
>>work. You would want your program to do a shutdown, wait, then issue a
>>startup command.
>>
>>--Tim Sabin
>>
>>
>>
>>
>>"Shapira, Yoav" <[EMAIL PROTECTED]>
>>05/13/2004 11:23 AM
>>Please respond to
>>"Tomcat Users List" <[EMAIL PROTECTED]>
>>
>>
>>To
>>"Tomcat Users List" <[EMAIL PROTECTED]>
>>cc
>>
>>Subject
>>RE: Tomcat "reboot" runtime
>>
>>
>>
>>
>>
>>
>>
>>Hi,
>>I, on the other hand, would be interested to see what you come up
with,
>>so don't stop your train of thought on my account.
>>
>>Yoav Shapira
>>Millennium Research Informatics
>>
>>
>>>-----Original Message-----
>>>From: Adam Buglass [mailto:[EMAIL PROTECTED]
>>>Sent: Thursday, May 13, 2004 11:13 AM
>>>To: Tomcat Users List
>>>Subject: RE: Tomcat "reboot" runtime
>>>
>>>Wouldn't it be possible to restart tomcat by writing a server-side
>>>program to trigger a shell-script?? Of course that may disrupt the
>>>operation of the website itself - I'd have to consult the docs to be
>>>clearer on that.
>>>
>>>If Yoav says it can't be done then I'm sure we'd be wasting our time
>by
>>>trying!  ;-)
>>>
>>>However I'm curious, just thinking off the top of my head! :-)
>>>
>>>Adam
>>>
>>>On Thu, 2004-05-13 at 15:56, Shapira, Yoav wrote:
>>>> Hi,
>>>> No to both.
>>>>
>>>> Yoav Shapira
>>>> Millennium Research Informatics
>>>>
>>>>
>>>> >-----Original Message-----
>>>> >From: Rudolf Feyerkleist [mailto:[EMAIL PROTECTED]
>>>> >Sent: Thursday, May 13, 2004 8:11 AM
>>>> >To: [EMAIL PROTECTED]
>>>> >Subject: Tomcat "reboot" runtime
>>>> >
>>>> >Is there a way to restart tomcat from a webapplication running on
>>>> tomcat?
>>>> >Or is there a way for canges to the server.xml of tomcat to become
>>>> >effective at runtime?
>>>> >
>>>> >__________________________________________________
>>>> >Do You Yahoo!?
>>>> >Tired of spam?  Yahoo! Mail has the best spam protection around
>>>> >http://mail.yahoo.com
>>>>
>>>>
>>>>
>>>> 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 no
>>>>
>>>>
>>>>
>---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail:
[EMAIL PROTECTED]
>>>--
>>>
>>>Adam Buglass,  ><>
>>>The Golden Freeway,
>>>Department of Child Health,
>>>University of Newcastle-upon-Tyne.
>>>Royal Victoria Infirmary.
>>>
>>>(0191) 2023062
>>>
>>>"Democracy is two wolves and a lamb voting on what to have for lunch.
>>>Liberty is a well-armed lamb contesting the vote."
>>>~Benjamin Franklin, 1759
>>>
>>>
>>>---------------------------------------------------------------------
>>>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]
>>
>
>
>
>
>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]
>
>




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]

Reply via email to