My Oracle Support Banner

How to invoke EJB from custom JMX MBEAN? (Doc ID 989655.1)

Last updated on MAY 30, 2024

Applies to:

Oracle WebLogic Server - Version 9.2 to 10.3
Information in this document applies to any platform.

Goal

On invoking an EJB Stateless bean from JMX MBEAN results in the below exception:


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.

Solution

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
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.