<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 3, 2016 at 12:19 PM, Fabrice Bacchella <span dir="ltr">&lt;<a href="mailto:fabrice.bacchella@orange.fr" target="_blank">fabrice.bacchella@orange.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I&#39;m running on Centos 7, just upgraded to ovirt 4.01 using the procedure given in the release notes.<br>
<br>
But now I&#39;m getting that in /var/log/ovirt-engine/engine.<wbr>log:<br>
<br>
2016-08-03 12:04:39,751 ERROR [org.ovirt.engine.core.bll.<wbr>Backend] (ServerService Thread Pool -- 54) [] Error during initialization: org.jboss.weld.exceptions.<wbr>WeldException: WELD-000049: Unable to invoke private void org.ovirt.engine.core.vds<br>
broker.ResourceManager.init() on org.ovirt.engine.core.<wbr>vdsbroker.ResourceManager@<wbr>28b87a8e<br>
        at org.jboss.weld.injection.<wbr>producer.<wbr>DefaultLifecycleCallbackInvoke<wbr>r.invokeMethods(<wbr>DefaultLifecycleCallbackInvoke<wbr>r.java:100) [weld-core-impl-2.3.2.Final.<wbr>jar:2.3.2.Final]<br>
        at org.jboss.weld.injection.<wbr>producer.<wbr>DefaultLifecycleCallbackInvoke<wbr>r.postConstruct(<wbr>DefaultLifecycleCallbackInvoke<wbr>r.java:81) [weld-core-impl-2.3.2.Final.<wbr>jar:2.3.2.Final]<br>
        at org.jboss.weld.injection.<wbr>producer.BasicInjectionTarget.<wbr>postConstruct(<wbr>BasicInjectionTarget.java:126) [weld-core-impl-2.3.2.Final.<wbr>jar:2.3.2.Final]<br>
        at org.jboss.weld.bean.<wbr>ManagedBean.create(<wbr>ManagedBean.java:162) [weld-core-impl-2.3.2.Final.<wbr>jar:2.3.2.Final]<br>
        at org.jboss.weld.context.<wbr>AbstractContext.get(<wbr>AbstractContext.java:96) [weld-core-impl-2.3.2.Final.<wbr>jar:2.3.2.Final]<br>
        at org.jboss.weld.bean.<wbr>ContextualInstanceStrategy$<wbr>DefaultContextualInstanceStrat<wbr>egy.get(<wbr>ContextualInstanceStrategy.<wbr>java:101) [weld-core-impl-2.3.2.Final.<wbr>jar:2.3.2.Final]<br>
        at org.jboss.weld.bean.<wbr>ContextualInstanceStrategy$<wbr>ApplicationScopedContextualIns<wbr>tanceStrategy.get(<wbr>ContextualInstanceStrategy.<wbr>java:141) [weld-core-impl-2.3.2.Final.<wbr>jar:2.3.2.Final]<br>
        at org.jboss.weld.bean.<wbr>ContextualInstance.get(<wbr>ContextualInstance.java:50) [weld-core-impl-2.3.2.Final.<wbr>jar:2.3.2.Final]<br>
        at org.jboss.weld.manager.<wbr>BeanManagerImpl.getReference(<wbr>BeanManagerImpl.java:742) [weld-core-impl-2.3.2.Final.<wbr>jar:2.3.2.Final]<br>
...<br>
Caused by: java.lang.reflect.<wbr>InvocationTargetException<br>
        at sun.reflect.<wbr>NativeMethodAccessorImpl.<wbr>invoke0(Native Method) [rt.jar:1.8.0_92]<br>
        at sun.reflect.<wbr>NativeMethodAccessorImpl.<wbr>invoke(<wbr>NativeMethodAccessorImpl.java:<wbr>62) [rt.jar:1.8.0_92]<br>
        at sun.reflect.<wbr>DelegatingMethodAccessorImpl.<wbr>invoke(<wbr>DelegatingMethodAccessorImpl.<wbr>java:43) [rt.jar:1.8.0_92]<br>
        at java.lang.reflect.Method.<wbr>invoke(Method.java:498) [rt.jar:1.8.0_92]<br>
        at org.jboss.weld.injection.<wbr>producer.<wbr>DefaultLifecycleCallbackInvoke<wbr>r.invokeMethods(<wbr>DefaultLifecycleCallbackInvoke<wbr>r.java:98) [weld-core-impl-2.3.2.Final.<wbr>jar:2.3.2.Final]<br>
        ... 82 more<br>
