Upgrade to 4.0.1 failed with NPE on org.postgresql.jdbc.TypeInfoCache.getSQLType

I'm running on Centos 7, just upgraded to ovirt 4.01 using the procedure given in the release notes. But now I'm getting that in /var/log/ovirt-engine/engine.log: 2016-08-03 12:04:39,751 ERROR [org.ovirt.engine.core.bll.Backend] (ServerService Thread Pool -- 54) [] Error during initialization: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke private void org.ovirt.engine.core.vds broker.ResourceManager.init() on org.ovirt.engine.core.vdsbroker.ResourceManager@28b87a8e at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:100) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final] at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.postConstruct(DefaultLifecycleCallbackInvoker.java:81) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final] at org.jboss.weld.injection.producer.BasicInjectionTarget.postConstruct(BasicInjectionTarget.java:126) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final] at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:162) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final] at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:96) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final] at org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.get(ContextualInstanceStrategy.java:101) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final] at org.jboss.weld.bean.ContextualInstanceStrategy$ApplicationScopedContextualInstanceStrategy.get(ContextualInstanceStrategy.java:141) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final] at org.jboss.weld.bean.ContextualInstance.get(ContextualInstance.java:50) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final] at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:742) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final] ... Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_92] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_92] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_92] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_92] at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:98) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final] ... 82 more Caused by: java.lang.NullPointerException at org.postgresql.jdbc.TypeInfoCache.getSQLType(TypeInfoCache.java:182) at org.postgresql.jdbc.TypeInfoCache.getSQLType(TypeInfoCache.java:178) at org.postgresql.jdbc.PgDatabaseMetaData.getProcedureColumns(PgDatabaseMetaData.java:1259) at org.postgresql.jdbc.PgDatabaseMetaData.getProcedureColumns(PgDatabaseMetaData.java:1040) at org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider.processProcedureColumns(GenericCallMetaDataProvider.java:353) [spring-jdbc.jar:4.2.4.RELEASE] at org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider.initializeWithProcedureColumnMetaData(GenericCallMetaDataProvider.java:112) [spring-jdbc.jar:4.2.4.RELEASE] at org.springframework.jdbc.core.metadata.CallMetaDataProviderFactory$1.processMetaData(CallMetaDataProviderFactory.java:133) [spring-jdbc.jar:4.2.4.RELEASE] at org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUtils.java:299) [spring-jdbc.jar:4.2.4.RELEASE] at org.springframework.jdbc.core.metadata.CallMetaDataProviderFactory.createMetaDataProvider(CallMetaDataProviderFactory.java:73) [spring-jdbc.jar:4.2.4.RELEASE] at org.springframework.jdbc.core.metadata.CallMetaDataContext.initializeMetaData(CallMetaDataContext.java:286) [spring-jdbc.jar:4.2.4.RELEASE] at org.springframework.jdbc.core.simple.AbstractJdbcCall.compileInternal(AbstractJdbcCall.java:303) [spring-jdbc.jar:4.2.4.RELEASE] at org.ovirt.engine.core.dal.dbbroker.PostgresDbEngineDialect$PostgresSimpleJdbcCall.compileInternal(PostgresDbEngineDialect.java:108) [dal.jar:] at org.springframework.jdbc.core.simple.AbstractJdbcCall.compile(AbstractJdbcCall.java:288) [spring-jdbc.jar:4.2.4.RELEASE] at org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.getCall(SimpleJdbcCallsHandler.java:169) [dal.jar:] at org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeImpl(SimpleJdbcCallsHandler.java:146) [dal.jar:] at org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeReadList(SimpleJdbcCallsHandler.java:109) [dal.jar:] at org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeRead(SimpleJdbcCallsHandler.java:101) [dal.jar:] at org.ovirt.engine.core.dao.VdsDynamicDaoImpl.get(VdsDynamicDaoImpl.java:129) [dal.jar:] at org.ovirt.engine.core.dao.VdsDynamicDaoImpl.updateIfNeeded(VdsDynamicDaoImpl.java:296) [dal.jar:] at org.ovirt.engine.core.dao.VdsDynamicDaoImpl.updateIfNeeded(VdsDynamicDaoImpl.java:34) [dal.jar:] at org.ovirt.engine.core.vdsbroker.VdsManager.updateDynamicData(VdsManager.java:421) [vdsbroker.jar:] at org.ovirt.engine.core.vdsbroker.ResourceManager.addVds(ResourceManager.java:237) [vdsbroker.jar:] at org.ovirt.engine.core.vdsbroker.ResourceManager.init(ResourceManager.java:134) [vdsbroker.jar:] ... 87 more And in server.log: 2016-08-03 12:04:39,758 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 54) MSC000001: Failed to start service jboss.deployment.subunit."engine.ear"."bll.jar".component.Backend.START: org.jboss.msc.service.StartException in service jboss.deployment.subunit."engine.ear"."bll.jar".component.Backend.START: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance at org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:57) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_92] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_92] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_92] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_92] at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_92] at org.jboss.threads.JBossThread.run(JBossThread.java:320) Caused by: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:163) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final] at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:134) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final] at org.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.java:88) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final] at org.jboss.as.ejb3.component.singleton.SingletonComponent.getComponentInstance(SingletonComponent.java:124) at org.jboss.as.ejb3.component.singleton.SingletonComponent.start(SingletonComponent.java:138) at org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:54) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final] ... 6 more Caused by: javax.ejb.EJBException: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke private void org.ovirt.engine.core.vdsbroker.ResourceManager.init() on org.ovirt.engine.core.vdsbroker.ResourceManager@28b87a8e at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInNoTx(CMTTxInterceptor.java:213) at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:265) at org.jboss.as.ejb3.tx.CMTTxInterceptor.supports(CMTTxInterceptor.java:374) at org.jboss.as.ejb3.tx.LifecycleCMTTxInterceptor.processInvocation(LifecycleCMTTxInterceptor.java:68) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final] at org.jboss.as.weld.injection.WeldInjectionContextInterceptor.processInvocation(WeldInjectionContextInterceptor.java:43) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final] at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final] at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final] at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final] at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final] at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:161) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final] ... 11 more Caused by: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke private void org.ovirt.engine.core.vdsbroker.ResourceManager.init() on org.ovirt.engine.core.vdsbroker.ResourceManager@28b87a8e ... 2016-08-03 12:04:40,311 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "engine.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.subunit.\"engine.ear\".\"bll.jar\".component.Backend.START" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"engine.ear\".\"bll.jar\".component.Backend.START: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance Caused by: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance Caused by: javax.ejb.EJBException: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke private void org.ovirt.engine.core.vdsbroker.ResourceManager.init() on org.ovirt.engine.core.vdsbroker.ResourceManager@28b87a8e Caused by: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke private void org.ovirt.engine.core.vdsbroker.ResourceManager.init() on org.ovirt.engine.core.vdsbroker.ResourceManager@28b87a8e Caused by: java.lang.reflect.InvocationTargetException Caused by: java.lang.NullPointerException"}} ... 2016-08-03 12:04:40,916 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 10.0.0.Final (WildFly Core 2.0.10.Final) started (with errors) in 29114ms - Started 1320 of 1633 services (5 services failed or missing dependencies, 438 services are lazy, passive or on-demand) 2016-08-03 12:04:41,011 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 14) WFLYUT0022: Unregistered web context: /ovirt-engine/services 2016-08-03 12:04:41,012 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 15) WFLYUT0022: Unregistered web context: /ovirt-engine/webadmin 2016-08-03 12:04:41,015 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 4) WFLYUT0022: Unregistered web context: /ovirt-engine/api 2016-08-03 12:04:41,022 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 13) WFLYUT0022: Unregistered web context: /ovirt-engine/docs 2016-08-03 12:04:41,022 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 11) WFLYUT0022: Unregistered web context: /ovirt-engine/sso 2016-08-03 12:04:41,022 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 18) WFLYUT0022: Unregistered web context: /ovirt-engine/userportal 2016-08-03 12:04:41,019 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 20) WFLYUT0022: Unregistered web context: /ovirt-engine 2016-08-03 12:04:41,013 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 7) WFLYUT0022: Unregistered web context: / I see no other error message. Any hint about that ?

