-
Bug
-
Resolution: Done
-
Major
-
4.2.0.GA_CP04, 4.3.0.GA_CP02
-
None
-
Release Notes
Inside of both MBeanSeverImpl and the RawDynamicInvoker, exceptions are being eaten, when the getMBeanInfo method is being called. The only thing thrown is the NotCompliantMBeanException with a canned exception message. The underlying exception can be anything from a classloader issue, to just a plain old CNF Exception. This code needs to be changed so that the underlying exception is propagated out to be seen in the log.
the code is...
try
catch (Exception e)
{ throw new NotCompliantMBeanException("Cannot obtain MBeanInfo, for: " + oname); }
which just eats the underlying Exception.
This should be
try
{ this.info = getMBeanInfo(); }
catch (Exception e)
{ throw new NotCompliantMBeanException("Cannot obtain MBeanInfo, for: " + oname, e); }And NotCompliantMBeanException should be chaned to take the nested exception.
- is blocked by
-
JBAS-5933 JMX operations eat underlying exception
- Closed