1 Reply Latest reply on Dec 6, 2014 5:21 AM by Tomaz Cerar

    javax.management.RuntimeMBeanException: java.lang.UnsupportedOperationException: Usage threshold is not supported

    raja reddy Newbie

      Dear All,

       

      When I am trying to display the jmx attributes using web application for java.lang:type=MemoryPool,name=PS Eden Space Mbean, I am getting the below exception.

       

       

       

      javax.management.RuntimeMBeanException: java.lang.UnsupportedOperationException: Usage threshold is not supported

              at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:839) [rt.jar:1.7.0_60-ea]

              at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:852) [rt.jar:1.7.0_60-ea]

              at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:651) [rt.jar:1.7.0_60-ea]

              at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:678) [rt.jar:1.7.0_60-ea]

              at org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.getAttribute(PluggableMBeanServerImpl.java:448)

              at org.jboss.as.jmx.PluggableMBeanServerImpl.getAttribute(PluggableMBeanServerImpl.java:171)

              at com.alu.dsa.manager.MBeansManager.getBeansInfo(MBeansManager.java:138) [classes:]

              at com.alu.dsa.entities.MBeanList.init(MBeanList.java:40) [classes:]

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_60-ea]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_60-ea]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_60-ea]

              at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_60-ea]

              at org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory$ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLife

      cycleMethodInterceptorFactory.java:130) [jboss-as-ee-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]

              at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]

              at org.jboss.as.ee.component.ManagedReferenceInterceptorFactory$ManagedReferenceInterceptor.processInvocation(ManagedReferenceInterceptorFactory.java:106) [jbos

      s-as-ee-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]

              at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]

              at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45) [jboss-as-ee-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]

              at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]

              at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:161) [jboss-as-ee-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]

              at org.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.java:95) [jboss-as-ee-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]

              at org.jboss.as.web.deployment.component.WebComponentInstantiator$2.<init>(WebComponentInstantiator.java:96) [jboss-as-web-7.2.1.Final-redhat-10.jar:7.2.1.Final

      -redhat-10]

              at org.jboss.as.web.deployment.component.WebComponentInstantiator.initializeInstance(WebComponentInstantiator.java:94) [jboss-as-web-7.2.1.Final-redhat-10.jar:7

      .2.1.Final-redhat-10]

              at org.jboss.as.web.deployment.WebInjectionContainer.newInstance(WebInjectionContainer.java:88) [jboss-as-web-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]

              at org.jboss.as.jsf.injection.JSFInjectionProvider.invokePostConstruct(JSFInjectionProvider.java:65) [jboss-as-jsf-injection-7.2.1.Final-redhat-10.jar:7.2.1.Fin

      al-redhat-10]

              at com.sun.faces.mgbean.BeanBuilder.invokePostConstruct(BeanBuilder.java:223) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]

              at com.sun.faces.mgbean.BeanBuilder.build(BeanBuilder.java:105) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]

              at com.sun.faces.mgbean.BeanManager.createAndPush(BeanManager.java:408) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]

              at com.sun.faces.mgbean.BeanManager.create(BeanManager.java:268) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]

              at com.sun.faces.el.ManagedBeanELResolver.resolveBean(ManagedBeanELResolver.java:244) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]

              at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:116) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]

              at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]

              at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]

              at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:72) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

              at org.apache.el.parser.AstValue.getValue(AstValue.java:144) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

              at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:189) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]

              at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]

              at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:194) [jboss-jsf-api_2.1_spec-2.1.19.1.Final-redhat-1.jar:2.1.19.1.Final-redhat-1]

              at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:182) [jboss-jsf-api_2.1_spec-2.1.19.1.Final-redhat-1.jar:2.1.19.1.Final-redhat-1]

              at org.richfaces.component.UISequence.getValue(UISequence.java:179) [richfaces-components-a4j-4.5.0.Final.jar:4.5.0.Final]

              at org.richfaces.component.UISequence.createExtendedDataModel(UISequence.java:113) [richfaces-components-a4j-4.5.0.Final.jar:4.5.0.Final]

              at org.richfaces.component.UIDataAdaptor.getExtendedDataModel(UIDataAdaptor.java:460) [richfaces-components-a4j-4.5.0.Final.jar:4.5.0.Final]

              at org.richfaces.component.UIDataAdaptor.walk(UIDataAdaptor.java:810) [richfaces-components-a4j-4.5.0.Final.jar:4.5.0.Final]

              at org.richfaces.renderkit.html.RepeatRenderer.encodeChildren(RepeatRenderer.java:70) [richfaces-components-a4j-4.5.0.Final.jar:4.5.0.Final]

              at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:851) [jboss-jsf-api_2.1_spec-2.1.19.1.Final-redhat-1.jar:2.1.19.1.Final-redhat-1]

              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1779) [jboss-jsf-api_2.1_spec-2.1.19.1.Final-redhat-1.jar:2.1.19.1.Final-redhat-1]

              at org.richfaces.renderkit.RendererBase.renderChildren(RendererBase.java:282) [richfaces-components-a4j-4.5.0.Final.jar:4.5.0.Final]

              at org.richfaces.renderkit.html.PanelRenderer.doEncodeEnd(PanelRenderer.java:183) [richfaces-components-rich-4.5.0.Final.jar:4.5.0.Final]

              at org.richfaces.renderkit.RendererBase.encodeEnd(RendererBase.java:180) [richfaces-components-a4j-4.5.0.Final.jar:4.5.0.Final]

              at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:881) [jboss-jsf-api_2.1_spec-2.1.19.1.Final-redhat-1.jar:2.1.19.1.Final-redhat-1]

              at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:312) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]

              at com.sun.faces.renderkit.html_basic.GridRenderer.renderRow(GridRenderer.java:185) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]

              at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:129) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]

              at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:851) [jboss-jsf-api_2.1_spec-2.1.19.1.Final-redhat-1.jar:2.1.19.1.Final-redhat-1]

              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1779) [jboss-jsf-api_2.1_spec-2.1.19.1.Final-redhat-1.jar:2.1.19.1.Final-redhat-1]

              at javax.faces.render.Renderer.encodeChildren(Renderer.java:168) [jboss-jsf-api_2.1_spec-2.1.19.1.Final-redhat-1.jar:2.1.19.1.Final-redhat-1]

              at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:851) [jboss-jsf-api_2.1_spec-2.1.19.1.Final-redhat-1.jar:2.1.19.1.Final-redhat-1]

              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1779) [jboss-jsf-api_2.1_spec-2.1.19.1.Final-redhat-1.jar:2.1.19.1.Final-redhat-1]

       

       

      Kindly help

       

      Thanks,

      Raja