Hi, what is the version of postgresql-jdbc package are you using? I saw this error only with latest postgresql-jdbc drivers 9.4-1209, but those are not packaged in RPMs AFAIK. Thanks Martin Perina On Wed, Aug 3, 2016 at 12:31 PM, Fabrice Bacchella < fabrice.bacchella@icloud.com> wrote:
I'm running on Centos 7, just upgraded to ovirt 4.01 using the procedure given in the release notes.
But now I'm getting that in /var/log/ovirt-engine/engine.log:
2016-08-03 12:04:39,751 ERROR [org.ovirt.engine.core.bll.Backend] (ServerService Thread Pool -- 54) [] Error during initialization: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke private void org.ovirt.engine.core.vds broker.ResourceManager.init() on org.ovirt.engine.core.vdsbroker.ResourceManager@28b87a8e at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:100) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final] at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.postConstruct(DefaultLifecycleCallbackInvoker.java:81) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final] at org.jboss.weld.injection.producer.BasicInjectionTarget.postConstruct(BasicInjectionTarget.java:126) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final] at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:162) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final] at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:96) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final] at org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.get(ContextualInstanceStrategy.java:101) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final] at org.jboss.weld.bean.ContextualInstanceStrategy$ApplicationScopedContextualInstanceStrategy.get(ContextualInstanceStrategy.java:141) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final] at org.jboss.weld.bean.ContextualInstance.get(ContextualInstance.java:50) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final] at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:742) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final] ... Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_92] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_92] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_92] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_92] at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:98) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final] ... 82 more Caused by: java.lang.NullPointerException at org.postgresql.jdbc.TypeInfoCache.getSQLType(TypeInfoCache.java:182) at org.postgresql.jdbc.TypeInfoCache.getSQLType(TypeInfoCache.java:178) at org.postgresql.jdbc.PgDatabaseMetaData.getProcedureColumns(PgDatabaseMetaData.java:1259) at org.postgresql.jdbc.PgDatabaseMetaData.getProcedureColumns(PgDatabaseMetaData.java:1040) at org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider.processProcedureColumns(GenericCallMetaDataProvider.java:353) [spring-jdbc.jar:4.2.4.RELEASE] at org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider.initializeWithProcedureColumnMetaData(GenericCallMetaDataProvider.java:112) [spring-jdbc.jar:4.2.4.RELEASE] at org.springframework.jdbc.core.metadata.CallMetaDataProviderFactory$1.processMetaData(CallMetaDataProviderFactory.java:133) [spring-jdbc.jar:4.2.4.RELEASE] at org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUtils.java:299) [spring-jdbc.jar:4.2.4.RELEASE] at org.springframework.jdbc.core.metadata.CallMetaDataProviderFactory.createMetaDataProvider(CallMetaDataProviderFactory.java:73) [spring-jdbc.jar:4.2.4.RELEASE] at org.springframework.jdbc.core.metadata.CallMetaDataContext.initializeMetaData(CallMetaDataContext.java:286) [spring-jdbc.jar:4.2.4.RELEASE] at org.springframework.jdbc.core.simple.AbstractJdbcCall.compileInternal(AbstractJdbcCall.java:303) [spring-jdbc.jar:4.2.4.RELEASE] at org.ovirt.engine.core.dal.dbbroker.PostgresDbEngineDialect$PostgresSimpleJdbcCall.compileInternal(PostgresDbEngineDialect.java:108) [dal.jar:] at org.springframework.jdbc.core.simple.AbstractJdbcCall.compile(AbstractJdbcCall.java:288) [spring-jdbc.jar:4.2.4.RELEASE] at org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.getCall(SimpleJdbcCallsHandler.java:169) [dal.jar:] at org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeImpl(SimpleJdbcCallsHandler.java:146) [dal.jar:] at org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeReadList(SimpleJdbcCallsHandler.java:109) [dal.jar:] at org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeRead(SimpleJdbcCallsHandler.java:101) [dal.jar:] at org.ovirt.engine.core.dao.VdsDynamicDaoImpl.get(VdsDynamicDaoImpl.java:129) [dal.jar:] at org.ovirt.engine.core.dao.VdsDynamicDaoImpl.updateIfNeeded(VdsDynamicDaoImpl.java:296) [dal.jar:] at org.ovirt.engine.core.dao.VdsDynamicDaoImpl.updateIfNeeded(VdsDynamicDaoImpl.java:34) [dal.jar:] at org.ovirt.engine.core.vdsbroker.VdsManager.updateDynamicData(VdsManager.java:421) [vdsbroker.jar:] at org.ovirt.engine.core.vdsbroker.ResourceManager.addVds(ResourceManager.java:237) [vdsbroker.jar:] at org.ovirt.engine.core.vdsbroker.ResourceManager.init(ResourceManager.java:134) [vdsbroker.jar:] ... 87 more
And in server.log: 2016-08-03 12:04:39,758 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 54) MSC000001: Failed to start service jboss.deployment.subunit."engine.ear"."bll.jar".component.Backend.START: org.jboss.msc.service.StartException in service jboss.deployment.subunit."engine.ear"."bll.jar".component.Backend.START: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance at org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:57) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_92] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_92] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_92] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_92] at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_92] at org.jboss.threads.JBossThread.run(JBossThread.java:320) Caused by: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:163) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final] at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:134) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final] at org.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.java:88) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final] at org.jboss.as.ejb3.component.singleton.SingletonComponent.getComponentInstance(SingletonComponent.java:124) at org.jboss.as.ejb3.component.singleton.SingletonComponent.start(SingletonComponent.java:138) at org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:54) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final] ... 6 more Caused by: javax.ejb.EJBException: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke private void org.ovirt.engine.core.vdsbroker.ResourceManager.init() on org.ovirt.engine.core.vdsbroker.ResourceManager@28b87a8e at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInNoTx(CMTTxInterceptor.java:213) at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:265) at org.jboss.as.ejb3.tx.CMTTxInterceptor.supports(CMTTxInterceptor.java:374) at org.jboss.as.ejb3.tx.LifecycleCMTTxInterceptor.processInvocation(LifecycleCMTTxInterceptor.java:68) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final] at org.jboss.as.weld.injection.WeldInjectionContextInterceptor.processInvocation(WeldInjectionContextInterceptor.java:43) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final] at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final] at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final] at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final] at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final] at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:161) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final] ... 11 more Caused by: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke private void org.ovirt.engine.core.vdsbroker.ResourceManager.init() on org.ovirt.engine.core.vdsbroker.ResourceManager@28b87a8e ... 2016-08-03 12:04:40,311 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "engine.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.subunit.\"engine.ear\".\"bll.jar\".component.Backend.START" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"engine.ear\".\"bll.jar\".component.Backend.START: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance Caused by: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance Caused by: javax.ejb.EJBException: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke private void org.ovirt.engine.core.vdsbroker.ResourceManager.init() on org.ovirt.engine.core.vdsbroker.ResourceManager@28b87a8e Caused by: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke private void org.ovirt.engine.core.vdsbroker.ResourceManager.init() on org.ovirt.engine.core.vdsbroker.ResourceManager@28b87a8e Caused by: java.lang.reflect.InvocationTargetException Caused by: java.lang.NullPointerException"}} ... 2016-08-03 12:04:40,916 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 10.0.0.Final (WildFly Core 2.0.10.Final) started (with errors) in 29114ms - Started 1320 of 1633 services (5 services failed or missing dependencies, 438 services are lazy, passive or on-demand) 2016-08-03 12:04:41,011 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 14) WFLYUT0022: Unregistered web context: /ovirt-engine/services 2016-08-03 12:04:41,012 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 15) WFLYUT0022: Unregistered web context: /ovirt-engine/webadmin 2016-08-03 12:04:41,015 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 4) WFLYUT0022: Unregistered web context: /ovirt-engine/api 2016-08-03 12:04:41,022 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 13) WFLYUT0022: Unregistered web context: /ovirt-engine/docs 2016-08-03 12:04:41,022 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 11) WFLYUT0022: Unregistered web context: /ovirt-engine/sso 2016-08-03 12:04:41,022 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 18) WFLYUT0022: Unregistered web context: /ovirt-engine/userportal 2016-08-03 12:04:41,019 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 20) WFLYUT0022: Unregistered web context: /ovirt-engine 2016-08-03 12:04:41,013 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 7) WFLYUT0022: Unregistered web context: /
I see no other error message. Any hint about that ? _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Le 3 ao=C3=BBt 2016 =C3=A0 12:39, Martin Perina <mperina@redhat.com> a = =C3=A9crit : =20 Hi, =20 what is the version of postgresql-jdbc package are you using? I saw =
=20 Thanks =20 Martin Perina =20 =20 On Wed, Aug 3, 2016 at 12:31 PM, Fabrice Bacchella = <fabrice.bacchella@icloud.com <mailto:fabrice.bacchella@icloud.com>> = wrote: I'm running on Centos 7, just upgraded to ovirt 4.01 using the =
=20 But now I'm getting that in /var/log/ovirt-engine/engine.log: =20 2016-08-03 12:04:39,751 ERROR [org.ovirt.engine.core.bll.Backend] = (ServerService Thread Pool -- 54) [] Error during initialization: = org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke =
broker.ResourceManager.init() on = org.ovirt.engine.core.vdsbroker.ResourceManager@28b87a8e at = org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMe=
--Apple-Mail=_4950E621-5396-49B5-8639-CAF9F61A9FEF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Just a little investigation show : # lsof -p <enginepid> | grep postgresql-jdbc.jar java 2138 ovirt mem REG 8,2 486139 18729421 = /usr/share/java/postgresql-jdbc.jar rpm -qf /usr/share/java/postgresql-jdbc.jar postgresql-jdbc-9.4.1208-1.rhel7.noarch rpm -qi postgresql-jdbc-9.4.1208-1.rhel7.noarch ... URL : https://jdbc.postgresql.org/ And indeed I needed to install pgdg-94-centos.repo, my note says the = package was needed by ovirt, I don't remember why. And indeed : yum erase postgresql94-server ... Removing: postgresql94-server = x86_64 = 9.4.8-1PGDG.rhel7 = @pgdg94 17 M Removing for dependencies: ovirt-engine = noarch = 4.0.1.1-1.el7.centos = @ovirt-4.0 2.6 M ovirt-engine-backend = noarch = 4.0.1.1-1.el7.centos = @ovirt-4.0 13 M So I tried: yum downgrade postgresql-jdbc ... ---> Package postgresql-jdbc.noarch 0:9.2.1002-5.el7 will be a downgrade ... And now it (almost) works. I have other not linked problems that needs = more investigations. this error only with latest postgresql-jdbc drivers 9.4-1209, but those = are not packaged in RPMs AFAIK. procedure given in the release notes. private void org.ovirt.engine.core.vds thods(DefaultLifecycleCallbackInvoker.java:100) = [weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
at =
org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.postCons= truct(DefaultLifecycleCallbackInvoker.java:81) = [weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
at =
org.jboss.weld.injection.producer.BasicInjectionTarget.postConstruct(Basic= InjectionTarget.java:126) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:162) =
[weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
at =
org.jboss.weld.context.AbstractContext.get(AbstractContext.java:96) = [weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
at =
org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceSt= rategy.get(ContextualInstanceStrategy.java:101) = [weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
at =
org.jboss.weld.bean.ContextualInstanceStrategy$ApplicationScopedContextual= InstanceStrategy.get(ContextualInstanceStrategy.java:141) = [weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
at =
org.jboss.weld.bean.ContextualInstance.get(ContextualInstance.java:50) = [weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
at =
... Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) = [rt.jar:1.8.0_92] at = sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:=
org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:7= 42) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final] 62) [rt.jar:1.8.0_92]
at =
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm= pl.java:43) [rt.jar:1.8.0_92]
at java.lang.reflect.Method.invoke(Method.java:498) =
[rt.jar:1.8.0_92]
at =
org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMe= thods(DefaultLifecycleCallbackInvoker.java:98) = [weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
... 82 more Caused by: java.lang.NullPointerException at =
org.postgresql.jdbc.TypeInfoCache.getSQLType(TypeInfoCache.java:182)
at =
org.postgresql.jdbc.TypeInfoCache.getSQLType(TypeInfoCache.java:178)
at =
org.postgresql.jdbc.PgDatabaseMetaData.getProcedureColumns(PgDatabaseMetaD= ata.java:1259)
at =
org.postgresql.jdbc.PgDatabaseMetaData.getProcedureColumns(PgDatabaseMetaD= ata.java:1040)
at =
org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider.process= ProcedureColumns(GenericCallMetaDataProvider.java:353) = [spring-jdbc.jar:4.2.4.RELEASE]
at =
org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider.initial= izeWithProcedureColumnMetaData(GenericCallMetaDataProvider.java:112) = [spring-jdbc.jar:4.2.4.RELEASE]
at =
org.springframework.jdbc.core.metadata.CallMetaDataProviderFactory$1.proce= ssMetaData(CallMetaDataProviderFactory.java:133) = [spring-jdbc.jar:4.2.4.RELEASE]
at =
org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUti= ls.java:299) [spring-jdbc.jar:4.2.4.RELEASE]
at =
org.springframework.jdbc.core.metadata.CallMetaDataProviderFactory.createM= etaDataProvider(CallMetaDataProviderFactory.java:73) = [spring-jdbc.jar:4.2.4.RELEASE]
at =
org.springframework.jdbc.core.metadata.CallMetaDataContext.initializeMetaD= ata(CallMetaDataContext.java:286) [spring-jdbc.jar:4.2.4.RELEASE]
at =
org.springframework.jdbc.core.simple.AbstractJdbcCall.compileInternal(Abst= ractJdbcCall.java:303) [spring-jdbc.jar:4.2.4.RELEASE]
at =
org.ovirt.engine.core.dal.dbbroker.PostgresDbEngineDialect$PostgresSimpleJ= dbcCall.compileInternal(PostgresDbEngineDialect.java:108) [dal.jar:]
at =
org.springframework.jdbc.core.simple.AbstractJdbcCall.compile(AbstractJdbc= Call.java:288) [spring-jdbc.jar:4.2.4.RELEASE]
at =
org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.getCall(SimpleJd= bcCallsHandler.java:169) [dal.jar:]
at =
org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeImpl(Simp= leJdbcCallsHandler.java:146) [dal.jar:]
at =
org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeReadList(= SimpleJdbcCallsHandler.java:109) [dal.jar:]
at =
org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeRead(Simp= leJdbcCallsHandler.java:101) [dal.jar:]
at =
org.ovirt.engine.core.dao.VdsDynamicDaoImpl.get(VdsDynamicDaoImpl.java:129= ) [dal.jar:]
at =
org.ovirt.engine.core.dao.VdsDynamicDaoImpl.updateIfNeeded(VdsDynamicDaoIm= pl.java:296) [dal.jar:]
at =
org.ovirt.engine.core.dao.VdsDynamicDaoImpl.updateIfNeeded(VdsDynamicDaoIm= pl.java:34) [dal.jar:]
at =
org.ovirt.engine.core.vdsbroker.VdsManager.updateDynamicData(VdsManager.ja= va:421) [vdsbroker.jar:]
at =
org.ovirt.engine.core.vdsbroker.ResourceManager.addVds(ResourceManager.jav= a:237) [vdsbroker.jar:]
at =
org.ovirt.engine.core.vdsbroker.ResourceManager.init(ResourceManager.java:= 134) [vdsbroker.jar:]
... 87 more =20 And in server.log: 2016-08-03 12:04:39,758 ERROR [org.jboss.msc.service.fail] =
(ServerService Thread Pool -- 54) MSC000001: Failed to start service = jboss.deployment.subunit."engine.ear"."bll.jar".component.Backend.START: = org.jboss.msc.service.StartException in service = jboss.deployment.subunit."engine.ear"."bll.jar".component.Backend.START: = java.lang.IllegalStateException: WFLYEE0042: Failed to construct = component instance
at =
org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartServic= e.java:57) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final]
at =
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) = [rt.jar:1.8.0_92]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) =
[rt.jar:1.8.0_92]
at =
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:= 1142) [rt.jar:1.8.0_92]
at =
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java= :617) [rt.jar:1.8.0_92]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_92] at org.jboss.threads.JBossThread.run(JBossThread.java:320) Caused by: java.lang.IllegalStateException: WFLYEE0042: Failed to =
construct component instance
at =
org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicC= omponent.java:163) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final]
at =
org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicC= omponent.java:134) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final]
at =
org.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.jav= a:88) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final]
at =
org.jboss.as.ejb3.component.singleton.SingletonComponent.getComponentInsta= nce(SingletonComponent.java:124)
at =
org.jboss.as.ejb3.component.singleton.SingletonComponent.start(SingletonCo= mponent.java:138)
at =
org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartServic= e.java:54) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final]
... 6 more Caused by: javax.ejb.EJBException: =
org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke = private void org.ovirt.engine.core.vdsbroker.ResourceManager.init() on = org.ovirt.engine.core.vdsbroker.ResourceManager@28b87a8e
at =
org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInNoTx(CMTTxIntercept= or.java:213)
at =
org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:2= 65)
at =
org.jboss.as.ejb3.tx.CMTTxInterceptor.supports(CMTTxInterceptor.java:374)
at =
org.jboss.as.ejb3.tx.LifecycleCMTTxInterceptor.processInvocation(Lifecycle= CMTTxInterceptor.java:68)
at =
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:34= 0) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]
at =
org.jboss.as.weld.injection.WeldInjectionContextInterceptor.processInvocat= ion(WeldInjectionContextInterceptor.java:43)
at =
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:34= 0) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]
at =
org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextIntercept= or.processInvocation(CurrentInvocationContextInterceptor.java:41)
at =
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:34= 0) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]
at =
org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(= ConcurrentContextInterceptor.java:45) = [wildfly-ee-10.0.0.Final.jar:10.0.0.Final]
at =
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:34= 0) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]
at =
org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(Conte= xtClassLoaderInterceptor.java:64) = [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]
at =
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:34= 0) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]
at =
org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) = [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]
at =
org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(P= rivilegedWithCombinerInterceptor.java:80) = [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]
at =
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:34= 0) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]
at =
org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedIntercept= or.java:61) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]
at =
org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicC= omponent.java:161) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final]
... 11 more Caused by: org.jboss.weld.exceptions.WeldException: WELD-000049: =
... 2016-08-03 12:04:40,311 ERROR = [org.jboss.as.controller.management-operation] (Controller Boot Thread) = WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" =3D> = "engine.ear")]) - failure description: {"WFLYCTL0080: Failed services" = =3D> = {"jboss.deployment.subunit.\"engine.ear\".\"bll.jar\".component.Backend.ST= ART" =3D> "org.jboss.msc.service.StartException in service = jboss.deployment.subunit.\"engine.ear\".\"bll.jar\".component.Backend.STAR= T: java.lang.IllegalStateException: WFLYEE0042: Failed to construct = component instance Caused by: java.lang.IllegalStateException: WFLYEE0042: Failed to = construct component instance Caused by: javax.ejb.EJBException: = org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke =
Unable to invoke private void = org.ovirt.engine.core.vdsbroker.ResourceManager.init() on = org.ovirt.engine.core.vdsbroker.ResourceManager@28b87a8e private void org.ovirt.engine.core.vdsbroker.ResourceManager.init() on = org.ovirt.engine.core.vdsbroker.ResourceManager@28b87a8e
Caused by: org.jboss.weld.exceptions.WeldException: WELD-000049: = Unable to invoke private void = org.ovirt.engine.core.vdsbroker.ResourceManager.init() on = org.ovirt.engine.core.vdsbroker.ResourceManager@28b87a8e Caused by: java.lang.reflect.InvocationTargetException Caused by: java.lang.NullPointerException"}} ... 2016-08-03 12:04:40,916 ERROR [org.jboss.as <http://org.jboss.as/>] = (Controller Boot Thread) WFLYSRV0026: WildFly Full 10.0.0.Final (WildFly = Core 2.0.10.Final) started (with errors) in 29114ms - Started 1320 of = 1633 services (5 services failed or missing dependencies, 438 services = are lazy, passive or on-demand) 2016-08-03 12:04:41,011 INFO [org.wildfly.extension.undertow] = (ServerService Thread Pool -- 14) WFLYUT0022: Unregistered web context: = /ovirt-engine/services 2016-08-03 12:04:41,012 INFO [org.wildfly.extension.undertow] = (ServerService Thread Pool -- 15) WFLYUT0022: Unregistered web context: = /ovirt-engine/webadmin 2016-08-03 12:04:41,015 INFO [org.wildfly.extension.undertow] = (ServerService Thread Pool -- 4) WFLYUT0022: Unregistered web context: = /ovirt-engine/api 2016-08-03 12:04:41,022 INFO [org.wildfly.extension.undertow] = (ServerService Thread Pool -- 13) WFLYUT0022: Unregistered web context: = /ovirt-engine/docs 2016-08-03 12:04:41,022 INFO [org.wildfly.extension.undertow] = (ServerService Thread Pool -- 11) WFLYUT0022: Unregistered web context: = /ovirt-engine/sso 2016-08-03 12:04:41,022 INFO [org.wildfly.extension.undertow] = (ServerService Thread Pool -- 18) WFLYUT0022: Unregistered web context: = /ovirt-engine/userportal 2016-08-03 12:04:41,019 INFO [org.wildfly.extension.undertow] = (ServerService Thread Pool -- 20) WFLYUT0022: Unregistered web context: = /ovirt-engine 2016-08-03 12:04:41,013 INFO [org.wildfly.extension.undertow] = (ServerService Thread Pool -- 7) WFLYUT0022: Unregistered web context: / =20 I see no other error message. Any hint about that ? _______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users = <http://lists.ovirt.org/mailman/listinfo/users> =20
--Apple-Mail=_4950E621-5396-49B5-8639-CAF9F61A9FEF Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" = class=3D"">Just a little investigation show :<div class=3D""><br = class=3D""></div><div class=3D""><div style=3D"margin: 0px; font-size: = 11px; line-height: normal; font-family: Menlo;" class=3D""><span = style=3D"font-variant-ligatures: no-common-ligatures" class=3D""># lsof = -p <enginepid> | grep postgresql-jdbc.jar</span></div></div><div = style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: = Menlo;" class=3D""><span style=3D"font-variant-ligatures: = no-common-ligatures" class=3D"">java 2138 ovirt mem = REG = 8,2 486139 18729421 = /usr/share/java/postgresql-jdbc.jar</span></div><div style=3D"margin: = 0px; font-size: 11px; line-height: normal; font-family: Menlo;" = class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" = class=3D""><br class=3D""></span></div><div style=3D"margin: 0px; = font-size: 11px; line-height: normal; font-family: Menlo;" = class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" = class=3D""><div style=3D"margin: 0px; line-height: normal;" = class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" = class=3D"">rpm -qf /usr/share/java/postgresql-jdbc.jar</span></div><div = style=3D"margin: 0px; line-height: normal;" class=3D""><span = style=3D"font-variant-ligatures: no-common-ligatures" = class=3D"">postgresql-jdbc-9.4.1208-1.rhel7.noarch</span></div><div = class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" = class=3D""><br class=3D""></span></div><div class=3D""><span = style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">rpm -qi = postgresql-jdbc-9.4.1208-1.rhel7.noarch</span></div><div class=3D""><span = style=3D"font-variant-ligatures: no-common-ligatures" = class=3D"">...</span></div><div class=3D""><span = style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">URL = : <a href=3D"https://jdbc.postgresql.org/" = class=3D"">https://jdbc.postgresql.org/</a></span></div><div = class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" = class=3D""><br class=3D""></span></div><div class=3D""><span = style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">And = indeed I needed to install </span>pgdg-94-centos.repo, my note says = the package was needed by ovirt, I don't remember why. And indeed = :</div><div class=3D""><div style=3D"margin: 0px; line-height: normal;" = class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" = class=3D"">yum erase postgresql94-server</span></div></div><div = style=3D"margin: 0px; line-height: normal;" class=3D""><span = style=3D"font-variant-ligatures: no-common-ligatures" = class=3D"">...</span></div><div style=3D"margin: 0px; line-height: = normal;" class=3D""><span style=3D"font-variant-ligatures: = no-common-ligatures" class=3D""><div style=3D"margin: 0px; line-height: = normal;" class=3D""><span style=3D"font-variant-ligatures: = no-common-ligatures" class=3D"">Removing:</span></div><div = style=3D"margin: 0px; line-height: normal;" class=3D""><span = style=3D"font-variant-ligatures: no-common-ligatures" = class=3D""> postgresql94-server = = = x86_64 = = 9.4.8-1PGDG.rhel7 = = = @pgdg94 = = 17 = M</span></div><div style=3D"margin: 0px; line-height: normal;" = class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" = class=3D"">Removing for dependencies:</span></div><div style=3D"margin: = 0px; line-height: normal;" class=3D""><span = style=3D"font-variant-ligatures: no-common-ligatures" = class=3D""> ovirt-engine = = = = noarch = = 4.0.1.1-1.el7.centos = = = @ovirt-4.0 = = 2.6 M</span></div><div style=3D"margin: 0px; line-height: = normal;" class=3D""><span style=3D"font-variant-ligatures: = no-common-ligatures" class=3D""> ovirt-engine-backend = = = = noarch = = 4.0.1.1-1.el7.centos = = = @ovirt-4.0 = = 13 M</span></div><div class=3D""><span = style=3D"font-variant-ligatures: no-common-ligatures" class=3D""><br = class=3D""></span></div><div class=3D""><span = style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">So I = tried:</span></div><div class=3D""><span style=3D"font-variant-ligatures: = no-common-ligatures" class=3D""><br class=3D""></span></div><div = class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" = class=3D"">yum downgrade postgresql-jdbc</span></div><div class=3D""><span= style=3D"font-variant-ligatures: no-common-ligatures" = class=3D"">...</span></div><div class=3D""><span = style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">---> = Package postgresql-jdbc.noarch 0:9.2.1002-5.el7 will be a = downgrade</span></div><div class=3D""><span = style=3D"font-variant-ligatures: no-common-ligatures" = class=3D"">...</span></div><div class=3D""><span = style=3D"font-variant-ligatures: no-common-ligatures" class=3D""><br = class=3D""></span></div><div class=3D""><span = style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">And now = it (almost) works. I have other not linked problems that needs more = investigations.</span></div></span></div><div class=3D""><br = class=3D""></div></span></div><div class=3D""><br = class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D"">Le = 3 ao=C3=BBt 2016 =C3=A0 12:39, Martin Perina <<a = href=3D"mailto:mperina@redhat.com" class=3D"">mperina@redhat.com</a>> = a =C3=A9crit :</div><br class=3D"Apple-interchange-newline"><div = class=3D""><div dir=3D"ltr" class=3D""><div class=3D"gmail_default" = style=3D"font-family:arial,helvetica,sans-serif">Hi,<br class=3D""><br = class=3D""></div><div class=3D"gmail_default" = style=3D"font-family:arial,helvetica,sans-serif">what is the version of = postgresql-jdbc package are you using? I saw this error only with latest = postgresql-jdbc drivers 9.4-1209, but those are not packaged in RPMs = AFAIK.<br class=3D""><br class=3D""></div><div class=3D"gmail_default" = style=3D"font-family:arial,helvetica,sans-serif">Thanks<br class=3D""><br = class=3D""></div><div class=3D"gmail_default" = style=3D"font-family:arial,helvetica,sans-serif">Martin Perina<br = class=3D""><br class=3D""></div></div><div class=3D"gmail_extra"><br = class=3D""><div class=3D"gmail_quote">On Wed, Aug 3, 2016 at 12:31 PM, = Fabrice Bacchella <span dir=3D"ltr" class=3D""><<a = href=3D"mailto:fabrice.bacchella@icloud.com" target=3D"_blank" = class=3D"">fabrice.bacchella@icloud.com</a>></span> wrote:<br = class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 = .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm running on Centos = 7, just upgraded to ovirt 4.01 using the procedure given in the release = notes.<br class=3D""> <br class=3D""> But now I'm getting that in /var/log/ovirt-engine/engine.log:<br = class=3D""> <br class=3D""> 2016-08-03 12:04:39,751 ERROR [org.ovirt.engine.core.bll.Backend] = (ServerService Thread Pool -- 54) [] Error during initialization: = org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke = private void org.ovirt.engine.core.vds<br class=3D""> broker.ResourceManager.init() on = org.ovirt.engine.core.vdsbroker.ResourceManager@28b87a8e<br class=3D""> at = org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMe= thods(DefaultLifecycleCallbackInvoker.java:100) = [weld-core-impl-2.3.2.Final.jar:2.3.2.Final]<br class=3D""> at = org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.postCons= truct(DefaultLifecycleCallbackInvoker.java:81) = [weld-core-impl-2.3.2.Final.jar:2.3.2.Final]<br class=3D""> at = org.jboss.weld.injection.producer.BasicInjectionTarget.postConstruct(Basic= InjectionTarget.java:126) = [weld-core-impl-2.3.2.Final.jar:2.3.2.Final]<br class=3D""> at = org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:162) = [weld-core-impl-2.3.2.Final.jar:2.3.2.Final]<br class=3D""> at = org.jboss.weld.context.AbstractContext.get(AbstractContext.java:96) = [weld-core-impl-2.3.2.Final.jar:2.3.2.Final]<br class=3D""> at = org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceSt= rategy.get(ContextualInstanceStrategy.java:101) = [weld-core-impl-2.3.2.Final.jar:2.3.2.Final]<br class=3D""> at = org.jboss.weld.bean.ContextualInstanceStrategy$ApplicationScopedContextual= InstanceStrategy.get(ContextualInstanceStrategy.java:141) = [weld-core-impl-2.3.2.Final.jar:2.3.2.Final]<br class=3D""> at = org.jboss.weld.bean.ContextualInstance.get(ContextualInstance.java:50) = [weld-core-impl-2.3.2.Final.jar:2.3.2.Final]<br class=3D""> at = org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:7= 42) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final]<br class=3D""> ...<br class=3D""> Caused by: java.lang.reflect.InvocationTargetException<br class=3D""> at = sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) = [rt.jar:1.8.0_92]<br class=3D""> at = sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:= 62) [rt.jar:1.8.0_92]<br class=3D""> at = sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm= pl.java:43) [rt.jar:1.8.0_92]<br class=3D""> at = java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_92]<br = class=3D""> at = org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMe= thods(DefaultLifecycleCallbackInvoker.java:98) = [weld-core-impl-2.3.2.Final.jar:2.3.2.Final]<br class=3D""> ... 82 more<br class=3D""> Caused by: java.lang.NullPointerException<br class=3D""> at = org.postgresql.jdbc.TypeInfoCache.getSQLType(TypeInfoCache.java:182)<br = class=3D""> at = org.postgresql.jdbc.TypeInfoCache.getSQLType(TypeInfoCache.java:178)<br = class=3D""> at = org.postgresql.jdbc.PgDatabaseMetaData.getProcedureColumns(PgDatabaseMetaD= ata.java:1259)<br class=3D""> at = org.postgresql.jdbc.PgDatabaseMetaData.getProcedureColumns(PgDatabaseMetaD= ata.java:1040)<br class=3D""> at = org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider.process= ProcedureColumns(GenericCallMetaDataProvider.java:353) = [spring-jdbc.jar:4.2.4.RELEASE]<br class=3D""> at = org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider.initial= izeWithProcedureColumnMetaData(GenericCallMetaDataProvider.java:112) = [spring-jdbc.jar:4.2.4.RELEASE]<br class=3D""> at = org.springframework.jdbc.core.metadata.CallMetaDataProviderFactory$1.proce= ssMetaData(CallMetaDataProviderFactory.java:133) = [spring-jdbc.jar:4.2.4.RELEASE]<br class=3D""> at = org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUti= ls.java:299) [spring-jdbc.jar:4.2.4.RELEASE]<br class=3D""> at = org.springframework.jdbc.core.metadata.CallMetaDataProviderFactory.createM= etaDataProvider(CallMetaDataProviderFactory.java:73) = [spring-jdbc.jar:4.2.4.RELEASE]<br class=3D""> at = org.springframework.jdbc.core.metadata.CallMetaDataContext.initializeMetaD= ata(CallMetaDataContext.java:286) [spring-jdbc.jar:4.2.4.RELEASE]<br = class=3D""> at = org.springframework.jdbc.core.simple.AbstractJdbcCall.compileInternal(Abst= ractJdbcCall.java:303) [spring-jdbc.jar:4.2.4.RELEASE]<br class=3D""> at = org.ovirt.engine.core.dal.dbbroker.PostgresDbEngineDialect$PostgresSimpleJ= dbcCall.compileInternal(PostgresDbEngineDialect.java:108) [dal.jar:]<br = class=3D""> at = org.springframework.jdbc.core.simple.AbstractJdbcCall.compile(AbstractJdbc= Call.java:288) [spring-jdbc.jar:4.2.4.RELEASE]<br class=3D""> at = org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.getCall(SimpleJd= bcCallsHandler.java:169) [dal.jar:]<br class=3D""> at = org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeImpl(Simp= leJdbcCallsHandler.java:146) [dal.jar:]<br class=3D""> at = org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeReadList(= SimpleJdbcCallsHandler.java:109) [dal.jar:]<br class=3D""> at = org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeRead(Simp= leJdbcCallsHandler.java:101) [dal.jar:]<br class=3D""> at = org.ovirt.engine.core.dao.VdsDynamicDaoImpl.get(VdsDynamicDaoImpl.java:129= ) [dal.jar:]<br class=3D""> at = org.ovirt.engine.core.dao.VdsDynamicDaoImpl.updateIfNeeded(VdsDynamicDaoIm= pl.java:296) [dal.jar:]<br class=3D""> at = org.ovirt.engine.core.dao.VdsDynamicDaoImpl.updateIfNeeded(VdsDynamicDaoIm= pl.java:34) [dal.jar:]<br class=3D""> at = org.ovirt.engine.core.vdsbroker.VdsManager.updateDynamicData(VdsManager.ja= va:421) [vdsbroker.jar:]<br class=3D""> at = org.ovirt.engine.core.vdsbroker.ResourceManager.addVds(ResourceManager.jav= a:237) [vdsbroker.jar:]<br class=3D""> at = org.ovirt.engine.core.vdsbroker.ResourceManager.init(ResourceManager.java:= 134) [vdsbroker.jar:]<br class=3D""> ... 87 more<br class=3D""> <br class=3D""> And in server.log:<br class=3D""> 2016-08-03 12:04:39,758 ERROR [org.jboss.msc.service.fail] = (ServerService Thread Pool -- 54) MSC000001: Failed to start service = jboss.deployment.subunit."engine.ear"."bll.jar".component.Backend.START: = org.jboss.msc.service.StartException in service = jboss.deployment.subunit."engine.ear"."bll.jar".component.Backend.START: = java.lang.IllegalStateException: WFLYEE0042: Failed to construct = component instance<br class=3D""> at = org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartServic= e.java:57) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final]<br class=3D""> at = java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) = [rt.jar:1.8.0_92]<br class=3D""> at = java.util.concurrent.FutureTask.run(FutureTask.java:266) = [rt.jar:1.8.0_92]<br class=3D""> at = java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:= 1142) [rt.jar:1.8.0_92]<br class=3D""> at = java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java= :617) [rt.jar:1.8.0_92]<br class=3D""> at java.lang.Thread.run(Thread.java:745) = [rt.jar:1.8.0_92]<br class=3D""> at = org.jboss.threads.JBossThread.run(JBossThread.java:320)<br class=3D""> Caused by: java.lang.IllegalStateException: WFLYEE0042: Failed to = construct component instance<br class=3D""> at = org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicC= omponent.java:163) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final]<br = class=3D""> at = org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicC= omponent.java:134) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final]<br = class=3D""> at = org.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.jav= a:88) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final]<br class=3D""> at = org.jboss.as.ejb3.component.singleton.SingletonComponent.getComponentInsta= nce(SingletonComponent.java:124)<br class=3D""> at = org.jboss.as.ejb3.component.singleton.SingletonComponent.start(SingletonCo= mponent.java:138)<br class=3D""> at = org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartServic= e.java:54) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final]<br class=3D""> ... 6 more<br class=3D""> Caused by: javax.ejb.EJBException: = org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke = private void org.ovirt.engine.core.vdsbroker.ResourceManager.init() on = org.ovirt.engine.core.vdsbroker.ResourceManager@28b87a8e<br class=3D""> at = org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInNoTx(CMTTxIntercept= or.java:213)<br class=3D""> at = org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:2= 65)<br class=3D""> at = org.jboss.as.ejb3.tx.CMTTxInterceptor.supports(CMTTxInterceptor.java:374)<= br class=3D""> at = org.jboss.as.ejb3.tx.LifecycleCMTTxInterceptor.processInvocation(Lifecycle= CMTTxInterceptor.java:68)<br class=3D""> at = org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:34= 0) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]<br class=3D""> at = org.jboss.as.weld.injection.WeldInjectionContextInterceptor.processInvocat= ion(WeldInjectionContextInterceptor.java:43)<br class=3D""> at = org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:34= 0) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]<br class=3D""> at = org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextIntercept= or.processInvocation(CurrentInvocationContextInterceptor.java:41)<br = class=3D""> at = org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:34= 0) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]<br class=3D""> at = org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(= ConcurrentContextInterceptor.java:45) = [wildfly-ee-10.0.0.Final.jar:10.0.0.Final]<br class=3D""> at = org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:34= 0) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]<br class=3D""> at = org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(Conte= xtClassLoaderInterceptor.java:64) = [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]<br class=3D""> at = org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:34= 0) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]<br class=3D""> at = org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) = [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]<br class=3D""> at = org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(P= rivilegedWithCombinerInterceptor.java:80) = [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]<br class=3D""> at = org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:34= 0) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]<br class=3D""> at = org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedIntercept= or.java:61) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final]<br class=3D""> at = org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicC= omponent.java:161) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final]<br = class=3D""> ... 11 more<br class=3D""> Caused by: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable = to invoke private void = org.ovirt.engine.core.vdsbroker.ResourceManager.init() on = org.ovirt.engine.core.vdsbroker.ResourceManager@28b87a8e<br class=3D""> ...<br class=3D""> 2016-08-03 12:04:40,311 ERROR = [org.jboss.as.controller.management-operation] (Controller Boot Thread) = WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" = =3D> "engine.ear")]) - failure description: {"WFLYCTL0080: Failed = services" =3D> = {"jboss.deployment.subunit.\"engine.ear\".\"bll.jar\".component.Backend.ST= ART" =3D> "org.jboss.msc.service.StartException in service = jboss.deployment.subunit.\"engine.ear\".\"bll.jar\".component.Backend.STAR= T: java.lang.IllegalStateException: WFLYEE0042: Failed to construct = component instance<br class=3D""> Caused by: java.lang.IllegalStateException: WFLYEE0042: = Failed to construct component instance<br class=3D""> Caused by: javax.ejb.EJBException: = org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke = private void org.ovirt.engine.core.vdsbroker.ResourceManager.init() on = org.ovirt.engine.core.vdsbroker.ResourceManager@28b87a8e<br class=3D""> Caused by: org.jboss.weld.exceptions.WeldException: = WELD-000049: Unable to invoke private void = org.ovirt.engine.core.vdsbroker.ResourceManager.init() on = org.ovirt.engine.core.vdsbroker.ResourceManager@28b87a8e<br class=3D""> Caused by: java.lang.reflect.InvocationTargetException<br = class=3D""> Caused by: java.lang.NullPointerException"}}<br class=3D""> ...<br class=3D""> 2016-08-03 12:04:40,916 ERROR [<a href=3D"http://org.jboss.as/" = rel=3D"noreferrer" target=3D"_blank" class=3D"">org.jboss.as</a>] = (Controller Boot Thread) WFLYSRV0026: WildFly Full 10.0.0.Final (WildFly = Core 2.0.10.Final) started (with errors) in 29114ms - Started 1320 of = 1633 services (5 services failed or missing dependencies, 438 services = are lazy, passive or on-demand)<br class=3D""> 2016-08-03 12:04:41,011 INFO [org.wildfly.extension.undertow] = (ServerService Thread Pool -- 14) WFLYUT0022: Unregistered web context: = /ovirt-engine/services<br class=3D""> 2016-08-03 12:04:41,012 INFO [org.wildfly.extension.undertow] = (ServerService Thread Pool -- 15) WFLYUT0022: Unregistered web context: = /ovirt-engine/webadmin<br class=3D""> 2016-08-03 12:04:41,015 INFO [org.wildfly.extension.undertow] = (ServerService Thread Pool -- 4) WFLYUT0022: Unregistered web context: = /ovirt-engine/api<br class=3D""> 2016-08-03 12:04:41,022 INFO [org.wildfly.extension.undertow] = (ServerService Thread Pool -- 13) WFLYUT0022: Unregistered web context: = /ovirt-engine/docs<br class=3D""> 2016-08-03 12:04:41,022 INFO [org.wildfly.extension.undertow] = (ServerService Thread Pool -- 11) WFLYUT0022: Unregistered web context: = /ovirt-engine/sso<br class=3D""> 2016-08-03 12:04:41,022 INFO [org.wildfly.extension.undertow] = (ServerService Thread Pool -- 18) WFLYUT0022: Unregistered web context: = /ovirt-engine/userportal<br class=3D""> 2016-08-03 12:04:41,019 INFO [org.wildfly.extension.undertow] = (ServerService Thread Pool -- 20) WFLYUT0022: Unregistered web context: = /ovirt-engine<br class=3D""> 2016-08-03 12:04:41,013 INFO [org.wildfly.extension.undertow] = (ServerService Thread Pool -- 7) WFLYUT0022: Unregistered web context: = /<br class=3D""> <br class=3D""> I see no other error message. Any hint about that ?<br class=3D""> _______________________________________________<br class=3D""> Users mailing list<br class=3D""> <a href=3D"mailto:Users@ovirt.org" class=3D"">Users@ovirt.org</a><br = class=3D""> <a href=3D"http://lists.ovirt.org/mailman/listinfo/users" = rel=3D"noreferrer" target=3D"_blank" = class=3D"">http://lists.ovirt.org/mailman/listinfo/users</a><br = class=3D""> </blockquote></div><br class=3D""></div> </div></blockquote></div><br class=3D""></div></body></html>= --Apple-Mail=_4950E621-5396-49B5-8639-CAF9F61A9FEF--

