How to invoke EJB from custom JMX MBEAN?
(Doc ID 989655.1)
Last updated on FEBRUARY 10, 2019
Applies to:Oracle WebLogic Server - Version 9.2 to 10.3
Information in this document applies to any platform.
On invoking an EJB Stateless bean from JMX MBEAN results in the below exception:
0966588767S::jmx_ejb_test:AdminServer', oid: '286', channel: 'null' to examples.ServiceHome
From a standalone client the same code works fine.
The thread that is created by JMX for the call (possible RMI thread) is missing the context that exists in servlet thread.
JConsole ------>MBean-------->Invokes Stateless Session Bean
1) Invoke EJB stateless session bean from JMX MBean that is located on the same app server.
2) JMX MBean to be invoked from a JMX client via JConsole, from Sun.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document