0 Replies Latest reply on Oct 16, 2008 7:48 AM by U P

    jboss cache websphere 6.0 javax.management.NotCompliantMBean

    U P Newbie

      Hi,
      I get belo error when I start the JBoss Cache
      10/16/08 17:14:30:187 IST] 00000055 SystemErr R javax.management.NotCompliantMBeanException: MBean is not compliant
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at mx4j.server.MX4JMBeanServer.registerImpl(MX4JMBeanServer.java:904)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at mx4j.server.MX4JMBeanServer.registerMBeanImpl(MX4JMBeanServer.java:855)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at mx4j.server.MX4JMBeanServer.registerMBean(MX4JMBeanServer.java:839)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at org.jboss.cache.util.MBeanConfigurator.registerInterceptors(MBeanConfigurator.java:72)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at org.jboss.cache.TreeCache._createService(TreeCache.java:1339)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at org.jboss.cache.TreeCache.createService(TreeCache.java:1300)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:245)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:173)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:265)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:181)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at com.wellpoint.benefitbuilder.common.util.JBossCacheFactoryBean.createCache(JBossCacheFactoryBean.java)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at com.wellpoint.benefitbuilder.common.util.JBossCacheFactoryBean.afterPropertiesSet(JBossCacheFactoryBean.java:96)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1099)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:400)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:234)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:144)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:182)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:105)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1054)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:863)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:382)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBeanDefinition(BeanDefinitionValueResolver.java:150)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:96)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1054)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:863)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:382)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:234)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:144)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at com.wellpoint.waf.common.WAFServiceFactory.getBusinessServiceHandler(WAFServiceFactory.java:177)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at com.wellpoint.waf.bsi.POJOBusinessServiceControllerImpl.handleRequest(POJOBusinessServiceControllerImpl.java:92)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at com.wellpoint.waf.bsi.BusinessServiceManagerImpl.handleRequest(BusinessServiceManagerImpl.java:99)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at com.wellpoint.benefitbuilder.common.util.InitializationServlet.init(InitializationServlet.java)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:262)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1319)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:84)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:745)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:493)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:379)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at com.ibm.ws.webcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:114)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at com.ibm.ws.webcontainer.VirtualHost.addWebApplication(VirtualHost.java:127)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at com.ibm.ws.webcontainer.WebContainer.addWebApp(WebContainer.java:776)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:729)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:140)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:360)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1019)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1028)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:538)
      [10/16/08 17:14:30:187 IST] 00000055 SystemErr R at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:724)
      [10/16/08 17:14:30:203 IST] 00000055 SystemErr R at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:683)
      [10/16/08 17:14:30:203 IST] 00000055 SystemErr R at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1161)
      [10/16/08 17:14:30:203 IST] 00000055 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [10/16/08 17:14:30:203 IST] 00000055 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
      [10/16/08 17:14:30:203 IST] 00000055 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
      [10/16/08 17:14:30:203 IST] 00000055 SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
      [10/16/08 17:14:30:203 IST] 00000055 SystemErr R at java.lang.reflect.Method.invoke(Method.java:391)
      [10/16/08 17:14:30:203 IST] 00000055 SystemErr R at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1366)
      [10/16/08 17:14:30:203 IST] 00000055 SystemErr R at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:1012)
      [10/16/08 17:14:30:203 IST] 00000055 SystemErr R at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java:233)
      [10/16/08 17:14:30:203 IST] 00000055 SystemErr R at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:128)
      [10/16/08 17:14:30:203 IST] 00000055 SystemErr R at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java:86)
      [10/16/08 17:14:30:203 IST] 00000055 SystemErr R at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:128)
      [10/16/08 17:14:30:203 IST] 00000055 SystemErr R at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:128)
      [10/16/08 17:14:30:203 IST] 00000055 SystemErr R at mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java:167)
      [10/16/08 17:14:30:203 IST] 00000055 SystemErr R at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1249)
      [10/16/08 17:14:30:203 IST] 00000055 SystemErr R at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:901)
      [10/16/08 17:14:30:203 IST] 00000055 SystemErr R at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
      [10/16/08 17:14:30:203 IST] 00000055 SystemErr R at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:817)
      [10/16/08 17:14:30:203 IST] 00000055 SystemErr R at com.ibm.ws.management.connector.AdminServiceDelegator.invoke(AdminServiceDelegator.java:139)
      [10/16/08 17:14:30:203 IST] 00000055 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [10/16/08 17:14:30:203 IST] 00000055 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
      [10/16/08 17:14:30:203 IST] 00000055 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
      [10/16/08 17:14:30:203 IST] 00000055 SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
      [10/16/08 17:14:30:203 IST] 00000055 SystemErr R at java.lang.reflect.Method.invoke(Method.java:391)
      [10/16/08 17:14:30:203 IST] 00000055 SystemErr R at com.ibm.ws.management.connector.soap.SOAPConnector.invoke(SOAPConnector.java:325)
      [10/16/08 17:14:30:203 IST] 00000055 SystemErr R at com.ibm.ws.management.connector.soap.SOAPConnector.service(SOAPConnector.java:193)
      [10/16/08 17:14:30:203 IST] 00000055 SystemErr R at com.ibm.ws.management.connector.soap.SOAPConnection.handleRequest(SOAPConnection.java:55)
      [10/16/08 17:14:30:203 IST] 00000055 SystemErr R at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:641)
      [10/16/08 17:14:30:203 IST] 00000055 SystemErr R at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:469)
      [10/16/08 17:14:30:203 IST] 00000055 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)



      I am using Spring 1.2.9
      public class JBossCacheFactoryBean implements FactoryBean, DisposableBean,
      InitializingBean
      private PojoCache cache;
      void createCache()
      {

      this.cache = new PojoCache( );
      PropertyConfigurator configurator = new PropertyConfigurator( );
      configurator.configure( this.cache, this.configFile );
      if ( null != this.clusterName )
      {
      this.cache.setClusterName( this.clusterName );
      }
      this.cache.start( );
      }

      Please let me know the solution