uot;server/service" object through JMX?
> 2. I could check using reflection if the addLifecycleListener method is
> available, but an interface would be nicer.
>
> Filip
>
> -Original Message-
> From: Costin Manolache [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 20
leListener method is available, but
an interface would be nicer.
Filip
-Original Message-
From: Costin Manolache [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 9:54 AM
To: [EMAIL PROTECTED]
Subject: Re: Startup question
A much better way - at least for tomcat5, but it sho
Remy Maucherat wrote:
> Filip Hanik wrote:
>> yes, you are right, how do I subscribe to this event?
>> I know that the server has a addLifeCycleListener, but how do I access
>> the server from a cluster object for example?
>
> You can go up the tree, I think, but otherwise, you can just use
> Ser
Would this work too?
1 - Create your own class which implements LifeCycleListener.
2 - Add it inside of like anything else.
3 - When LifeCycleListener.lifecycleEvent is called the LifecycleEvent
has a method called getData() which returns an object refence which I
hope is the reference to the S
Filip Hanik wrote:
yes, you are right, how do I subscribe to this event?
I know that the server has a addLifeCycleListener, but how do I access the server from a cluster object for example?
You can go up the tree, I think, but otherwise, you can just use
ServerFactory.getServer().
Remy
-
: Tomcat Developers List
Subject: Re: Startup question
I think o.a.catalina.core.StandardServer.start() fires the events you
are looking for.
-Tim
org.apache.catalina.core
Filip Hanik wrote:
> hi there,
> with the lifecycle events, can I get an event that Tomcat has started (ie, all the
>
I think o.a.catalina.core.StandardServer.start() fires the events you
are looking for.
-Tim
org.apache.catalina.core
Filip Hanik wrote:
hi there,
with the lifecycle events, can I get an event that Tomcat has started (ie, all the contexts have been started)?
if so, what event is that
Filip