RE: Restart automatically Tomcat

2003-12-24 Thread Slimane Amar
Hi Shapira,

Now, i use Tomcat 5.0.16 and after it fails it does not restart
automatically.

Apparently, this version does not yet include this feature.
Is it scheduled for another version ?

Thanks.

-- Debut du message initial ---

De : Shapira, Yoav [EMAIL PROTECTED]
A  : Tomcat Users List [EMAIL PROTECTED]
Copies : 
Date   : Wed, 8 Oct 2003 08:57:59 -0400
Sujet  : RE: Restart automatically Tomcat


Howdy,
I would also add that the stable version of tomcat 5 is likely to
include this.  We have to modify common daemon first, but that's in the
works.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Slimane Amar [mailto:[EMAIL PROTECTED]
Sent: Monday, October 06, 2003 6:31 AM
To: tomcat-user
Subject: Restart automatically Tomcat

Hi all,

I'm using Tomcat 4.1.24 et i want after it fails it restarts
automatically
to have a high availability.

Is it possible with only Tomcat ?

Thanks

--
Slimane AMAR Mail: [EMAIL PROTECTED]
GENIGRAPHURL : http://www.genigraph.fr
104, rue Castagnary  Tel : +33 01 45 33 64 63
F-75015 PARIS FRANCE Fax : +33 01 45 33 89 63
--


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




--
Slimane AMAR Mail: [EMAIL PROTECTED]
GENIGRAPHURL : http://www.genigraph.fr
104, rue Castagnary  Tel : +33 01 45 33 64 63
F-75015 PARIS FRANCE Fax : +33 01 45 33 89 63
--


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



RE: Restart automatically Tomcat

2003-12-24 Thread Shapira, Yoav

Howdy,
Nope, it's not implemented yet and not on our radar screen at this
point, as we're all (I mean the core tomcat developers) very busy with
other stuff at the moment.  Feel free to implement it yourself and send
in a patch ;)

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Slimane Amar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 24, 2003 5:50 AM
To: tomcat-user
Subject: RE: Restart automatically Tomcat

Hi Shapira,

Now, i use Tomcat 5.0.16 and after it fails it does not restart
automatically.

Apparently, this version does not yet include this feature.
Is it scheduled for another version ?

Thanks.

-- Debut du message initial ---

De : Shapira, Yoav [EMAIL PROTECTED]
A  : Tomcat Users List [EMAIL PROTECTED]
Copies :
Date   : Wed, 8 Oct 2003 08:57:59 -0400
Sujet  : RE: Restart automatically Tomcat


Howdy,
I would also add that the stable version of tomcat 5 is likely to
include this.  We have to modify common daemon first, but that's in the
works.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Slimane Amar [mailto:[EMAIL PROTECTED]
Sent: Monday, October 06, 2003 6:31 AM
To: tomcat-user
Subject: Restart automatically Tomcat

Hi all,

I'm using Tomcat 4.1.24 et i want after it fails it restarts
automatically
to have a high availability.

Is it possible with only Tomcat ?

Thanks

--
Slimane AMAR Mail: [EMAIL PROTECTED]
GENIGRAPHURL : http://www.genigraph.fr
104, rue Castagnary  Tel : +33 01 45 33 64 63
F-75015 PARIS FRANCE Fax : +33 01 45 33 89 63
--


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




--
Slimane AMAR Mail: [EMAIL PROTECTED]
GENIGRAPHURL : http://www.genigraph.fr
104, rue Castagnary  Tel : +33 01 45 33 64 63
F-75015 PARIS FRANCE Fax : +33 01 45 33 89 63
--


-
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: Restart automatically Tomcat

2003-10-17 Thread Andy Wagg
I have used the Java Service Wrapper to do this for JBoss (integrated 
with Tomcat) on a Tru64 UNIX platform. However, this wrapper works for 
both UNIX and Windows NT.

http://wrapper.tanukisoftware.org/doc/english/index.html

Andy

[EMAIL PROTECTED] wrote:
I'm using Tomcat 4.1.24 et i want after it fails it restarts
automatically to have a high availability.


[Assuming Unix]
Way 1 - Set $CATALINA_PID before staarting tomcat. Then have a cron
job run occasasionally to look at the value in the file pointed at
by $CATALINA_PID.  If the process doesn't exist - start tomcat.


That's a good idea.  Another option (also assuming unix, and the
willingness to do a little bit of shell scripting) would be to add a
wrapper around tomcat's scripts.
The general idea is

  while true; do
# using run because it blocks
$CATALINA_HOME/bin/catalina.sh run
if really_shutting_down; then
  # we're supposed to stop, so exit gracefully
  exit 0
fi
  done
