--Apple-Mail=_E4818888-5CA6-4B60-AEFA-60953C8EC384
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8
Le 8 ao=C3=BBt 2016 =C3=A0 08:34, Sandro Bonazzola =
<sbonazzo(a)redhat.com> a =C3=A9crit :
=20
=20
=20
On Wed, Aug 3, 2016 at 12:19 PM, Fabrice Bacchella =
<fabrice.bacchella(a)orange.fr <mailto:fabrice.bacchella@orange.fr>> =
wrote:
I'm running on Centos 7, just upgraded to ovirt 4.01 using the =
procedure given in the release notes.
=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 =
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.invokeMe=
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 =
org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:7=
42) [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(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)
=20
=20
Can you please check the version of postgresql-jdbc you're using? =
Looks like
an issue while talking with the driver.
Yes, Martin Perina told me about that and it solve my problem. I was =
using a postgresql-jdbc 9.4, only 9.2 is allowed.
--Apple-Mail=_E4818888-5CA6-4B60-AEFA-60953C8EC384
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""><br class=3D""><div><blockquote
type=3D"cite" class=3D""><div =
class=3D"">Le 8 ao=C3=BBt 2016 =C3=A0 08:34, Sandro Bonazzola <<a
=
href=3D"mailto:sbonazzo@redhat.com"
class=3D"">sbonazzo(a)redhat.com</a>&gt;=
a =C3=A9crit :</div><br class=3D"Apple-interchange-newline"><div
=
class=3D""><div dir=3D"ltr" class=3D""><br
class=3D""><div =
class=3D"gmail_extra"><br class=3D""><div
class=3D"gmail_quote">On Wed, =
Aug 3, 2016 at 12:19 PM, Fabrice Bacchella <span dir=3D"ltr" =
class=3D""><<a
href=3D"mailto:fabrice.bacchella@orange.fr" =
target=3D"_blank"
class=3D"">fabrice.bacchella(a)orange.fr</a>&gt;</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.<wbr =
class=3D"">log:<br class=3D"">
<br class=3D"">
2016-08-03 12:04:39,751 ERROR [org.ovirt.engine.core.bll.<wbr =
class=3D"">Backend] (ServerService Thread Pool -- 54) [] Error during =
initialization: org.jboss.weld.exceptions.<wbr class=3D"">WeldException:
=
WELD-000049: Unable to invoke private void org.ovirt.engine.core.vds<br =
class=3D"">
broker.ResourceManager.init() on org.ovirt.engine.core.<wbr =
class=3D"">vdsbroker.ResourceManager@<wbr
class=3D"">28b87a8e<br =
class=3D"">
at org.jboss.weld.injection.<wbr =
class=3D"">producer.<wbr
class=3D"">DefaultLifecycleCallbackInvoke<wbr =
class=3D"">r.invokeMethods(<wbr =
class=3D"">DefaultLifecycleCallbackInvoke<wbr
class=3D"">r.java:100) =
[weld-core-impl-2.3.2.Final.<wbr class=3D"">jar:2.3.2.Final]<br =
class=3D"">
at org.jboss.weld.injection.<wbr =
class=3D"">producer.<wbr
class=3D"">DefaultLifecycleCallbackInvoke<wbr =
class=3D"">r.postConstruct(<wbr =
class=3D"">DefaultLifecycleCallbackInvoke<wbr
class=3D"">r.java:81) =
[weld-core-impl-2.3.2.Final.<wbr class=3D"">jar:2.3.2.Final]<br =
class=3D"">
at org.jboss.weld.injection.<wbr =
class=3D"">producer.BasicInjectionTarget.<wbr =
class=3D"">postConstruct(<wbr
class=3D"">BasicInjectionTarget.java:126) =
[weld-core-impl-2.3.2.Final.<wbr class=3D"">jar:2.3.2.Final]<br =
class=3D"">
at org.jboss.weld.bean.<wbr =
class=3D"">ManagedBean.create(<wbr
class=3D"">ManagedBean.java:162) =
[weld-core-impl-2.3.2.Final.<wbr class=3D"">jar:2.3.2.Final]<br =
class=3D"">
at org.jboss.weld.context.<wbr =
class=3D"">AbstractContext.get(<wbr
class=3D"">AbstractContext.java:96) =
[weld-core-impl-2.3.2.Final.<wbr class=3D"">jar:2.3.2.Final]<br =
class=3D"">
at org.jboss.weld.bean.<wbr =
class=3D"">ContextualInstanceStrategy$<wbr =
class=3D"">DefaultContextualInstanceStrat<wbr
class=3D"">egy.get(<wbr =
class=3D"">ContextualInstanceStrategy.<wbr
class=3D"">java:101) =
[weld-core-impl-2.3.2.Final.<wbr class=3D"">jar:2.3.2.Final]<br =
class=3D"">
at org.jboss.weld.bean.<wbr =
class=3D"">ContextualInstanceStrategy$<wbr =
class=3D"">ApplicationScopedContextualIns<wbr =
class=3D"">tanceStrategy.get(<wbr =
class=3D"">ContextualInstanceStrategy.<wbr
class=3D"">java:141) =
[weld-core-impl-2.3.2.Final.<wbr class=3D"">jar:2.3.2.Final]<br =
class=3D"">
at org.jboss.weld.bean.<wbr =
class=3D"">ContextualInstance.get(<wbr =
class=3D"">ContextualInstance.java:50) [weld-core-impl-2.3.2.Final.<wbr =
class=3D"">jar:2.3.2.Final]<br class=3D"">
at org.jboss.weld.manager.<wbr =
class=3D"">BeanManagerImpl.getReference(<wbr =
class=3D"">BeanManagerImpl.java:742) [weld-core-impl-2.3.2.Final.<wbr =
class=3D"">jar:2.3.2.Final]<br class=3D"">
...<br class=3D"">
Caused by: java.lang.reflect.<wbr
class=3D"">InvocationTargetException<br =
class=3D"">
at sun.reflect.<wbr =
class=3D"">NativeMethodAccessorImpl.<wbr
class=3D"">invoke0(Native =
Method) [rt.jar:1.8.0_92]<br class=3D"">
at sun.reflect.<wbr =
class=3D"">NativeMethodAccessorImpl.<wbr
class=3D"">invoke(<wbr =
class=3D"">NativeMethodAccessorImpl.java:<wbr class=3D"">62)
=
[rt.jar:1.8.0_92]<br class=3D"">
at sun.reflect.<wbr =
class=3D"">DelegatingMethodAccessorImpl.<wbr
class=3D"">invoke(<wbr =
class=3D"">DelegatingMethodAccessorImpl.<wbr
class=3D"">java:43) =
[rt.jar:1.8.0_92]<br class=3D"">
at java.lang.reflect.Method.<wbr =
class=3D"">invoke(Method.java:498) [rt.jar:1.8.0_92]<br
class=3D"">
at org.jboss.weld.injection.<wbr =
class=3D"">producer.<wbr
class=3D"">DefaultLifecycleCallbackInvoke<wbr =
class=3D"">r.invokeMethods(<wbr =
class=3D"">DefaultLifecycleCallbackInvoke<wbr
class=3D"">r.java:98) =
[weld-core-impl-2.3.2.Final.<wbr class=3D"">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.<wbr =
class=3D"">TypeInfoCache.getSQLType(<wbr =
class=3D"">TypeInfoCache.java:182)<br
class=3D""></blockquote><div =
class=3D""><br class=3D""></div><div
class=3D""><br class=3D""></div><div =
class=3D"">Can you please check the version of postgresql-jdbc you're =
using? Looks like an issue while talking with the =
driver.</div></div></div></div></div></blockquote><div><br
=
class=3D""></div><div><br
class=3D""></div>Yes, Martin Perina told me =
about that and it solve my problem. I was using a postgresql-jdbc 9.4, =
only 9.2 is allowed.</div><div><br
class=3D""></div><div class=3D""><br =
class=3D""></div><br
class=3D""></body></html>=
--Apple-Mail=_E4818888-5CA6-4B60-AEFA-60953C8EC384--