L1Management cannot find the platform default MBeanServer if the 
'javax.management.builder.initial' system property is set.
---------------------------------------------------------------------------------------------------------------------------

                 Key: CDV-296
                 URL: https://jira.terracotta.org/jira//browse/CDV-296
             Project: Community Development
          Issue Type: Bug
          Components: Management (JMX)
    Affects Versions: 2.4-stable0
            Reporter: Nathaniel Harward
         Assigned To: Nathaniel Harward


The thread that tries to register MBeans in 1.5+ and register the Terracotta L1 
MBeans fails with a ClassNotFoundException when the 
'javax.management.builder.initial' system property is set, since it has the 
Terracotta classloader and not the application/container classloader.  If the 
application does not create the platform default MBeanServer during 
initialization time, it may require us to push a little bit, and include in the 
instrumentation a call from the container/app to 
ManagementFactory.getPlatformMBeanServer().

This is the case (at a minimum) for WebSphere 6.1.0.7 and JBoss 4.0.5 and 
should at least be fixed in these two containers.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.terracotta.org/jira//secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
tc-dev mailing list
[email protected]
http://lists.terracotta.org/mailman/listinfo/tc-dev
  • [tc-dev] [JIRA] Created: ... Terracotta JIRA (on behalf of Nathaniel Harward)

Reply via email to