Caused by: java.lang.NullPointerException<br>
        at org.postgresql.jdbc.<wbr>TypeInfoCache.getSQLType(<wbr>TypeInfoCache.java:182)<br></blockquote><div><br></div><div><br></div><div>Can you please check the version of postgresql-jdbc you&#39;re using? Looks like an issue while talking with the driver.</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
        at org.postgresql.jdbc.<wbr>TypeInfoCache.getSQLType(<wbr>TypeInfoCache.java:178)<br>
        at org.postgresql.jdbc.<wbr>PgDatabaseMetaData.<wbr>getProcedureColumns(<wbr>PgDatabaseMetaData.java:1259)<br>
        at org.postgresql.jdbc.<wbr>PgDatabaseMetaData.<wbr>getProcedureColumns(<wbr>PgDatabaseMetaData.java:1040)<br>
        at org.springframework.jdbc.core.<wbr>metadata.<wbr>GenericCallMetaDataProvider.<wbr>processProcedureColumns(<wbr>GenericCallMetaDataProvider.<wbr>java:353) [spring-jdbc.jar:4.2.4.<wbr>RELEASE]<br>
        at org.springframework.jdbc.core.<wbr>metadata.<wbr>GenericCallMetaDataProvider.<wbr>initializeWithProcedureColumnM<wbr>etaData(<wbr>GenericCallMetaDataProvider.<wbr>java:112) [spring-jdbc.jar:4.2.4.<wbr>RELEASE]<br>
        at org.springframework.jdbc.core.<wbr>metadata.<wbr>CallMetaDataProviderFactory$1.<wbr>processMetaData(<wbr>CallMetaDataProviderFactory.<wbr>java:133) [spring-jdbc.jar:4.2.4.<wbr>RELEASE]<br>
        at org.springframework.jdbc.<wbr>support.JdbcUtils.<wbr>extractDatabaseMetaData(<wbr>JdbcUtils.java:299) [spring-jdbc.jar:4.2.4.<wbr>RELEASE]<br>
        at org.springframework.jdbc.core.<wbr>metadata.<wbr>CallMetaDataProviderFactory.<wbr>createMetaDataProvider(<wbr>CallMetaDataProviderFactory.<wbr>java:73) [spring-jdbc.jar:4.2.4.<wbr>RELEASE]<br>
        at org.springframework.jdbc.core.<wbr>metadata.CallMetaDataContext.<wbr>initializeMetaData(<wbr>CallMetaDataContext.java:286) [spring-jdbc.jar:4.2.4.<wbr>RELEASE]<br>
        at org.springframework.jdbc.core.<wbr>simple.AbstractJdbcCall.<wbr>compileInternal(<wbr>AbstractJdbcCall.java:303) [spring-jdbc.jar:4.2.4.<wbr>RELEASE]<br>
        at org.ovirt.engine.core.dal.<wbr>dbbroker.<wbr>PostgresDbEngineDialect$<wbr>PostgresSimpleJdbcCall.<wbr>compileInternal(<wbr>PostgresDbEngineDialect.java:<wbr>108) [dal.jar:]<br>
        at org.springframework.jdbc.core.<wbr>simple.AbstractJdbcCall.<wbr>compile(AbstractJdbcCall.java:<wbr>288) [spring-jdbc.jar:4.2.4.<wbr>RELEASE]<br>
        at org.ovirt.engine.core.dal.<wbr>dbbroker.<wbr>SimpleJdbcCallsHandler.<wbr>getCall(<wbr>SimpleJdbcCallsHandler.java:<wbr>169) [dal.jar:]<br>
        at org.ovirt.engine.core.dal.<wbr>dbbroker.<wbr>SimpleJdbcCallsHandler.<wbr>executeImpl(<wbr>SimpleJdbcCallsHandler.java:<wbr>146) [dal.jar:]<br>
        at org.ovirt.engine.core.dal.<wbr>dbbroker.<wbr>SimpleJdbcCallsHandler.<wbr>executeReadList(<wbr>SimpleJdbcCallsHandler.java:<wbr>109) [dal.jar:]<br>
        at org.ovirt.engine.core.dal.<wbr>dbbroker.<wbr>SimpleJdbcCallsHandler.<wbr>executeRead(<wbr>SimpleJdbcCallsHandler.java:<wbr>101) [dal.jar:]<br>
        at org.ovirt.engine.core.dao.<wbr>VdsDynamicDaoImpl.get(<wbr>VdsDynamicDaoImpl.java:129) [dal.jar:]<br>
        at org.ovirt.engine.core.dao.<wbr>VdsDynamicDaoImpl.<wbr>updateIfNeeded(<wbr>VdsDynamicDaoImpl.java:296) [dal.jar:]<br>
        at org.ovirt.engine.core.dao.<wbr>VdsDynamicDaoImpl.<wbr>updateIfNeeded(<wbr>VdsDynamicDaoImpl.java:34) [dal.jar:]<br>
        at org.ovirt.engine.core.<wbr>vdsbroker.VdsManager.<wbr>updateDynamicData(VdsManager.<wbr>java:421) [vdsbroker.jar:]<br>
        at org.ovirt.engine.core.<wbr>vdsbroker.ResourceManager.<wbr>addVds(ResourceManager.java:<wbr>237) [vdsbroker.jar:]<br>
        at org.ovirt.engine.core.<wbr>vdsbroker.ResourceManager.<wbr>init(ResourceManager.java:134) [vdsbroker.jar:]<br>
        ... 87 more<br>
