Ok, I'm working too many hours, can't see the proverbial forest. In my
discussion below, I noticed after posting that jarB is added to the
JBoss startup classpath, so that test was not valid. My question then
is simpler:
In JBoss 2.4.3, any threads started by an MBean don't appear to have
I figured out a solution, though I still don't understand what is going
on. Basically, we have class A in jarA starting up a thread, running
class B in jarB. class B is where I'm trying to do the narrow that is
failing. What I found was that putting myEJBHome.class into jarA didn't
help.
We are still using JBoss 2.4.3 (moving quickly as possible to 3.2.1) on
JDK 1.4.2. We have an EJB that invokes an MBean. For the sake of
discussion, call the classes myEJB, myEJBHome and myMBean. myEJB does a
lookup of myMBean and then invokes a method there. Under some
circumstances,