This content has been marked as final. Show 1 reply
To anyone that has the same problem, here's what I figured out:
I had been following the advice of the Wiki here and getting a handle on the JBoss MBean server by calling:
That worked fine from within Eclipse, but when run outside Eclipse, Sun's JVM MBean server was the first in the list returned, and the classes I needed were only available within the scope of the JBoss class loader.
The solution, which is less than perfect because it uses JBoss specific code, was to get a handle to the JBoss server using this method:
I hope this helps someone!