"Can't find method org.rhq.core.domain.criteria.ResourceCriteria.addFilterExplicitGroupIds(number)" using JON CLI example

Solution Unverified - Updated -

Issue

I was working on some JON CLI scripting and following our documentation at: https://access.redhat.com/site/documentation/en-US/JBoss_Operations_Network/3.1/html-single/Dev_Writing_JON_Command-Line_Scripts/index.html#Creating_the_JON_Scripts-Getting_inventory_and_status_information_out

I am running 3.1.2.GA of JON, and the download for the CLI that it offers (4.4.0.JON312GA).
When I run the status.js mentioned in that section, I get an error: Can't find method org.rhq.core.domain.criteria.ResourceCriteria.addFilterExplicitGroupIds(number).

Environment

  • JBoss Operation Network (JON) 3.1.2
  • Sun/Oracle JDK 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.