really_shutting_down implies that you'd need a shutdown wrapper with
some provision for allowing the `loop' script to determine whether a
shutdown was accidental or intentional.  You'd also want to have some
sort of check in place to prevent an infinite loop if tomcat was
started with a bad configuration file, or something of that nature.
There are probably other little details to work out, but that's the
basic idea.




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


RE: Restart automatically Tomcat

2003-10-10 Thread Slimane Amar
Hi Yoav,

When is sheduled this stable version of Tomcat 5.

Thanks.
 
-- Debut du message initial ---

De : Shapira, Yoav [EMAIL PROTECTED]
A  : Tomcat Users List [EMAIL PROTECTED]
Copies : 
Date   : Wed, 8 Oct 2003 08:57:59 -0400
Sujet  : RE: Restart automatically Tomcat


Howdy,
I would also add that the stable version of tomcat 5 is likely to
include this.  We have to modify common daemon first, but that's in the
works.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Slimane Amar [mailto:[EMAIL PROTECTED]
Sent: Monday, October 06, 2003 6:31 AM
To: tomcat-user
Subject: Restart automatically Tomcat

Hi all,

I'm using Tomcat 4.1.24 et i want after it fails it restarts
automatically
to have a high availability.

Is it possible with only Tomcat ?

Thanks

--
Slimane AMAR Mail: [EMAIL PROTECTED]
GENIGRAPHURL : http://www.genigraph.fr
104, rue Castagnary  Tel : +33 01 45 33 64 63
F-75015 PARIS FRANCE Fax : +33 01 45 33 89 63
--


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




--
Slimane AMAR Mail: [EMAIL PROTECTED]
GENIGRAPHURL : http://www.genigraph.fr
104, rue Castagnary  Tel : +33 01 45 33 64 63
F-75015 PARIS FRANCE Fax : +33 01 45 33 89 63
--


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



Re: Restart automatically Tomcat

2003-10-10 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/version.html#when

-Tim

Slimane Amar wrote:

Hi Yoav,



When is sheduled this stable version of Tomcat 5.



Thanks.



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


RE: Restart automatically Tomcat

2003-10-08 Thread Shapira, Yoav

Howdy,
I would also add that the stable version of tomcat 5 is likely to
include this.  We have to modify common daemon first, but that's in the
works.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Slimane Amar [mailto:[EMAIL PROTECTED]
Sent: Monday, October 06, 2003 6:31 AM
To: tomcat-user
Subject: Restart automatically Tomcat

Hi all,

I'm using Tomcat 4.1.24 et i want after it fails it restarts
automatically
to have a high availability.

Is it possible with only Tomcat ?

Thanks

--
Slimane AMAR Mail: [EMAIL PROTECTED]
GENIGRAPHURL : http://www.genigraph.fr
104, rue Castagnary  Tel : +33 01 45 33 64 63
F-75015 PARIS FRANCE Fax : +33 01 45 33 89 63
--


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



Restart automatically Tomcat

2003-10-06 Thread Slimane Amar
Hi all,

I'm using Tomcat 4.1.24 et i want after it fails it restarts automatically
to have a high availability.

Is it possible with only Tomcat ?

Thanks

--
Slimane AMAR Mail: [EMAIL PROTECTED]
GENIGRAPHURL : http://www.genigraph.fr
104, rue Castagnary  Tel : +33 01 45 33 64 63
F-75015 PARIS FRANCE Fax : +33 01 45 33 89 63
--


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



Re: Restart automatically Tomcat

2003-10-06 Thread Tim Funk
Yes and no.

No - the tomcat people don't provide this functionality but you can do it 
yourself.

[Assuming Unix]
Way 1 - Set $CATALINA_PID before staarting tomcat. Then have a cron job run 
occasasionally to look at the value in the file pointed at by $CATALINA_PID. 
If the process doesn't exist - start tomcat.

Way 2 - Wrap wget (or other user agent here) in a command line shell. If wget 
fails for reason [fill in here] - use $CATALINA_PID to kill the process and 
restart

Way 3 - Figure out why tomcat fails and prevent that from occuring and don't 
worry about 1,2

-Tim

Slimane Amar wrote:

Hi all,



I'm using Tomcat 4.1.24 et i want after it fails it restarts automatically

to have a high availability.



Is it possible with only Tomcat ?



Thanks


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


Re: Restart automatically Tomcat

2003-10-06 Thread srevilak
 I'm using Tomcat 4.1.24 et i want after it fails it restarts
 automatically to have a high availability.

 [Assuming Unix]
 Way 1 - Set $CATALINA_PID before staarting tomcat. Then have a cron
 job run occasasionally to look at the value in the file pointed at
 by $CATALINA_PID.  If the process doesn't exist - start tomcat.

That's a good idea.  Another option (also assuming unix, and the
willingness to do a little bit of shell scripting) would be to add a
wrapper around tomcat's scripts.

The general idea is

  while true; do
# using run because it blocks
$CATALINA_HOME/bin/catalina.sh run
if really_shutting_down; then
  # we're supposed to stop, so exit gracefully
  exit 0
fi
  done

really_shutting_down implies that you'd need a shutdown wrapper with
some provision for allowing the `loop' script to determine whether a
shutdown was accidental or intentional.  You'd also want to have some
sort of check in place to prevent an infinite loop if tomcat was
started with a bad configuration file, or something of that nature.

There are probably other little details to work out, but that's the
basic idea.

-- 
Steve

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