Hi, which version of the IGNL lib are you using ?
On 04/08/2021 16:48, Guus der Kinderen wrote:
I'm trying the register and use the MINA-provided MBeans, following the guide provided at https://mina.apache.org/mina-project/userguide/ch16-jmx-support/ch16-jmx-support.html Compile-time, everything is OK, and runtime, the beans appear to be registered properly. However, whenever someone tries to access attributes of one of the registered beans, this fails. Server-sided, this exception is logged. 021.08.04 15:49:41 WARN [Jetty-QTP-BOSH-95]: org.apache.mina.integration.jmx.ObjectMBean - Unexpected exception. java.lang.RuntimeException: MemberAccess implementation must be provided! at ognl.OgnlContext.<init>(OgnlContext.java:140) ~[ognl-3.2.10.jar:?] at ognl.OgnlContext.<init>(OgnlContext.java:110) ~[ognl-3.2.10.jar:?] at ognl.Ognl.createDefaultContext(Ognl.java:159) ~[ognl-3.2.10.jar:?] at org.apache.mina.integration.jmx.ObjectMBean.getAttribute(ObjectMBean.java:646) ~[mina-integration-jmx-2.1.3.jar:?] at org.apache.mina.integration.jmx.ObjectMBean.getAttribute(ObjectMBean.java:186) ~[mina-integration-jmx-2.1.3.jar:?] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:647) ~[?:1.8.0_292] I'm not sure exactly how to interpret this. One possibility that I considered was that I was missing concrete implemenations, so, in addition to the dependencies: - org.apache.mina:mina-core - org.apache.mina:mina-integration-jmx I experimented with adding: - org.apache.mina:mina-integration-beans - org.apache.mina:mina-integration-ognl Sadly, that didn't make a difference. Do I need another dependency, or am I looking at this entirely wrong? Kind regards, Guus
-- *Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE T. +33 (0)4 89 97 36 50 P. +33 (0)6 08 33 32 61 emmanuel.lecha...@busit.com https://www.busit.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@mina.apache.org For additional commands, e-mail: users-h...@mina.apache.org