I just saw you answered your own question on the forum[1]:
"To activate ejb3 metrics just execute this command into jboss-cli.sh:
/subsystem=ejb3:write-attribute(name=enable-statistics, value=true)"
[1]
https://community.jboss.org/message/872967#872967
Le 08/05/2014 19:53, Filippe Costa Spolti a écrit :
Hello guys.
I'm having trouble to collect ejb3 (Stateless) metrics from JBoss
Standalone Server.
When i navigate through ejb3 ( Stateless Session Bean Runtime ) i get
this error:
14:13:01,004 WARN
[org.rhq.coregui.server.gwt.MeasurementDataGWTServiceImpl]
(http-/0.0.0.0:9090-32) Sending exception to client: [1399569181004] :
javax.ejb.EJBException: java.lang.IllegalArgumentException:
org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected end of
subtree [SELECT ms FROM
org.rhq.core.domain.measurement.MeasurementSchedule ms WHERE
ms.definition.id IN () AND ms.resource.id IN (:resourceIds)]
....
Caused by: java.lang.IllegalArgumentException:
org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected end of
subtree [SELECT ms FROM
org.rhq.core.domain.measurement.MeasurementSchedule ms WHERE
ms.definition.id IN () AND ms.resource.id IN (:resourceIds)]
at
org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1374)
[hibernate-entitymanager-4.2.0.CR1.jar:4.2.0.CR1]
at
org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1310)
[hibernate-entitymanager-4.2.0.CR1.jar:4.2.0.CR1]
at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:273)
[hibernate-entitymanager-4.2.0.CR1.jar:4.2.0.CR1]
at
org.rhq.enterprise.server.measurement.MeasurementDataManagerBean.findLiveData(MeasurementDataManagerBean.java:897)
[rhq-server.jar:4.10.0]
at
org.rhq.enterprise.server.measurement.MeasurementDataManagerBean.findLiveData(MeasurementDataManagerBean.java:873)
[rhq-server.jar:4.10.0]
at sun.reflect.GeneratedMethodAccessor507.invoke(Unknown Source)
[:1.6.0_35]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[rt.jar:1.6.0_35]
at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_35]
...
And in the browser all metrics never changes....
Anyone knows what is happening?
Any help is very appreciate..
Thanks.
--
Regards,
______________________________________
Filippe Costa Spolti
Linux User n°515639 -
http://counter.li.org/
filippespolti(a)gmail.com
"Be yourself"
<
http://www.linkedin.com/pub/filippe-costa-spolti/67/985/575>
_______________________________________________
rhq-users mailing list
rhq-users(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/rhq-users