You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2021/06/28 14:53:40 UTC

[Bug 65404] New: after upgrade Tomcat 8.5.57 to 8.5.66 the Tomcat Manager Status page is unstable

https://bz.apache.org/bugzilla/show_bug.cgi?id=65404

            Bug ID: 65404
           Summary: after upgrade Tomcat 8.5.57 to 8.5.66 the Tomcat
                    Manager Status page is unstable
           Product: Tomcat 8
           Version: 8.5.66
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Manager
          Assignee: dev@tomcat.apache.org
          Reporter: jordan@ze.com
  Target Milestone: ----

Unfortunately we use an APM that relies on the Tomcat Manager Status page.

This was working fine with Tomcat 8.5.57

Since upgrading to Tomcat 8.5.66 the Status page has become unstable.

After some time (could be a couple hours, could be days) it will eventually
start missing the info at the bottom of the page and an error will be logged:

22-Jun-2021 13:34:26.736 SEVERE [http-nio-8080-exec-7]
org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for
servlet [Status] in context with path [/manager] threw exception
[javax.management.AttributeNotFoundException: Cannot find attribute maxTime for
BaseModelMbean[null]] with root cause
           javax.management.AttributeNotFoundException: Cannot find attribute
maxTime for BaseModelMbean[null]
                       at
org.apache.tomcat.util.modeler.ManagedBean.getGetter(ManagedBean.java:435)
                       at
org.apache.tomcat.util.modeler.BaseModelMBean.getAttribute(BaseModelMBean.java:166)
                       at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:647)
                       at
com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:678)
                       at
org.apache.catalina.manager.StatusTransformer.writeConnectorState(StatusTransformer.java:357)

This is somewhat similar to a previous bug but intermittent
(https://bz.apache.org/bugzilla/show_bug.cgi?id=62918)

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 65404] after upgrade Tomcat 8.5.57 to 8.5.66 the Tomcat Manager Status page is unstable

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65404

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Once this starts, does it occur for every request or is it intermittent?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 65404] after upgrade Tomcat 8.5.57 to 8.5.66 the Tomcat Manager Status page is unstable

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65404

--- Comment #2 from Jordan <jo...@ze.com> ---
Once it starts it appears to keep happening for every request until server
restart.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 65404] after upgrade Tomcat 8.5.57 to 8.5.66 the Tomcat Manager Status page is unstable

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65404

--- Comment #4 from Mark Thomas <ma...@apache.org> ---
Yep, that is is. Making a WebSocket request is sufficient to trigger this. Now
to figure out a fix.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 65404] after upgrade Tomcat 8.5.57 to 8.5.66 the Tomcat Manager Status page is unstable

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65404

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #5 from Mark Thomas <ma...@apache.org> ---
Fixed now. Thanks for reporting this.

Fixed in:
- 10.1.x for 10.1.0-M3 onwards
- 10.0.x for 10.0.9 onwards
- 9.0.x for 9.0.51 onwards
- 8.5.x for 8.5.69 onwards

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 65404] after upgrade Tomcat 8.5.57 to 8.5.66 the Tomcat Manager Status page is unstable

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65404

--- Comment #3 from Mark Thomas <ma...@apache.org> ---
Thanks. That is helpful.

I am wondering if the fix for bug 63362 is responsible for this. It made
changes in this area and it was in 8.5.60 onwards. No evidence so support this
theory yet.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org