I can look up my classes at through the JMX viewer
Here is what I see:
MBean Name: repository:application=myEar.ear
MBean Java Class: org.jboss.mx.loading.HeirarchicalLoaderRepository
It lists the Jars and Sars. And I can lookup the class in question which returns fine.
My problem is what to put in:
in the MBean descriptor file that is in my Sar file.
I don't think the classpath element will have any effect on this. It's possible that the scoped classloading isn't working properly for mbeans except in jboss 4, so you might try that and report the results.
Jboss 4? Didn't see anything on sourceforge or jboss.org regarding this version.
Are there other approaches that might work in the current release of JBoss? I need startup classes (mbean) and need to isolate some classes that run because of versioning/classpath issues... Again any help is greatly appreciated!
Didn't Scott fix this?
The fix should be available when 3.0.2 is released
otherwise you'll have to get Branch_3_0 from CVS
Given that this fix is in a future yet to be *released* version. Is there a workaround that you could suggest?
Checkout Branch_3_0 from CVS and build 3.0.2 yourself?
Or patch jboss-jmx.jar with the fixed version of the
registry mentioned above?