[JIRA] Created: (LBACCESS-17) LogbackValve overrides final start() method from LifecycleBase in Tomcat 7

LogbackValve overrides final start() method from LifecycleBase in Tomcat 7 -------------------------------------------------------------------------- Key: LBACCESS-17 URL: http://jira.qos.ch/browse/LBACCESS-17 Project: logback-access Issue Type: Bug Affects Versions: 0.9.26 Reporter: Grzegorz Grzybek Assignee: Logback dev list Priority: Critical {code} java.lang.VerifyError: class ch.qos.logback.access.tomcat.LogbackValve overrides final method start.()V {code} Tomcat 7 has changed the LifecycleBase implementation - it should not override start() but rather startInternal() -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira

[ http://jira.qos.ch/browse/LBACCESS-17?page=com.atlassian.jira.plugin.system.... ] Paul Gifford commented on LBACCESS-17: -------------------------------------- In addition to overriding startInternal(), stopInternal() should be overridden instead of stop(). Also, at the beginning of each method a call to the overridden method must be included to set the LifecycleState, otherwise an exception will be thrown (e.g. super.startInternal();)
LogbackValve overrides final start() method from LifecycleBase in Tomcat 7 --------------------------------------------------------------------------
Key: LBACCESS-17 URL: http://jira.qos.ch/browse/LBACCESS-17 Project: logback-access Issue Type: Bug Affects Versions: 0.9.26 Reporter: Grzegorz Grzybek Assignee: Logback dev list Priority: Critical
{code} java.lang.VerifyError: class ch.qos.logback.access.tomcat.LogbackValve overrides final method start.()V {code} Tomcat 7 has changed the LifecycleBase implementation - it should not override start() but rather startInternal()
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira

[ http://jira.qos.ch/browse/LBACCESS-17?page=com.atlassian.jira.plugin.system.... ] Grzegorz Grzybek commented on LBACCESS-17: ------------------------------------------ I have a simple project: https://github.com/grgrzybek/tomcat-slf4j-logback which contains simple workaround. See https://github.com/grgrzybek/tomcat-slf4j-logback/blob/master/build.xml, lines 204, 205 The problem is - it won't work on Tomcat 6... regards Grzegorz Grzybek
LogbackValve overrides final start() method from LifecycleBase in Tomcat 7 --------------------------------------------------------------------------
Key: LBACCESS-17 URL: http://jira.qos.ch/browse/LBACCESS-17 Project: logback-access Issue Type: Bug Affects Versions: 0.9.26 Reporter: Grzegorz Grzybek Assignee: Logback dev list Priority: Critical
{code} java.lang.VerifyError: class ch.qos.logback.access.tomcat.LogbackValve overrides final method start.()V {code} Tomcat 7 has changed the LifecycleBase implementation - it should not override start() but rather startInternal()
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira

[ http://jira.qos.ch/browse/LBACCESS-17?page=com.atlassian.jira.plugin.system.... ] Ceki Gulcu resolved LBACCESS-17. -------------------------------- Fix Version/s: 0.9.31 Resolution: Fixed The logback-access module now targets Tomcat 7.x and Jetty 7.x & 8.x as its servlet container platforms. See also [1]. [1] http://github.com/ceki/logback/commit/385ba8afa5
LogbackValve overrides final start() method from LifecycleBase in Tomcat 7 --------------------------------------------------------------------------
Key: LBACCESS-17 URL: http://jira.qos.ch/browse/LBACCESS-17 Project: logback-access Issue Type: Bug Affects Versions: 0.9.26 Reporter: Grzegorz Grzybek Assignee: Logback dev list Priority: Critical Fix For: 0.9.31
{code} java.lang.VerifyError: class ch.qos.logback.access.tomcat.LogbackValve overrides final method start.()V {code} Tomcat 7 has changed the LifecycleBase implementation - it should not override start() but rather startInternal()
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
participants (3)
-
Ceki Gulcu (JIRA)
-
Grzegorz Grzybek (JIRA)
-
Paul Gifford (JIRA)