Bug 61215 - NoSuchMethodException in JMX Proxy when accessing to RemoteAddrValve MBeans
Summary: NoSuchMethodException in JMX Proxy when accessing to RemoteAddrValve MBeans
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 9
Classification: Unclassified
Component: Manager (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: -----
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-24 22:18 UTC by Alexis Hassler
Modified: 2017-06-26 13:06 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexis Hassler 2017-06-24 22:18:31 UTC
The RemoteAddrValve class has some new boolean attributes (addConnectorPort, invalidAuthenticationWhenDeny, addConnectorPort, invalidAuthenticationWhenDeny) but the accessors are not mbean-friendly. 'is' should be used instead of 'get'.
Comment 1 Alexis Hassler 2017-06-24 22:30:22 UTC
PR sent (#66) : 
- replace the getInvalidAuthenticationWhenDeny with isInvalidAuthenticationWhenDeny in RequestFilterValve 
- replace getAddConnectorPort with isAddConnectorPort in RemoteAddrValve
Comment 2 Mark Thomas 2017-06-26 13:06:28 UTC
This has been fixed in:
- trunk for 9.0.0.M23 onwards
- 8.5.x for 8.5.17 onwards
- 8.0.x for 8.0.45 onwards
- 7.0.x for 7.0.79 onwards