This content has been marked as final. Show 2 replies
I'm trying out mod_cluster (1.1.2.Final) with Apache Tomcat (6.0.32). I've added ModClusterListener to server.xml. After debugging ModClusterListener's lifecycleEvent(LifecycleEvent event) I noticed that ModClusterListener gets notified of after_start and stop lifecycle event (used for registering and unregistering ModClusterListener as MBean), and ModClusterListener expects event source to be org.apache.catalina.Server but actually org.apache.catalina.core.StandardEngine is source of these events, so registering/unregistering never occurs.
Is this intended behavior or a bug?
Same behavior occurs with Apache Tomcat 7.0.14. Couldn't try this with Apache Tomcat 6.0.13 (based on this FAQ it seems jbossweb is based on 6.0.13), but I don't see from Tomcat change log that this change (event source from Server to StandardEngine) occured in the meantime.