MBeans and Lifecycle

2008-06-06 Thread Stront
Is it possible to identify what stage in it's Lifecycle (org.apache.catalina.Lifecycle) Catalina is in using MBeans? -- View this message in context: http://www.nabble.com/MBeans-and-Lifecycle-tp17692655p17692655.html Sent from the Tomcat - User mailing list archive at Nabble.com.

Re: Load Balnce and failover for Tomcat

2008-05-15 Thread Stront
> Didn't you say you could already do this? Yes, but it is a little hacky. MBeans seem a more approiate way to go and wanted to know if they could be used for this. > You need to write a service that "knows" that all webapps have started, or > have your load balancer test each one before report

Re: Load Balnce and failover for Tomcat

2008-05-14 Thread Stront
bapps is "up" is to test it with a > request to your webapps. > > So, the answer will differ for each webapps and the resource to ask > will differ as well. > > Best of luck. > > Regards, > Dave > > On May 13, 2008, at 7:46 AM, Stront wrote: > &g

RE: Load Balnce and failover for Tomcat

2008-05-13 Thread Stront
> From: Stront [mailto:[EMAIL PROTECTED] > 2. That all of the webapps are running. That's webapp-dependent, surely? Tomcat can't determine all the ways in which your application can fail. But it can tell if the app has started; Tomcat's manager displays a list of a

Load Balnce and failover for Tomcat

2008-05-13 Thread Stront
I need to load balance (but not cluster) a collection of Tomcats. We have existing load balancers/failover that can probe with an HTTP requests to see if a service is up. However out Tomcats have a number of webapps on and the start-up/shotdown can take quite a few minutes, so the failover isn't