JBoss Developer : All Content - All CommunitiesAll Content in JBoss Developerhttps://developer.jboss.org/Jive Engage2013-12-23T02:02:42Z2013-12-23T02:02:42ZenCPU Utility Percentage of RHQ Agent is about 8%Changchun Hu/people/huchangchundo-not-reply@jboss.com2014-01-26T03:06:56Z2013-12-23T02:02:42Z<!-- [DocumentBodyStart:d1d5a265-4687-47b9-88f0-9f8032734e9e] --><div class="jive-rendered-content"><p>Dear RHQ team,</p><p>&#160;&#160;&#160;&#160; We are using RHQ4.7.0 to monitor JBossAS5 and JBossAS7. Our UPJAS Agent runs on a Linux server which has 2 Core CPU and 4G memory, and monitors 2 JBossAS5 and 1 JBossAS7. As a result, the average CPU unitlity percentage is above 8%. The reason may be that we changed some metric collection interval to 1 minute.</p><p>&#160;&#160;&#160;&#160; We are not sure it is a performance problem or not, could you give some advise? If you did some test of the agent performance, could you share the report, it will be great to analyze our problem.</p><p>&#160;&#160;&#160;&#160; Many thanks.</p></div><!-- [DocumentBodyEnd:d1d5a265-4687-47b9-88f0-9f8032734e9e] --><img src='/beacon?t=1553191800225' />2013-12-23T02:02:42Z5 years 2 months ago20Is it possible to support MySQL database in RHQChangchun Hu/people/huchangchundo-not-reply@jboss.com2013-12-03T07:47:35Z2013-02-19T02:33:44Z<!-- [DocumentBodyStart:03bd1f2b-2b43-4ac0-980a-dfb48d1dc059] --><div class="jive-rendered-content"><p>Dear RHQ Team,</p><p>Could you please tell us whether it is possible to support MySQL database in RHQ? If we enhanced RHQ to support MySQL, will you adopt it?</p><p>As our company's need, we have to run RHQ on MySQL database. During months development, we can run RHQ on MySQL database now. </p><p>We really would like to contrubute our effort to community. However, we also know it will bring you much effort to adopt our code. </p><p>Thank you very much for your answers in advance.</p><p>Changchun.</p></div><!-- [DocumentBodyEnd:03bd1f2b-2b43-4ac0-980a-dfb48d1dc059] -->2013-02-19T02:33:44Z5 years 4 months ago240How can I monitor REST service with RHQChangchun Hu/people/huchangchundo-not-reply@jboss.com2013-10-14T17:28:39Z2013-10-11T07:00:28Z<!-- [DocumentBodyStart:b8fd2f34-95f0-4e9f-b5d3-f476359a2718] --><div class="jive-rendered-content"><p>Dear RHQ team,</p><p>Can we monitor REST service with RHQ?</p><p>We develop some REST service in a web application which will be deployed on JBoss AS Server. We would like to monitor the REST service with RHQ. Is it possible? I don't find related code from RHQ agent description file, rhq-plugin.xml, of JBoss AS 5 and JBoss AS 7.</p><p>Thank you very much for your help.</p></div><!-- [DocumentBodyEnd:b8fd2f34-95f0-4e9f-b5d3-f476359a2718] -->2013-10-11T07:00:28Z5 years 5 months ago50Where can I find latest document of REST APIChangchun Hu/people/huchangchundo-not-reply@jboss.com2013-08-21T08:06:04Z2013-06-17T02:45:05Z<!-- [DocumentBodyStart:74f6d678-4e8c-4835-a1b1-91174e0d7b3a] --><div class="jive-rendered-content"><p>Dear RHQ Team,</p><p>We plan to develop a web application to monitor and manage JBoss AS Server based on RHQ 4.7.0.</p><p>We need your help to introduce where we can get the latest REST API document of RHQ 4.7.0. </p><p><span style="font-size: 10pt;">Besides, it is said the whole REST API will be finished in RHQ 4.8.0. Could you tell when the RHQ 4.8.0 will be ready?</span></p><p><span style="font-size: 10pt;">Many Thanks.<br/></span></p><p><span style="font-size: 10pt;"><br/></span></p></div><!-- [DocumentBodyEnd:74f6d678-4e8c-4835-a1b1-91174e0d7b3a] -->2013-06-17T02:45:05Z5 years 7 months ago110Manage properties file with RHQ4.7.0Changchun Hu/people/huchangchundo-not-reply@jboss.com2013-08-02T00:58:24Z2013-08-01T09:38:36Z<!-- [DocumentBodyStart:8a79d143-04bc-48cc-b8c6-5b72a94ae2c7] --><div class="jive-rendered-content"><p>Dear RHQ Team,</p><p>We deploy our applications on JBossAS5 server and use RHQ4.7.0 to monitor and manage JBossAS5 servers.</p><p style="min-height: 8pt; padding: 0px;">&#160;</p><p>We would like to manage application configuration file (*.properties) with RHQ4.7.0. We planned to customize JBossAS5 plugin by implementing the <em>ConfigurationFacet </em>in <em>ApplicationServerComponent and add resource-configuration </em>in rhq-plugin.xml. However, this way doesn't wok. Because content of application configuration file is different, we cannot pre-define the properties in resource-configuration in rhq-plugin.xml. </p><p style="min-height: 8pt; padding: 0px;">&#160;</p><p>We don't know how to implement the function now. Could you give any suggestion? Many thanks.</p></div><!-- [DocumentBodyEnd:8a79d143-04bc-48cc-b8c6-5b72a94ae2c7] -->2013-08-01T09:38:36Z5 years 8 months ago20RHQ 4.7.0 Error on Compatible Group Page with chromeChangchun Hu/people/huchangchundo-not-reply@jboss.com2013-06-07T01:11:16Z2013-06-07T01:11:16Z<!-- [DocumentBodyStart:4d5da176-c36c-494d-8edc-4830d8bdd685] --><div class="jive-rendered-content"><p>Dear RHQ Team,</p><p style="min-height: 8pt; padding: 0px;">&#160;</p><p>The compatible group page always throw exception when I open the page with Chrome. Then I get a warning "Server returned FAILURE with no error message" and compatible group items disappear.</p><p>My Chrome version is 27.0.1453.94 m. And the problem disappear after I open "Debug Console" with pressing F12. And this problem doesn't happen on Firefox browser.</p><p style="min-height: 8pt; padding: 0px;">&#160;</p><p>You can reproduce the problem by create a compatible group first and then view the compatible gourp page with Chrome. Please let me know if you need details about the steps.</p><p style="min-height: 8pt; padding: 0px;">&#160;</p><p>When I get this problem, I check the server side log and doubt the front web side sends the same request twice. To convice my thought, I open the "Debug Console" of Chrome, then the problem disappers.</p><p>As RHQ doesn't support Chrome offically, I try Firefox instead, the problem doesn't happen. So may be it is a problem on front side. I hope you can solve it soon. Many thanks.</p><p style="min-height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; padding: 0px;">&#160;</p><p><span>Compatible group page URL: </span><a class="jive-link-external-small" href="http://XXX.XXX.XXX.XXX:7080/coregui/#Inventory/Groups/CompatibleGroups" rel="nofollow" target="_blank">http://XXX.XXX.XXX.XXX:7080/coregui/#Inventory/Groups/CompatibleGroups</a></p><p>Server Side log:</p><p>"</p><p>13:05:55,971 ERROR [org.jboss.as.ejb3.invocation] (web-container-thread-1) JBAS014134: EJB Invocation failed on component ResourceGroupManagerBean for method public abstract org.rhq.core.domain.util.PageList org.rhq.enterprise.server.resource.group.ResourceGroupManagerLocal.findResourceGroupCompositesByCriteria(org.rhq.core.domain.auth.Subject,org.rhq.core.domain.criteria.ResourceGroupCriteria): javax.ejb.EJBException: java.lang.IllegalArgumentException: PageList was passed an empty collection but 'totalSize' was 1, PageControl[firstRow=25, size=50]</p><p>&#160;&#160;&#160; at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:165) [jboss-as-ejb3-7.2.0.Final.jar:7.2.0.Final]</p><p>&#160;&#160;&#160; at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:250) [jboss-as-ejb3-7.2.0.Final.jar:7.2.0.Final]</p><p>&#160;&#160;&#160; at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:315) [jboss-as-ejb3-7.2.0.Final.jar:7.2.0.Final]</p><p>&#160;&#160;&#160; at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:214) [jboss-as-ejb3-7.2.0.Final.jar:7.2.0.Final]</p><p>&#160;&#160;&#160; at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</p><p>&#160;&#160;&#160; at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [jboss-as-ejb3-7.2.0.Final.jar:7.2.0.Final]</p><p>&#160;&#160;&#160; at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</p><p>&#160;&#160;&#160; at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [jboss-as-ejb3-7.2.0.Final.jar:7.2.0.Final]</p><p>&#160;&#160;&#160; at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</p><p>&#160;&#160;&#160; at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59) [jboss-as-ejb3-7.2.0.Final.jar:7.2.0.Final]</p><p>&#160;&#160;&#160; at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</p><p>&#160;&#160;&#160; at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) [jboss-as-ee-7.2.0.Final.jar:7.2.0.Final]</p><p>&#160;&#160;&#160; at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</p><p>&#160;&#160;&#160; at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54) [jboss-as-ejb3-7.2.0.Final.jar:7.2.0.Final]</p><p>&#160;&#160;&#160; at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</p><p>&#160;&#160;&#160; at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45) [jboss-as-ee-7.2.0.Final.jar:7.2.0.Final]</p><p>&#160;&#160;&#160; at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</p><p>&#160;&#160;&#160; at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</p><p>&#160;&#160;&#160; at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165) [jboss-as-ee-7.2.0.Final.jar:7.2.0.Final]</p><p>&#160;&#160;&#160; at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:182) [jboss-as-ee-7.2.0.Final.jar:7.2.0.Final]</p><p>&#160;&#160;&#160; at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</p><p>&#160;&#160;&#160; at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</p><p>&#160;&#160;&#160; at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72) [jboss-as-ee-7.2.0.Final.jar:7.2.0.Final]</p><p>&#160;&#160;&#160; at org.rhq.enterprise.server.resource.group.ResourceGroupManagerLocal$$$view75.findResourceGroupCompositesByCriteria(Unknown Source) [rhq-enterprise-server-ejb3.jar:4.7.0]</p><p>&#160;&#160;&#160; at org.rhq.enterprise.gui.coregui.server.gwt.ResourceGroupGWTServiceImpl.findResourceGroupCompositesByCriteria(ResourceGroupGWTServiceImpl.java:57)</p><p>&#160;&#160;&#160; at sun.reflect.GeneratedMethodAccessor167.invoke(Unknown Source) [:1.7.0_15]</p><p>&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_15]</p><p>&#160;&#160;&#160; at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_15]</p><p>&#160;&#160;&#160; at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561)</p><p>&#160;&#160;&#160; at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)</p><p>&#160;&#160;&#160; at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)</p><p>&#160;&#160;&#160; at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)</p><p>&#160;&#160;&#160; at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-servlet-api_3.0_spec-1.0.2.Final.jar:1.0.2.Final]</p><p>&#160;&#160;&#160; at org.rhq.enterprise.gui.coregui.server.gwt.AbstractGWTServiceImpl.service(AbstractGWTServiceImpl.java:89)</p><p>&#160;&#160;&#160; at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final.jar:1.0.2.Final]</p><p>&#160;&#160;&#160; at sun.reflect.GeneratedMethodAccessor111.invoke(Unknown Source) [:1.7.0_15]</p><p>&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_15]</p><p>&#160;&#160;&#160; at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_15]</p><p>&#160;&#160;&#160; at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:263)</p><p>&#160;&#160;&#160; at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:261)</p><p>&#160;&#160;&#160; at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_15]</p><p>&#160;&#160;&#160; at javax.security.auth.Subject.doAsPrivileged(Subject.java:536) [rt.jar:1.7.0_15]</p><p>&#160;&#160;&#160; at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:295)</p><p>&#160;&#160;&#160; at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:155)</p><p>&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:288)</p><p>&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:59)</p><p>&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:197)</p><p>&#160;&#160;&#160; at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_15]</p><p>&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)</p><p>&#160;&#160;&#160; at org.rhq.helpers.rtfilter.filter.RtFilter.doFilter(RtFilter.java:125) [rhq-rtfilter-4.7.0.jar:4.7.0]</p><p>&#160;&#160;&#160; at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source) [:1.7.0_15]</p><p>&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_15]</p><p>&#160;&#160;&#160; at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_15]</p><p>&#160;&#160;&#160; at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:263)</p><p>&#160;&#160;&#160; at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:261)</p><p>&#160;&#160;&#160; at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_15]</p><p>&#160;&#160;&#160; at javax.security.auth.Subject.doAsPrivileged(Subject.java:536) [rt.jar:1.7.0_15]</p><p>&#160;&#160;&#160; at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:295)</p><p>&#160;&#160;&#160; at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:236)</p><p>&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)</p><p>&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:59)</p><p>&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:197)</p><p>&#160;&#160;&#160; at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_15]</p><p>&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)</p><p>&#160;&#160;&#160; at org.rhq.enterprise.gui.coregui.server.filter.CacheControlFilter.doFilter(CacheControlFilter.java:70)</p><p>&#160;&#160;&#160; at sun.reflect.GeneratedMethodAccessor122.invoke(Unknown Source) [:1.7.0_15]</p><p>&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_15]</p><p>&#160;&#160;&#160; at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_15]</p><p>&#160;&#160;&#160; at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:263)</p><p>&#160;&#160;&#160; at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:261)</p><p>&#160;&#160;&#160; at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_15]</p><p>&#160;&#160;&#160; at javax.security.auth.Subject.doAsPrivileged(Subject.java:536) [rt.jar:1.7.0_15]</p><p>&#160;&#160;&#160; at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:295)</p><p>&#160;&#160;&#160; at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:236)</p><p>&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)</p><p>&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:59)</p><p>&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:197)</p><p>&#160;&#160;&#160; at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_15]</p><p>&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)</p><p>&#160;&#160;&#160; at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)</p><p>&#160;&#160;&#160; at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)</p><p>&#160;&#160;&#160; at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.2.0.Final.jar:7.2.0.Final]</p><p>&#160;&#160;&#160; at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.2.0.Final.jar:7.2.0.Final]</p><p>&#160;&#160;&#160; at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)</p><p>&#160;&#160;&#160; at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)</p><p>&#160;&#160;&#160; at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)</p><p>&#160;&#160;&#160; at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)</p><p>&#160;&#160;&#160; at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)</p><p>&#160;&#160;&#160; at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)</p><p>&#160;&#160;&#160; at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)</p><p>&#160;&#160;&#160; at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:508)</p><p>&#160;&#160;&#160; at org.jboss.threads.SimpleDirectExecutor.execute(SimpleDirectExecutor.java:33)</p><p>&#160;&#160;&#160; at org.jboss.threads.QueueExecutor.runTask(QueueExecutor.java:806)</p><p>&#160;&#160;&#160; at org.jboss.threads.QueueExecutor.access$100(QueueExecutor.java:45)</p><p>&#160;&#160;&#160; at org.jboss.threads.QueueExecutor$Worker.run(QueueExecutor.java:847)</p><p>&#160;&#160;&#160; at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_15]</p><p>&#160;&#160;&#160; at org.jboss.threads.JBossThread.run(JBossThread.java:122)</p><p>Caused by: java.lang.IllegalArgumentException: PageList was passed an empty collection but 'totalSize' was 1, PageControl[firstRow=25, size=50]</p><p>&#160;&#160;&#160; at org.rhq.core.domain.util.PageList.&lt;init&gt;(PageList.java:87) [rhq-core-domain-ejb3.jar:4.7.0]</p><p>&#160;&#160;&#160; at org.rhq.enterprise.server.util.CriteriaQueryRunner.execute(CriteriaQueryRunner.java:69) [rhq-enterprise-server-ejb3.jar:4.7.0]</p><p>&#160;&#160;&#160; at org.rhq.enterprise.server.resource.group.ResourceGroupManagerBean.findResourceGroupCompositesByCriteria(ResourceGroupManagerBean.java:1604) [rhq-enterprise-server-ejb3.jar:4.7.0]</p><p>&#160;&#160;&#160; at sun.reflect.GeneratedMethodAccessor168.invoke(Unknown Source) [:1.7.0_15]</p><p>&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_15]</p><p>&#160;&#160;&#160; at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_15]</p><p>&#160;&#160;&#160; at org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72) [jboss-as-ee-7.2.0.Final.jar:7.2.0.Final]</p><p>&#160;&#160;&#160; at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</p><p>&#160;&#160;&#160; at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</p><p>&#160;&#160;&#160; at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:58) [jboss-as-ee-7.2.0.Final.jar:7.2.0.Final]</p><p>&#160;&#160;&#160; at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</p><p>&#160;&#160;&#160; at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</p><p>&#160;&#160;&#160; at org.rhq.enterprise.server.common.PerformanceMonitorInterceptor.monitorHibernatePerformance(PerformanceMonitorInterceptor.java:26) [rhq-enterprise-server-ejb3.jar:4.7.0]</p><p>&#160;&#160;&#160; at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source) [:1.7.0_15]</p><p>&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_15]</p><p>&#160;&#160;&#160; at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_15]</p><p>&#160;&#160;&#160; at org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory$ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:123) [jboss-as-ee-7.2.0.Final.jar:7.2.0.Final]</p><p>&#160;&#160;&#160; at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</p><p>&#160;&#160;&#160; at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</p><p>&#160;&#160;&#160; at org.rhq.enterprise.server.common.TransactionInterruptInterceptor.addCheckedActionToTransactionManager(TransactionInterruptInterceptor.java:78) [rhq-enterprise-server-ejb3.jar:4.7.0]</p><p>&#160;&#160;&#160; at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source) [:1.7.0_15]</p><p>&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_15]</p><p>&#160;&#160;&#160; at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_15]</p><p>&#160;&#160;&#160; at org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory$ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:123) [jboss-as-ee-7.2.0.Final.jar:7.2.0.Final]</p><p>&#160;&#160;&#160; at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</p><p>&#160;&#160;&#160; at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</p><p>&#160;&#160;&#160; at org.rhq.enterprise.server.authz.RequiredPermissionsInterceptor.checkRequiredPermissions(RequiredPermissionsInterceptor.java:156) [rhq-enterprise-server-ejb3.jar:4.7.0]</p><p>&#160;&#160;&#160; at sun.reflect.GeneratedMethodAccessor89.invoke(Unknown Source) [:1.7.0_15]</p><p>&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_15]</p><p>&#160;&#160;&#160; at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_15]</p><p>&#160;&#160;&#160; at org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory$ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:123) [jboss-as-ee-7.2.0.Final.jar:7.2.0.Final]</p><p>&#160;&#160;&#160; at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</p><p>&#160;&#160;&#160; at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</p><p>&#160;&#160;&#160; at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:58) [jboss-as-ee-7.2.0.Final.jar:7.2.0.Final]</p><p>&#160;&#160;&#160; at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</p><p>&#160;&#160;&#160; at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) [jboss-as-ejb3-7.2.0.Final.jar:7.2.0.Final]</p><p>&#160;&#160;&#160; at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</p><p>&#160;&#160;&#160; at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47) [jboss-as-jpa-7.2.0.Final.jar:7.2.0.Final]</p><p>&#160;&#160;&#160; at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</p><p>&#160;&#160;&#160; at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</p><p>&#160;&#160;&#160; at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</p><p>&#160;&#160;&#160; at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</p><p>&#160;&#160;&#160; at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53) [jboss-as-ee-7.2.0.Final.jar:7.2.0.Final]</p><p>&#160;&#160;&#160; at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</p><p>&#160;&#160;&#160; at org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51) [jboss-as-ejb3-7.2.0.Final.jar:7.2.0.Final]</p><p>&#160;&#160;&#160; at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</p><p>&#160;&#160;&#160; at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:248) [jboss-as-ejb3-7.2.0.Final.jar:7.2.0.Final]</p><p>&#160;&#160;&#160; ... 95 more</p><p>"</p></div><!-- [DocumentBodyEnd:4d5da176-c36c-494d-8edc-4830d8bdd685] -->2013-06-07T01:11:16Z5 years 9 months ago0RHQ 4.6.0 cannot run on JBoss AS 7.2.0Changchun Hu/people/huchangchundo-not-reply@jboss.com2013-06-03T12:46:31Z2013-05-31T07:40:15Z<!-- [DocumentBodyStart:97521529-9e3e-491c-82b4-3925b4b3ded8] --><div class="jive-rendered-content"><p>Dear RHQ Team,</p><p>I am failed to install RHQ 4<span style="font-size: 10pt;">.6.0 on external JBoss AS 7.2.0 by following the "Installing on top of an external application server" section of document </span><a class="jive-link-external-small" href="https://docs.jboss.org/author/display/RHQ/Running+The+Installer" rel="nofollow">https://docs.jboss.org/author/display/RHQ/Running+The+Installer.</a></p><p>The error message is </p><p>"</p><p>15:15:40,236 ERROR [org.rhq.enterprise.server.installer.Installer] An error occurred: org.rhq.common.jbossas.client.controller.FailureException: Failed request: JBAS014807: Management resource '[</p><p>&#160;&#160;&#160; ("socket-binding-group" =&gt; "standard-sockets"),</p><p>&#160;&#160;&#160; ("socket-binding" =&gt; "osgi-http")</p><p>]' not found</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.rhq.common.jbossas.client.controller.SocketBindingJBossASClient.setSocketBindingPortExpression(SocketBindingJBossASClient.java:162) [rhq-jboss-as-dmr-client-4.6.0.jar:4.6.0]</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.rhq.common.jbossas.client.controller.SocketBindingJBossASClient.setStandardSocketBindingPortExpression(SocketBindingJBossASClient.java:120) [rhq-jboss-as-dmr-client-4.6.0.jar:4.6.0]</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.rhq.enterprise.server.installer.ServerInstallUtil.setSocketBindings(ServerInstallUtil.java:1517) [rhq-installer-util-4.6.0.jar:4.6.0]</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.rhq.enterprise.server.installer.InstallerServiceImpl.install(InstallerServiceImpl.java:270) [rhq-installer-util-4.6.0.jar:4.6.0]</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.rhq.enterprise.server.installer.Installer.doInstall(Installer.java:130) [rhq-installer-util-4.6.0.jar:4.6.0]</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.rhq.enterprise.server.installer.Installer.main(Installer.java:57) [rhq-installer-util-4.6.0.jar:4.6.0]</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_15]</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_15]</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_15]</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_15]</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.modules.Module.run(Module.java:262) [jboss-modules.jar:1.2.0.CR1]</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.modules.Main.main(Main.java:329) [jboss-modules.jar:1.2.0.CR1]</p><p style="min-height: 8pt; padding: 0px;">&#160;</p><p>"</p><p>I check the management resouce, but cannot find "osgi-http" in JBoss AS 7.2.0.</p><p>Thanks.</p></div><!-- [DocumentBodyEnd:97521529-9e3e-491c-82b4-3925b4b3ded8] -->2013-05-31T07:40:15Z5 years 10 months ago30RHQ Plugin Validator, document out of dateChangchun Hu/people/huchangchundo-not-reply@jboss.com2013-05-07T02:44:16Z2013-05-02T02:09:18Z<!-- [DocumentBodyStart:3327c53a-2fd7-4d58-8567-d74c972c2ec2] --><div class="jive-rendered-content"><p>Dear RHQ Team,</p><p>We customized RHQ Agent Plugin, JBossAS5, and tried to validate it following the guide on <a class="jive-link-external-small" href="https://docs.jboss.org/author/display/RHQ/Plugins+-+Plugin+Validator" rel="nofollow">https://docs.jboss.org/author/display/RHQ/Plugins+-+Plugin+Validator</a>. We found the guide was totally out of date and could not work. </p><p style="min-height: 8pt; padding: 0px;">&#160;</p><p>Even though, we are able to validate our plugin by running the class org.rhq.core.pc.plugin.PluginValidator now. We think there is some better way to validate plugin. <span style="font-size: 10pt;">Could you update the document and introduce some way? </span></p><p style="min-height: 8pt; padding: 0px;">&#160;</p><p><span style="font-size: 10pt;">Many thanks.</span></p></div><!-- [DocumentBodyEnd:3327c53a-2fd7-4d58-8567-d74c972c2ec2] -->2013-05-02T02:09:18Z5 years 10 months ago80Could you improve performance of RHQ GUIChangchun Hu/people/huchangchundo-not-reply@jboss.com2013-04-18T05:37:07Z2013-04-13T02:31:37Z<!-- [DocumentBodyStart:fe433387-e2ea-46bb-8e5d-32ed155ef7e0] --><div class="jive-rendered-content"><p>Dear RHQ Team,</p><p>We are using RHQ 4.6.0 and find the performance of GUI is not good. Sometimes, load one web page need several seconds.</p><p>We guess one possible reason may be that RHQ GUI is based on GWT.</p><p>We really appreciate if you can improve the performance of GUI.</p><p>Many thanks.</p></div><!-- [DocumentBodyEnd:fe433387-e2ea-46bb-8e5d-32ed155ef7e0] -->2013-04-13T02:31:37Z5 years 11 months ago90Test fails on Windows PlatformChangchun Hu/people/huchangchundo-not-reply@jboss.com2013-03-27T03:14:29Z2013-03-27T03:14:29Z<!-- [DocumentBodyStart:47467c09-2bbb-4a02-8996-1c69a782d103] --><div class="jive-rendered-content"><p>Dear RHQ team,</p><p>when I run "mvn test" under "rhq\modules\core\util" on windows platform. I find one test fails. I checked the code and find the code is not suitable for windoes platform. Could you fix it? Many thanks.</p><p>Tests run: 189, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 17.597 sec &lt;&lt;&lt;</p><p> FAILURE!</p><p>testGetPattern(org.rhq.core.util.file.FileUtilTest)&#160; Time elapsed: 0.003 sec&#160; &lt;&lt;</p><p>&lt; FAILURE!</p><p>java.lang.AssertionError: The expected pattern [(/basedir/(test1\.txt))] did not</p><p> match the actual pattern [(d:\\basedir\\(test1\.txt))]</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.rhq.core.util.file.FileUtilTest.assertPatternsRegex(FileUtilTest.</p><p>java:385)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.rhq.core.util.file.FileUtilTest.testGetPattern(FileUtilTest.java:</p><p>329)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.</p><p>java:57)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces</p><p>sorImpl.java:43)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at java.lang.reflect.Method.invoke(Method.java:601)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocat</p><p>ionHelper.java:80)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.testng.internal.Invoker.invokeMethod(Invoker.java:702)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:894)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1219)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWork</p><p>er.java:127)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.testng.TestRunner.privateRun(TestRunner.java:768)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.testng.TestRunner.run(TestRunner.java:617)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.testng.SuiteRunner.run(SuiteRunner.java:240)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:87)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.testng.TestNG.runSuitesSequentially(TestNG.java:1188)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.testng.TestNG.runSuitesLocally(TestNG.java:1113)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.testng.TestNG.run(TestNG.java:1025)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.ja</p><p>va:77)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMult</p><p>i(TestNGDirectoryTestSuite.java:159)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(Tes</p><p>tNGDirectoryTestSuite.java:99)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider</p><p>.java:106)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.</p><p>java:57)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces</p><p>sorImpl.java:43)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at java.lang.reflect.Method.invoke(Method.java:601)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(</p><p>ReflectionUtils.java:189)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke</p><p>(ProviderFactory.java:165)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(Provi</p><p>derFactory.java:85)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(Fork</p><p>edBooter.java:115)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:</p><p>75)</p><p style="min-height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; padding: 0px;">&#160;</p><p>Results :</p><p style="min-height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; padding: 0px;">&#160;</p><p>Failed tests:&#160;&#160; testGetPattern(org.rhq.core.util.file.FileUtilTest): The expecte</p><p>d pattern [(/basedir/(test1\.txt))] did not match the actual pattern [(d:\\based</p><p>ir\\(test1\.txt))]</p><p style="min-height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; padding: 0px;">&#160;</p><p>Tests run: 189, Failures: 1, Errors: 0, Skipped: 0</p></div><!-- [DocumentBodyEnd:47467c09-2bbb-4a02-8996-1c69a782d103] -->2013-03-27T03:14:29Z5 years 12 months ago0