Server fails to process agent's inventory report due to 'UnsupportedOperationException' when resource type is missing on the server

Solution Unverified - Updated -

Issue

  • Server and other resources are not discovered
  • Run Autodiscovery platform operation see the following WARN message in the agent logs when sending [runtime] inventory report to server:

    WARN  [InventoryManager.discovery-1] (rhq.core.pc.inventory.RuntimeDiscoveryExecutor)- Exception caught while executing runtime discovery scan rooted at [platform].
    [Warning] javax.ejb.EJBException: java.lang.UnsupportedOperationException
    
  • Server mergeInventoryReport fails during merging of inventory report from agent:

    ERROR [org.jboss.as.ejb3.invocation] (http-/0.0.0.0:7080-4) JBAS014134: EJB Invocation failed on component DiscoveryBossBean for method public abstract org.rhq.core.domain.discovery.MergeInventoryReportResults org.rhq.enterprise.server.discovery.DiscoveryBossLocal.mergeInventoryReport(org.rhq.core.clientapi.server.discovery.InventoryReport) throws org.rhq.core.clientapi.server.discovery.InvalidInventoryReportException: javax.ejb.EJBException: java.lang.UnsupportedOperationException
    ...
    ERROR [org.rhq.enterprise.server.discovery.DiscoveryServerServiceImpl] (http-/0.0.0.0:7080-4) Fatal error occurred during merging of inventory report from agent [Agent[id=0,name=jboss.example.com,address=null,port=0,remote-endpoint=null,last-availability-ping=null,last-availability-report=null]].: javax.ejb.EJBException: java.lang.UnsupportedOperationException
    

Environment

  • Red Hat JBoss Operations Network (ON) 3.3
  • JBoss ON agent is sending its inventory report to the server

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