RHQ with H2 database error on database creation

Ian Springer ian.springer at redhat.com
Thu Jun 17 22:22:10 UTC 2010


Fyi, if you don't want to try building RHQ yourself, you can wait for 
RHQ 3.0 final, which we plan on releasing in the next couple weeks. If 
you do build it yourself, I'd suggest checking out the release-3.0.0 
branch and building it from that. That's the branch we're planning to 
use for the 3.0 release, so it is more stable than the master branch.

--Ian

On 06/17/2010 05:50 PM, Joseph Marques wrote:
> Larry, this was an oversight on our part.  This was caught by some
> recent testing, and already has a fixed pushed to the git repo --
> https://bugzilla.redhat.com/show_bug.cgi?id=604251
>
> On 06/17/2010 05:39 PM, Larry Brigman wrote:
>    
>> After figuring out the issue with the web page erasing the database password,
>> the installation stops without providing an error but the web page still hast
>> the moving the bar with "Starting up, please wait..."
>>
>> First exception after what looks to be the end of database creation.
>>
>> 2010-06-17 14:04:04,199 WARN  [org.jboss.system.ServiceController]
>> Problem starting service persistence.units:ear=rhq.ear,unitName=rhqpu
>> javax.persistence.PersistenceException:
>> org.hibernate.HibernateException: Dialect class not found:
>> org.rhq.core.domain.dialect.H2CustomDialect
>> 	at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:720)
>> 	at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:127)
>> 	at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:246)
>> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> 	at java.lang.reflect.Method.invoke(Method.java:597)
>> 	at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:103)
>> 	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
>> 	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
>> 	at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
>> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> 	at java.lang.reflect.Method.invoke(Method.java:597)
>> 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
>> 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
>> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
>> 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
>> 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>> 	at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
>> 	at $Proxy0.start(Unknown Source)
>> 	at org.jboss.system.ServiceController.start(ServiceController.java:417)
>> 	at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
>> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> 	at java.lang.reflect.Method.invoke(Method.java:597)
>> 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
>> 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
>> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
>> 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
>> 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>> 	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
>> 	at $Proxy53.start(Unknown Source)
>> 	at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:120)
>> 	at org.jboss.ejb3.Ejb3Deployment.startPersistenceUnits(Ejb3Deployment.java:627)
>> 	at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:351)
>> 	at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91)
>> 	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
>> 	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
>> 	at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
>> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> 	at java.lang.reflect.Method.invoke(Method.java:597)
>> 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
>> 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
>> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
>> 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
>> 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>> 	at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
>> 	at $Proxy0.start(Unknown Source)
>> 	at org.jboss.system.ServiceController.start(ServiceController.java:417)
>> 	at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
>> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> 	at java.lang.reflect.Method.invoke(Method.java:597)
>> 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
>> 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
>> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
>> 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
>> 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>> 	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
>> 	at $Proxy33.start(Unknown Source)
>> 	at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:512)
>> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> 	at java.lang.reflect.Method.invoke(Method.java:597)
>> 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
>> 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
>> 	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
>> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>> 	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
>> 	at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
>> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>> 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
>> 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>> 	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
>> 	at $Proxy34.start(Unknown Source)
>> 	at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
>> 	at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
>> 	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
>> 	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
>> 	at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
>> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> 	at java.lang.reflect.Method.invoke(Method.java:597)
>> 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
>> 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
>> 	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
>> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>> 	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
>> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>> 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
>> 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>> 	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
>> 	at $Proxy9.deploy(Unknown Source)
>> 	at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
>> 	at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
>> 	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
>> 	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
>> 	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
>> Caused by: org.hibernate.HibernateException: Dialect class not found:
>> org.rhq.core.domain.dialect.H2CustomDialect
>> 	at org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:81)
>> 	at org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:42)
>> 	at org.hibernate.cfg.SettingsFactory.determineDialect(SettingsFactory.java:426)
>> 	at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:128)
>> 	at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2019)
>> 	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)
>> 	at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:713)
>> 	... 95 more
>> _______________________________________________
>> rhq-users mailing list
>> rhq-users at lists.fedorahosted.org
>> https://fedorahosted.org/mailman/listinfo/rhq-users
>>
>>      
> _______________________________________________
> rhq-users mailing list
> rhq-users at lists.fedorahosted.org
> https://fedorahosted.org/mailman/listinfo/rhq-users
>    


-- 
Ian Springer
Sr. Software Developer
JBoss Operations Network
Red Hat
ian.springer at redhat.com



More information about the rhq-users mailing list