"java.lang.RuntimeException: Auto-calculation failure" caused by "java.lang.ClassCastException" in JBoss ON log
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