Hi, we support only postgresql packages included in centos: postgresql-9.2.15-1.el7_2.x86_64 postgresql-libs-9.2.15-1.el7_2.x86_64 postgresql-jdbc-9.2.1002-5.el7.noarch postgresql-server-9.2.15-1.el7_2.x86_64 This is the postgresql version which we test. In your special case downgrading postgresql-jdbc package to 9.2 may solve the issue, but please be aware it's not tested and it may cause other issues. The only correct way is to use PostgreSQL 9.2. Martin Perina On Wed, Aug 3, 2016 at 12:56 PM, Fabrice Bacchella < fabrice.bacchella@icloud.com> wrote:
Just a little investigation show :
# lsof -p <enginepid> | grep postgresql-jdbc.jar java 2138 ovirt mem REG 8,2 486139 18729421 /usr/share/java/postgresql-jdbc.jar
rpm -qf /usr/share/java/postgresql-jdbc.jar postgresql-jdbc-9.4.1208-1.rhel7.noarch
rpm -qi postgresql-jdbc-9.4.1208-1.rhel7.noarch ... URL : https://jdbc.postgresql.org/
And indeed I needed to install pgdg-94-centos.repo, my note says the package was needed by ovirt, I don't remember why. And indeed : yum erase postgresql94-server ... Removing: postgresql94-server x86_64 9.4.8-1PGDG.rhel7 @pgdg94 17 M Removing for dependencies: ovirt-engine noarch 4.0.1.1-1.el7.centos @ovirt-4.0 2.6 M ovirt-engine-backend noarch 4.0.1.1-1.el7.centos @ovirt-4.0 13 M
So I tried:
yum downgrade postgresql-jdbc ... ---> Package postgresql-jdbc.noarch 0:9.2.1002-5.el7 will be a downgrade ...
And now it (almost) works. I have other not linked problems that needs more investigations.
Le 3 août 2016 à 12:39, Martin Perina <mperina@redhat.com> a écrit :
Hi,
what is the version of postgresql-jdbc package are you using? I saw this error only with latest postgresql-jdbc drivers 9.4-1209, but those are not packaged in RPMs AFAIK.
Thanks
Martin Perina
On Wed, Aug 3, 2016 at 12:31 PM, Fabrice Bacchella < fabrice.bacchella@icloud.com> wrote:
I'm running on Centos 7, just upgraded to ovirt 4.01 using the procedure given in the release notes.
But now I'm getting that in /var/log/ovirt-engine/engine.log:
2016-08-03 12:04:39,751 ERROR [org.ovirt.engine.core.bll.Backend] (ServerService Thread Pool -- 54) [] Error during initialization: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke private void org.ovirt.engine.core.vds broker.ResourceManager.init() on org.ovirt.engine.core.vdsbroker.ResourceManager@28b87a8e at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:100) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final] at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.postConstruct(DefaultLifecycleCallbackInvoker.java:81) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final] at org.jboss.weld.injection.producer.BasicInjectionTarget.postConstruct(BasicInjectionTarget.java:126) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final] at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:162) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final] at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:96) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final] at org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.get(ContextualInstanceStrategy.java:101) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final] at org.jboss.weld.bean.ContextualInstanceStrategy$ApplicationScopedContextualInstanceStrategy.get(ContextualInstanceStrategy.java:141) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final] at org.jboss.weld.bean.ContextualInstance.get(ContextualInstance.java:50) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final] at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:742) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final] ... Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_92] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_92] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_92] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_92] at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:98) [weld-core-impl-2.3.2.Final.jar:2.3.2.Final] ... 82 more Caused by: java.lang.NullPointerException at org.postgresql.jdbc.TypeInfoCache.getSQLType(TypeInfoCache.java:182) at org.postgresql.jdbc.TypeInfoCache.getSQLType(TypeInfoCache.java:178) at org.postgresql.jdbc.PgDatabaseMetaData.getProcedureColumns(PgDatabaseMetaData.java:1259) at org.postgresql.jdbc.PgDatabaseMetaData.getProcedureColumns(PgDatabaseMetaData.java:1040) at org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider.processProcedureColumns(GenericCallMetaDataProvider.java:353) [spring-jdbc.jar:4.2.4.RELEASE] at org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider.initializeWithProcedureColumnMetaData(GenericCallMetaDataProvider.java:112) [spring-jdbc.jar:4.2.4.RELEASE] at org.springframework.jdbc.core.metadata.CallMetaDataProviderFactory$1.processMetaData(CallMetaDataProviderFactory.java:133) [spring-jdbc.jar:4.2.4.RELEASE] at org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUtils.java:299) [spring-jdbc.jar:4.2.4.RELEASE] at org.springframework.jdbc.core.metadata.CallMetaDataProviderFactory.createMetaDataProvider(CallMetaDataProviderFactory.java:73) [spring-jdbc.jar:4.2.4.RELEASE] at org.springframework.jdbc.core.metadata.CallMetaDataContext.initializeMetaData(CallMetaDataContext.java:286) [spring-jdbc.jar:4.2.4.RELEASE] at org.springframework.jdbc.core.simple.AbstractJdbcCall.compileInternal(AbstractJdbcCall.java:303) [spring-jdbc.jar:4.2.4.RELEASE] at org.ovirt.engine.core.dal.dbbroker.PostgresDbEngineDialect$PostgresSimpleJdbcCall.compileInternal(PostgresDbEngineDialect.java:108) [dal.jar:] at org.springframework.jdbc.core.simple.AbstractJdbcCall.compile(AbstractJdbcCall.java:288) [spring-jdbc.jar:4.2.4.RELEASE] at org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.getCall(SimpleJdbcCallsHandler.java:169) [dal.jar:] at org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeImpl(SimpleJdbcCallsHandler.java:146) [dal.jar:] at org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeReadList(SimpleJdbcCallsHandler.java:109) [dal.jar:] at org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeRead(SimpleJdbcCallsHandler.java:101) [dal.jar:] at org.ovirt.engine.core.dao.VdsDynamicDaoImpl.get(VdsDynamicDaoImpl.java:129) [dal.jar:] at org.ovirt.engine.core.dao.VdsDynamicDaoImpl.updateIfNeeded(VdsDynamicDaoImpl.java:296) [dal.jar:] at org.ovirt.engine.core.dao.VdsDynamicDaoImpl.updateIfNeeded(VdsDynamicDaoImpl.java:34) [dal.jar:] at org.ovirt.engine.core.vdsbroker.VdsManager.updateDynamicData(VdsManager.java:421) [vdsbroker.jar:] at org.ovirt.engine.core.vdsbroker.ResourceManager.addVds(ResourceManager.java:237) [vdsbroker.jar:] at org.ovirt.engine.core.vdsbroker.ResourceManager.init(ResourceManager.java:134) [vdsbroker.jar:] ... 87 more
And in server.log: 2016-08-03 12:04:39,758 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 54) MSC000001: Failed to start service jboss.deployment.subunit."engine.ear"."bll.jar".component.Backend.START: org.jboss.msc.service.StartException in service jboss.deployment.subunit."engine.ear"."bll.jar".component.Backend.START: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance at org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:57) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_92] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_92] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_92] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_92] at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_92] at org.jboss.threads.JBossThread.run(JBossThread.java:320) Caused by: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:163) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final] at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:134) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final] at org.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.java:88) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final] at org.jboss.as.ejb3.component.singleton.SingletonComponent.getComponentInstance(SingletonComponent.java:124) at org.jboss.as.ejb3.component.singleton.SingletonComponent.start(SingletonComponent.java:138) at org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:54) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final] ... 6 more Caused by: javax.ejb.EJBException: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke private void org.ovirt.engine.core.vdsbroker.ResourceManager.init() on org.ovirt.engine.core.vdsbroker.ResourceManager@28b87a8e at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInNoTx(CMTTxInterceptor.java:213) at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:265) at org.jboss.as.ejb3.tx.CMTTxInterceptor.supports(CMTTxInterceptor.java:374) at org.jboss.as.ejb3.tx.LifecycleCMTTxInterceptor.processInvocation(LifecycleCMTTxInterceptor.java:68) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final] at org.jboss.as.weld.injection.WeldInjectionContextInterceptor.processInvocation(WeldInjectionContextInterceptor.java:43) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final] at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final] at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final] at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final] at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.4.1.Final.jar:1.4.1.Final] at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:161) [wildfly-ee-10.0.0.Final.jar:10.0.0.Final] ... 11 more Caused by: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke private void org.ovirt.engine.core.vdsbroker.ResourceManager.init() on org.ovirt.engine.core.vdsbroker.ResourceManager@28b87a8e ... 2016-08-03 12:04:40,311 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "engine.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.subunit.\"engine.ear\".\"bll.jar\".component.Backend.START" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"engine.ear\".\"bll.jar\".component.Backend.START: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance Caused by: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance Caused by: javax.ejb.EJBException: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke private void org.ovirt.engine.core.vdsbroker.ResourceManager.init() on org.ovirt.engine.core.vdsbroker.ResourceManager@28b87a8e Caused by: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke private void org.ovirt.engine.core.vdsbroker.ResourceManager.init() on org.ovirt.engine.core.vdsbroker.ResourceManager@28b87a8e Caused by: java.lang.reflect.InvocationTargetException Caused by: java.lang.NullPointerException"}} ... 2016-08-03 12:04:40,916 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 10.0.0.Final (WildFly Core 2.0.10.Final) started (with errors) in 29114ms - Started 1320 of 1633 services (5 services failed or missing dependencies, 438 services are lazy, passive or on-demand) 2016-08-03 12:04:41,011 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 14) WFLYUT0022: Unregistered web context: /ovirt-engine/services 2016-08-03 12:04:41,012 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 15) WFLYUT0022: Unregistered web context: /ovirt-engine/webadmin 2016-08-03 12:04:41,015 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 4) WFLYUT0022: Unregistered web context: /ovirt-engine/api 2016-08-03 12:04:41,022 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 13) WFLYUT0022: Unregistered web context: /ovirt-engine/docs 2016-08-03 12:04:41,022 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 11) WFLYUT0022: Unregistered web context: /ovirt-engine/sso 2016-08-03 12:04:41,022 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 18) WFLYUT0022: Unregistered web context: /ovirt-engine/userportal 2016-08-03 12:04:41,019 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 20) WFLYUT0022: Unregistered web context: /ovirt-engine 2016-08-03 12:04:41,013 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 7) WFLYUT0022: Unregistered web context: /
I see no other error message. Any hint about that ? _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (2)
-
Fabrice Bacchella
-
Martin Perina