Not sure, what the real problem is, however, if I start Jboss 4.0.4GA with 
mustang instead of tiger, everything runs fine except the JMX console. Because 
of a "com.sun.management:type=HotSpotDiagnostic is not registered" exception 
the complete jmx-console is unusable.

I made the following fix:
--- jboss/varia/src/main/org/jboss/jmx/adaptor/control/Server.java.orig Sat Oct 
29 07:06:40 2005
  | +++ jboss/varia/src/main/org/jboss/jmx/adaptor/control/Server.java      Thu 
Jun 29 00:09:52 2006
  | @@ -30,6 +30,7 @@
  |  import java.util.TreeMap;
  |  import javax.management.Attribute;
  |  import javax.management.AttributeList;
  | +import javax.management.InstanceNotFoundException;
  |  import javax.management.JMException;
  |  import javax.management.MBeanInfo;
  |  import javax.management.MBeanAttributeInfo;
  | @@ -75,7 +76,18 @@
  |           while( objectNamesIter.hasNext() )
  |           {
  |              ObjectName name = (ObjectName) objectNamesIter.next();
  | -            MBeanInfo info = server.getMBeanInfo(name);
  | +            MBeanInfo info = null;
  | +            try {
  | +               info = server.getMBeanInfo(name);
  | +            } catch (InstanceNotFoundException inf) {
  | +               log.warn(inf.getLocalizedMessage());
  | +               if (log.isDebugEnabled()) {
  | +                                       log.debug("getDomainData", inf);
  | +                               }
  | +            }
  | +            if (info == null) {
  | +               continue;
  | +            }
  |              String domainName = name.getDomain();
  |              MBeanData mbeanData = new MBeanData(name, info);
  |              DomainData data = (DomainData) domainData.get(domainName);
Is it possible to apply the patch to the main branch ?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954212#3954212

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954212

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to