Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 4.0_dev
    • Component/s: web_container
    • Labels:
      None

      Description

      Current implementation of GlassFish 3.1 has few mbeans being created by web container.

      For example,
      glassfish:j2eeType=WebModule,name=//server/,J2EEApplication=null,J2EEServer=server

      These Tomcat mbeans are loaded at startup and not lazily loaded.

      All other GlassFish mbeans are loaded only on the bootAMX() call, which happens after the startup upon first access at the JMX port.

      Desired:
      1) All mbeans should be loaded lazily (on first access)
      2) We should have one set of JSR 77 mbeans

      Decision:
      After a conversation between Dhiru, Amy, Prasad and Nazrul, we decided the following...

      1) Since this is late in 3.1, we will leave the tomcat created mbeans under "glassfish-web:". We will try to comment out (not create) mbeans that are not needed by web container initialization.

      2) During 3.2, we will try to not rely on mbeans for web container configuration update notification. Instead, we will rely on HK2/config layer from GlassFish and not create these mbeans any more.

        Activity

        Hide
        Amy Roh added a comment -

        Web Container needs Tomcat MBeans for Web Container functionality. The mapper listener uses JMX to add Web Container components (Host, Context, Wrapper, etc.) based on these MBeans. These MBeans cannot be loaded lazily without major change in Web Container (if possible at all).

        Show
        Amy Roh added a comment - Web Container needs Tomcat MBeans for Web Container functionality. The mapper listener uses JMX to add Web Container components (Host, Context, Wrapper, etc.) based on these MBeans. These MBeans cannot be loaded lazily without major change in Web Container (if possible at all).
        Hide
        Nazrul added a comment -

        Targeting this issue for 3.2.

        Show
        Nazrul added a comment - Targeting this issue for 3.2.
        Hide
        Amy Roh added a comment -

        Fixed in svn 54442

        Tomcat mbeans are no longer created and registered by web container. JSR77 mbeans will be deferred to AMX to be lazily loaded at first access with other GF mbeans. MapperListener is moved to web-glue for dynamic reconfig using hk2. Commons modeler code is removed since it is no longer needed.

        Show
        Amy Roh added a comment - Fixed in svn 54442 Tomcat mbeans are no longer created and registered by web container. JSR77 mbeans will be deferred to AMX to be lazily loaded at first access with other GF mbeans. MapperListener is moved to web-glue for dynamic reconfig using hk2. Commons modeler code is removed since it is no longer needed.

          People

          • Assignee:
            Amy Roh
            Reporter:
            Nazrul
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: