Uploaded image for project: 'JBoss Cache'
  1. JBoss Cache
  2. JBCACHE-1025

JBossCache mbean registration fails on WebSphere 6.1

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.4.1.SP1, 1.4.1.SP2, 1.4.1.SP3
    • Fix Version/s: 1.4.1.SP4
    • Component/s: None
    • Labels:
      None
    • Environment:

      WebSphere 6.1

    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Disable registration of interceptor mbeans, either programatically or through configuration.

      Show
      Disable registration of interceptor mbeans, either programatically or through configuration.

      Description

      At least two customers have encountered the following problem when starting JBossCache on WebSphere 6.1.

      When the cache is started and the cache's interceptor mbeans are registered, the registration fails with an InstanceAlreadyExistsException. This occurs even on initial startup and despite the fact that JBossCache only registers a name if it's not already registered.

      A post to the ActiveMQ Forum at http://issues.apache.org/activemq/browse/SM-883 suggest that this problem occurs because WebSphere modifies the mbean's registration name during the registration process. Subsequent tests to determine if the mbean has been registered apparently fail unless the client uses the name generated by WebSphere. (This is unverified but seems plausible.)

      Caused by: javax.management.InstanceAlreadyExistsException:jboss.cache:service=TreeCache-Group,cell=citgoNode01Cell,nod
      e=citgoNode01,process=server1

      at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
      at com.ibm.ws.management.PlatformMBeanServer.registerMBean(PlatformMBeanServer.java:469)
      at org.jboss.cache.util.MBeanConfigurator.registerInterceptors(MBeanConfigurator.java:72)
      at org.jboss.cache.TreeCache._createService(TreeCache.java:1428)
      at org.jboss.cache.TreeCache.createService(TreeCache.java:1378)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
      at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:188)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jerrygauth Jerry Gauthier (Inactive)
                Reporter:
                jerrygauth Jerry Gauthier (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: