hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nijel (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8442) Remove ServerLifecycleListener from kms/server.xml.
Date Thu, 08 Oct 2015 04:42:26 GMT

    [ https://issues.apache.org/jira/browse/HDFS-8442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14948065#comment-14948065
] 

nijel commented on HDFS-8442:
-----------------------------

Removing this line will impact the mbean registration in tomcat 6.

So i suggest to have 2 xmls, one for tomcat 6 based version and one for tomcat7 versions
Based on the version passed, build time can choose which xml to use

any thought ? 

> Remove ServerLifecycleListener from kms/server.xml.
> ---------------------------------------------------
>
>                 Key: HDFS-8442
>                 URL: https://issues.apache.org/jira/browse/HDFS-8442
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: nijel
>            Assignee: nijel
>         Attachments: HDFS-8442-1.patch
>
>
> Remove ServerLifecycleListener from kms/server.xml.
> From tomcat Tomcat 7.0.9 the support for ServerLifecycleListener is removed
> ref : https://tomcat.apache.org/tomcat-7.0-doc/changelog.html
> Remove ServerLifecycleListener. This was already removed from server.xml and with the
Lifecycle re-factoring is no longer required. (markt)
> So if the build env is with tomcat later than this, kms startup is failing
> {code}
> SEVERE: Begin event threw exception
> java.lang.ClassNotFoundException: org.apache.catalina.mbeans.ServerLifecycleListener
> {code}
> can we remove this listener ? 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message