Re: 9.0.83 addSslHostConfig JMX Operation Regression (Sample Code Attached)

2023-12-15 Thread Christopher Schultz
On 12/15/23 04:27, Rémy Maucherat wrote: On Thu, Dec 14, 2023 at 7:54 PM Daniel Skiles wrote: Christ, Thanks for the explanation. The XML-based registration - is that something I would do as a user, or something that would be changed on the Tomcat side as part of its release bundle? I

Re: 9.0.83 addSslHostConfig JMX Operation Regression (Sample Code Attached)

2023-12-15 Thread Rémy Maucherat
On Thu, Dec 14, 2023 at 7:54 PM Daniel Skiles wrote: > > Christ, > Thanks for the explanation. > > The XML-based registration - is that something I would do as a user, or > something that would be changed on the Tomcat side as part of its release > bundle? I fixed

Re: 9.0.83 addSslHostConfig JMX Operation Regression (Sample Code Attached)

2023-12-14 Thread Daniel Skiles
Christ, Thanks for the explanation. The XML-based registration - is that something I would do as a user, or something that would be changed on the Tomcat side as part of its release bundle? On Thu, Dec 14, 2023 at 10:17 AM Christopher Schultz < ch...@christopherschultz.net> wrote: > Daniel, > >

Re: 9.0.83 addSslHostConfig JMX Operation Regression (Sample Code Attached)

2023-12-14 Thread Christopher Schultz
Daniel, On 12/14/23 09:43, Daniel Skiles wrote: Do you have any pointers on how to do that using JMX? So far as I can tell from what little documentation I can find on the tomcat site, this is how it's done. I'm suspicious that there might be an issue in Tomcat's

Re: 9.0.83 addSslHostConfig JMX Operation Regression (Sample Code Attached)

2023-12-14 Thread Christopher Schultz
Daniel, On 12/13/23 15:42, Daniel Skiles wrote: The object and operation I'm trying to address is Catalina --> ProtocolHandler --> --> --> operations --> addSslHostConfig. The parameters are an SslHostConfig object and the boolean value "true". The operation is "addSslHostConfig". The code

Re: 9.0.83 addSslHostConfig JMX Operation Regression (Sample Code Attached)

2023-12-14 Thread Daniel Skiles
Do you have any pointers on how to do that using JMX? So far as I can tell from what little documentation I can find on the tomcat site, this is how it's done. I'm suspicious that there might be an issue in Tomcat's MbeansDescriptorsIntrospectionSource.createManagedBean(...) method. I'm not

Re: 9.0.83 addSslHostConfig JMX Operation Regression (Sample Code Attached)

2023-12-14 Thread Rémy Maucherat
On Wed, Dec 13, 2023 at 9:43 PM Daniel Skiles wrote: > > The object and operation I'm trying to address is Catalina --> > ProtocolHandler --> --> --> operations --> addSslHostConfig. > > The parameters are an SslHostConfig object and the boolean value "true". > > The operation is

Re: 9.0.83 addSslHostConfig JMX Operation Regression (Sample Code Attached)

2023-12-13 Thread Daniel Skiles
The object and operation I'm trying to address is Catalina --> ProtocolHandler --> --> --> operations --> addSslHostConfig. The parameters are an SslHostConfig object and the boolean value "true". The operation is "addSslHostConfig". The code I sent in the previous message works 100% of the

Re: 9.0.83 addSslHostConfig JMX Operation Regression (Sample Code Attached)

2023-12-13 Thread Christopher Schultz
Daniel, On 12/12/23 19:45, Daniel Skiles wrote: I apologize for it being a bit rough - it's what I was using to troubleshoot locally. import static java.util.Objects.nonNull; import java.lang.management.ManagementFactory; import java.util.Arrays; import java.util.HashMap; import

Re: 9.0.83 addSslHostConfig JMX Operation Regression (Sample Code Attached)

2023-12-12 Thread Daniel Skiles
I apologize for it being a bit rough - it's what I was using to troubleshoot locally. import static java.util.Objects.nonNull; import java.lang.management.ManagementFactory; import java.util.Arrays; import java.util.HashMap; import java.util.Map; import java.util.Optional; import

Re: 9.0.83 addSslHostConfig JMX Operation Regression (Sample Code Attached)

2023-12-08 Thread Christopher Schultz
Daniel, On 12/7/23 13:25, Daniel Skiles wrote: All, I've been doing some testing, and I'm pretty sure the addSslHostConfig operation on ProtocolHandler is busted in 9.0.83. In versions prior to 9.0.82, you can call the operation with a single argument of type SSLHostConfig. In 9.0.82,

9.0.83 addSslHostConfig JMX Operation Regression (Sample Code Attached)

2023-12-07 Thread Daniel Skiles
All, I've been doing some testing, and I'm pretty sure the addSslHostConfig operation on ProtocolHandler is busted in 9.0.83. In versions prior to 9.0.82, you can call the operation with a single argument of type SSLHostConfig. In 9.0.82, that contract seems to have been broken, and you had to