not getting installer to prepare the embedded H2 DB. Caused by: org.hibernate.HibernateException: Dialect class not found: org.rhq.core.domain.dialect.H2CustomDialect
the class was moved to a different package name probably due to the GWT refactoring. the patch is to change ConfigurationBean: @@ -642,3 +642,3 @@ public class ConfigurationBean { } else if (db.toLowerCase().indexOf("h2") > -1) { - dialect = "org.rhq.core.domain.dialect.H2CustomDialect"; + dialect = "org.rhq.core.server.H2CustomDialect"; } else if (db.toLowerCase().indexOf("sqlserver") > -1) {
pushed to release-3.0.0 branch.
there was another place where this name change needed to occur: H2DatabaseType: public String getHibernateDialect() { - return "org.rhq.core.domain.dialect.H2CustomDialect"; + return "org.rhq.core.server.H2CustomDialect"; }
*** Bug 601263 has been marked as a duplicate of this bug. ***
Verified on JON 2.4 GA_QA (tag-jon-release build #42) http://hudson-qe.rhq.rdu.redhat.com:8080/view/JON/job/tag-jon-release/42/ Database: embedded H2 DB Version 1.2.136 (2010-05-24) Java: Sun JDK 1.6 Platform: RHEL 5.5 Installed JON 2.4 GA_QA (tag-jon-release build #42) and agent without any error/exception.
Created attachment 427405 [details] boot log
Created attachment 427406 [details] server log
Mass-closure of verified bugs against JON.