-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stevo,

> On Wed, Jun 1, 2011 at 4:42 PM, Stevo Slavić <ssla...@gmail.com> wrote:
>> Hello Tomcat users,
>>
>> Does anyone know has it been changed after Apache Tomcat 6.0.13 that
>> source of LifecycleEvent of "after_start" and "stop" type is
>> org.apache.catalina.core.StandardEngine instead of
>> org.apache.catalina.Server?
>>
>> [Pardon, it's StandardService and not StandardEngine that's source of
>> these events (Apache Tomcat 6.0.32).]
>>
>> I'm experiencing issues with JBoss mod_cluster:
>> http://community.jboss.org/thread/167432
>>
>> Its LifecycleListener,
>> http://anonsvn.jboss.org/repos/mod_cluster/trunk/src/main/java/org/jboss/modcluster/catalina/ModClusterListener.java
>> expects source of after_start and stop event to be
>> org.apache.catalina.Server but when debugging I see that it's
>> org.apache.catalina.core.StandardEngine.

It looks like several components (in trunk, currently 6.0.32+) issue
AFTER_START and STOP lifecycle events:

java/org/apache/catalina/core/StandardThreadExecutor.java
java/org/apache/catalina/core/StandardServer.java
java/org/apache/catalina/core/StandardContext.java
java/org/apache/catalina/core/ContainerBase.java
java/org/apache/catalina/core/StandardService.java
java/org/apache/catalina/core/StandardPipeline.java
java/org/apache/catalina/ha/tcp/SimpleTcpCluster.java

So, StandardServer does issue such events and should be handled
correctly by the code you indicated, but StandardService also sends
those events and if you want to handle those as well, you'll have to do so.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3mjlcACgkQ9CaO5/Lv0PACnwCfWnICcaQa+/5UDFjDa2APDeLP
WPgAn2Az5qtm6l1udDNGcXmw96673iVW
=de2w
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to