We are in the process of upgrading to Wildfly 10. In our application we use many JMX endpoints to trigger processing. What we are finding is that when we try to lookup the "BeanManager" in JNDI ( java:comp/BeanManager ) in a thread used to handle the JMX request, we can't find the BeanManager. However, if we call a SLSB in the same thread, we can find the BeanManager in JNDI within the call to the SLSB.
We would like to find the BeanManager directly from the JMX bean if possible w/o calling the SLSB.