<br>
And in server.log:<br>
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.&quot;<wbr>engine.ear&quot;.&quot;bll.jar&quot;.<wbr>component.Backend.START: org.jboss.msc.service.<wbr>StartException in service jboss.deployment.subunit.&quot;<wbr>engine.ear&quot;.&quot;bll.jar&quot;.<wbr>component.Backend.START: java.lang.<wbr>IllegalStateException: WFLYEE0042: Failed to construct component instance<br>
        at org.jboss.as.ee.component.<wbr>ComponentStartService$1.run(<wbr>ComponentStartService.java:57) [wildfly-ee-10.0.0.Final.jar:<wbr>10.0.0.Final]<br>
        at java.util.concurrent.<wbr>Executors$RunnableAdapter.<wbr>call(Executors.java:511) [rt.jar:1.8.0_92]<br>
        at java.util.concurrent.<wbr>FutureTask.run(FutureTask.<wbr>java:266) [rt.jar:1.8.0_92]<br>
        at java.util.concurrent.<wbr>ThreadPoolExecutor.runWorker(<wbr>ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_92]<br>
        at java.util.concurrent.<wbr>ThreadPoolExecutor$Worker.run(<wbr>ThreadPoolExecutor.java:617) [rt.jar:1.8.0_92]<br>
        at java.lang.Thread.run(Thread.<wbr>java:745) [rt.jar:1.8.0_92]<br>
        at org.jboss.threads.JBossThread.<wbr>run(JBossThread.java:320)<br>
Caused by: java.lang.<wbr>IllegalStateException: WFLYEE0042: Failed to construct component instance<br>
        at org.jboss.as.ee.component.<wbr>BasicComponent.<wbr>constructComponentInstance(<wbr>BasicComponent.java:163) [wildfly-ee-10.0.0.Final.jar:<wbr>10.0.0.Final]<br>
        at org.jboss.as.ee.component.<wbr>BasicComponent.<wbr>constructComponentInstance(<wbr>BasicComponent.java:134) [wildfly-ee-10.0.0.Final.jar:<wbr>10.0.0.Final]<br>
        at org.jboss.as.ee.component.<wbr>BasicComponent.createInstance(<wbr>BasicComponent.java:88) [wildfly-ee-10.0.0.Final.jar:<wbr>10.0.0.Final]<br>
        at org.jboss.as.ejb3.component.<wbr>singleton.SingletonComponent.<wbr>getComponentInstance(<wbr>SingletonComponent.java:124)<br>
        at org.jboss.as.ejb3.component.<wbr>singleton.SingletonComponent.<wbr>start(SingletonComponent.java:<wbr>138)<br>
        at org.jboss.as.ee.component.<wbr>ComponentStartService$1.run(<wbr>ComponentStartService.java:54) [wildfly-ee-10.0.0.Final.jar:<wbr>10.0.0.Final]<br>
        ... 6 more<br>
