"java.lang.RuntimeException: Auto-calculation failure" caused by "java.lang.ClassCastException" in JBoss ON log

Solution Verified - Updated -

Issue

  • After migrating the JBoss ON Database from Oracle to PostgreSQL 9.1.X we see the below errors in the server log:
23:00:05,454 ERROR [org.jboss.as.ejb3.invocation] (RHQScheduler_Worker-3) JBAS014134: EJB Invocation failed on component MeasurementBaselineManagerBean for method public abstract java.util.List org.rhq.enterprise.server.measurement.MeasurementBaselineManagerLocal.getSchedulesWithoutBaselines(): javax.ejb.EJBException: java.lang.RuntimeException: An unexpected error occurred while trying to retrieve schedules without baselines
23:00:05,466 ERROR [org.jboss.as.ejb3.invocation] (RHQScheduler_Worker-3) JBAS014134: EJB Invocation failed on component MeasurementBaselineManagerBean for method public abstract long org.rhq.enterprise.server.measurement.MeasurementBaselineManagerLocal.calculateAutoBaselines(long,long): javax.ejb.EJBException: java.lang.RuntimeException: Auto-calculation failure

Environment

  • Red Hat JBoss Operations Network (ON) 3.2
  • Migrating from Oracle to Postgres Database

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content