1 Reply Latest reply on May 9, 2014 8:50 AM by spolti

    RHQ 4.10 Jboss Standalone 7.X EJB3 metrics

    spolti

      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....

       

      Screenshot from 2014-05-08 14:36:05.png

       

       

       

       

      Anyone knows what is happening?

      Any help is very appreciate..

       

      Thanks.