Caused by: javax.ejb.EJBException: org.jboss.weld.exceptions.<wbr>WeldException: WELD-000049: Unable to invoke private void org.ovirt.engine.core.<wbr>vdsbroker.ResourceManager.<wbr>init() on org.ovirt.engine.core.<wbr>vdsbroker.ResourceManager@<wbr>28b87a8e<br>
        at org.jboss.as.ejb3.tx.<wbr>CMTTxInterceptor.<wbr>handleExceptionInNoTx(<wbr>CMTTxInterceptor.java:213)<br>
        at org.jboss.as.ejb3.tx.<wbr>CMTTxInterceptor.invokeInNoTx(<wbr>CMTTxInterceptor.java:265)<br>
        at org.jboss.as.ejb3.tx.<wbr>CMTTxInterceptor.supports(<wbr>CMTTxInterceptor.java:374)<br>
        at org.jboss.as.ejb3.tx.<wbr>LifecycleCMTTxInterceptor.<wbr>processInvocation(<wbr>LifecycleCMTTxInterceptor.<wbr>java:68)<br>
        at org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340) [jboss-invocation-1.4.1.Final.<wbr>jar:1.4.1.Final]<br>
        at org.jboss.as.weld.injection.<wbr>WeldInjectionContextIntercepto<wbr>r.processInvocation(<wbr>WeldInjectionContextIntercepto<wbr>r.java:43)<br>
        at org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340) [jboss-invocation-1.4.1.Final.<wbr>jar:1.4.1.Final]<br>
        at org.jboss.as.ejb3.component.<wbr>interceptors.<wbr>CurrentInvocationContextInterc<wbr>eptor.processInvocation(<wbr>CurrentInvocationContextInterc<wbr>eptor.java:41)<br>
        at org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340) [jboss-invocation-1.4.1.Final.<wbr>jar:1.4.1.Final]<br>
        at org.jboss.as.ee.concurrent.<wbr>ConcurrentContextInterceptor.<wbr>processInvocation(<wbr>ConcurrentContextInterceptor.<wbr>java:45) [wildfly-ee-10.0.0.Final.jar:<wbr>10.0.0.Final]<br>
        at org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340) [jboss-invocation-1.4.1.Final.<wbr>jar:1.4.1.Final]<br>
        at org.jboss.invocation.<wbr>ContextClassLoaderInterceptor.<wbr>processInvocation(<wbr>ContextClassLoaderInterceptor.<wbr>java:64) [jboss-invocation-1.4.1.Final.<wbr>jar:1.4.1.Final]<br>
        at org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340) [jboss-invocation-1.4.1.Final.<wbr>jar:1.4.1.Final]<br>
        at org.jboss.invocation.<wbr>InterceptorContext.run(<wbr>InterceptorContext.java:356) [jboss-invocation-1.4.1.Final.<wbr>jar:1.4.1.Final]<br>
        at org.jboss.invocation.<wbr>PrivilegedWithCombinerIntercep<wbr>tor.processInvocation(<wbr>PrivilegedWithCombinerIntercep<wbr>tor.java:80) [jboss-invocation-1.4.1.Final.<wbr>jar:1.4.1.Final]<br>
        at org.jboss.invocation.<wbr>InterceptorContext.proceed(<wbr>InterceptorContext.java:340) [jboss-invocation-1.4.1.Final.<wbr>jar:1.4.1.Final]<br>
        at org.jboss.invocation.<wbr>ChainedInterceptor.<wbr>processInvocation(<wbr>ChainedInterceptor.java:61) [jboss-invocation-1.4.1.Final.<wbr>jar:1.4.1.Final]<br>
        at org.jboss.as.ee.component.<wbr>BasicComponent.<wbr>constructComponentInstance(<wbr>BasicComponent.java:161) [wildfly-ee-10.0.0.Final.jar:<wbr>10.0.0.Final]<br>
        ... 11 more<br>
