Please disregard that, I got overexcited. It looks like you can query the operation, and it will return the correct name and the correct parameters, but when you try to run it, you get the following stack trace:
Caused by: javax.management.ServiceNotFoundException: Cannot find operation [addSslHostConfig] at org.apache.tomcat.util.modeler.ManagedBean.getInvoke(ManagedBean.java:525) ~[tomcat-coyote.jar:9.0.83] at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:286) ~[tomcat-coyote.jar:9.0.83] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:814) ~[?:?] at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:802) ~[?:?] Any ideas here? On Wed, Dec 6, 2023 at 4:45 PM Daniel Skiles <[email protected]> wrote: > I found the source of the problem > > 9.0.82 accepts the simple class name as a type parameter for the operation. > > 9.0.83 requires the canonical class name. > > On Wed, Dec 6, 2023 at 3:06 PM Daniel Skiles <[email protected]> > wrote: > >> I've had no success digging into this. >> >> Is this a regression, or was this an intentional change? >> >> On Mon, Nov 27, 2023 at 8:56 AM Daniel Skiles <[email protected]> >> wrote: >> >>> Thanks for taking a look. My lightly scrubbed connector example is >>> attached. >>> >>> On Tue, Nov 21, 2023 at 6:45 AM Michael Osipov <[email protected]> >>> wrote: >>> >>>> On 2023/11/21 11:25:11 Michael Osipov wrote: >>>> > On 2023/11/20 22:14:14 Daniel Skiles wrote: >>>> > > Was there a change to the addSslHostConfig JMX mbean operation >>>> between >>>> > > 9.0.82 and 9.0.83? I have some code that works in 82, but fails >>>> with an >>>> > > MBeanException: Cannot find operation [addSslHostConfig] in 9.0.83. >>>> > > >>>> > > When I attempt to look at the available operations on >>>> ProtocolHandler in >>>> > > jconsole, it throws an exception in 83 that opens a new window, but >>>> works >>>> > > in 82. >>>> > >>>> > I have the following with 8.5.x: >>>> > > Error setting Operation panel :org.apache.coyote.Request >>>> > > Error setting Operation panel :org.apache.tomcat.util.net >>>> .SSLHostConfig >>>> > >>>> > addSslHostConfig is greyed out for me...let me go back a patch >>>> version... >>>> >>>> Tried on 8.5.92, same behavior. You should share your connector config. >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [email protected] >>>> For additional commands, e-mail: [email protected] >>>> >>>>