Caused by: org.jboss.weld.exceptions.<wbr>WeldException: WELD-000049: Unable to invoke private void org.ovirt.engine.core.<wbr>vdsbroker.ResourceManager.<wbr>init() on org.ovirt.engine.core.<wbr>vdsbroker.ResourceManager@<wbr>28b87a8e<br>
...<br>
2016-08-03 12:04:40,311 ERROR [org.jboss.as.controller.<wbr>management-operation] (Controller Boot Thread) WFLYCTL0013: Operation (&quot;deploy&quot;) failed - address: ([(&quot;deployment&quot; =&gt; &quot;engine.ear&quot;)]) - failure description: {&quot;WFLYCTL0080: Failed services&quot; =&gt; {&quot;jboss.deployment.subunit.\&quot;<wbr>engine.ear\&quot;.\&quot;bll.jar\&quot;.<wbr>component.Backend.START&quot; =&gt; &quot;org.jboss.msc.service.<wbr>StartException in service jboss.deployment.subunit.\&quot;<wbr>engine.ear\&quot;.\&quot;bll.jar\&quot;.<wbr>component.Backend.START: java.lang.<wbr>IllegalStateException: WFLYEE0042: Failed to construct component instance<br>
    Caused by: java.lang.<wbr>IllegalStateException: WFLYEE0042: Failed to construct component instance<br>
    Caused by: javax.ejb.EJBException: org.jboss.weld.exceptions.<wbr>WeldException: WELD-000049: Unable to invoke private void org.ovirt.engine.core.<wbr>vdsbroker.ResourceManager.<wbr>init() on org.ovirt.engine.core.<wbr>vdsbroker.ResourceManager@<wbr>28b87a8e<br>
    Caused by: org.jboss.weld.exceptions.<wbr>WeldException: WELD-000049: Unable to invoke private void org.ovirt.engine.core.<wbr>vdsbroker.ResourceManager.<wbr>init() on org.ovirt.engine.core.<wbr>vdsbroker.ResourceManager@<wbr>28b87a8e<br>
    Caused by: java.lang.reflect.<wbr>InvocationTargetException<br>
    Caused by: java.lang.<wbr>NullPointerException&quot;}}<br>
...<br>
2016-08-03 12:04:40,916 ERROR [<a href="http://org.jboss.as" rel="noreferrer" target="_blank">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>
2016-08-03 12:04:41,011 INFO  [org.wildfly.extension.<wbr>undertow] (ServerService Thread Pool -- 14) WFLYUT0022: Unregistered web context: /ovirt-engine/services<br>
2016-08-03 12:04:41,012 INFO  [org.wildfly.extension.<wbr>undertow] (ServerService Thread Pool -- 15) WFLYUT0022: Unregistered web context: /ovirt-engine/webadmin<br>
2016-08-03 12:04:41,015 INFO  [org.wildfly.extension.<wbr>undertow] (ServerService Thread Pool -- 4) WFLYUT0022: Unregistered web context: /ovirt-engine/api<br>
2016-08-03 12:04:41,022 INFO  [org.wildfly.extension.<wbr>undertow] (ServerService Thread Pool -- 13) WFLYUT0022: Unregistered web context: /ovirt-engine/docs<br>
2016-08-03 12:04:41,022 INFO  [org.wildfly.extension.<wbr>undertow] (ServerService Thread Pool -- 11) WFLYUT0022: Unregistered web context: /ovirt-engine/sso<br>
2016-08-03 12:04:41,022 INFO  [org.wildfly.extension.<wbr>undertow] (ServerService Thread Pool -- 18) WFLYUT0022: Unregistered web context: /ovirt-engine/userportal<br>
2016-08-03 12:04:41,019 INFO  [org.wildfly.extension.<wbr>undertow] (ServerService Thread Pool -- 20) WFLYUT0022: Unregistered web context: /ovirt-engine<br>
2016-08-03 12:04:41,013 INFO  [org.wildfly.extension.<wbr>undertow] (ServerService Thread Pool -- 7) WFLYUT0022: Unregistered web context: /<br>
<br>
I see no other error message. Any hint about that ?<br>
<br>
<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Sandro Bonazzola<br>Better technology. Faster innovation. Powered by community collaboration.<br>See how it works at <a href="http://redhat.com" target="_blank">redhat.com</a><br></div></div></div></div>
</div></div>