[ovirt-devel] error starting engine on wildfly 8.2 fedora 22
Juan Hernández
jhernand at redhat.com
Wed Jun 24 17:45:28 UTC 2015
On 06/24/2015 07:40 PM, Greg Sheremeta wrote:
> Hey,
>
> Can't seem to get engine started. Any ideas? Did I miss a step?
>
> I'm on latest master (4dd3093d42fd2c5826c941b7e19176a0e657a43f). Fresh engine directory,
> fresh database. Fedora 22.
>
You need to make sure that the "ovirt-engine-wildfly-overly" contents
are put on the front of the module path of the application server. There
is a detailed explanation here:
http://lists.ovirt.org/pipermail/devel/2015-June/010832.html
>
> greg at dauntless:~/projects/ovirt-engine(master2|✔) % ovirt_run
> OpenJDK 64-Bit Server VM warning: ignoring option PermSize=256m; support was removed in 8.0
> OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
> Listening for transport dt_socket at address: 8787
>
>
> ....
>
>
>
> 2015-06-24 13:31:01,719 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC000001: Failed to start service jboss.deploym
> ent.unit."engine.ear".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."engine.ear".WeldStart
> Service: Failed to start service
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904) [jboss-msc-1.2.2.Final.jar:1.2
> .2.Final]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_45]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_45]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_45]
> Caused by: org.jboss.weld.exceptions.DefinitionException: 0
> at org.jboss.weld.bootstrap.events.ContainerLifecycleEvents.fireProcessAnnotatedType(ContainerLifecycleEvents.java:182)
> at org.jboss.weld.bootstrap.events.ContainerLifecycleEvents.fireProcessAnnotatedType(ContainerLifecycleEvents.java:166)
> at org.jboss.weld.bootstrap.BeanDeployer.processAnnotatedTypes(BeanDeployer.java:158)
> at org.jboss.weld.bootstrap.BeanDeployment.createTypes(BeanDeployment.java:230)
> at org.jboss.weld.bootstrap.WeldStartup.startInitialization(WeldStartup.java:373)
> at org.jboss.weld.bootstrap.WeldBootstrap.startInitialization(WeldBootstrap.java:76)
> at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:91)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
> ... 3 more
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
> at org.hibernate.validator.internal.util.ExecutableHelper.instanceMethodParametersResolveToSameTypes(ExecutableHelper.java:141)
> at org.hibernate.validator.internal.util.ExecutableHelper.overrides(ExecutableHelper.java:101)
> at org.hibernate.validator.internal.cdi.ValidationExtension.replaceWithOverriddenOrInterfaceMethod(ValidationExtension.java:425)
> at org.hibernate.validator.internal.cdi.ValidationExtension.determineConstrainedMethod(ValidationExtension.java:275)
> at org.hibernate.validator.internal.cdi.ValidationExtension.determineConstrainedCallables(ValidationExtension.java:262)
> at org.hibernate.validator.internal.cdi.ValidationExtension.processAnnotatedType(ValidationExtension.java:242)
> at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source) [:1.8.0_45]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_45]
> at java.lang.reflect.Method.invoke(Method.java:497) [rt.jar:1.8.0_45]
> at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:90)
> at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:271)
> at org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:121)
> at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:258)
> at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:237)
> at org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:174)
> at org.jboss.weld.event.ObserverNotifier.notifyObservers(ObserverNotifier.java:133)
> at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:112)
> at org.jboss.weld.bootstrap.events.ContainerLifecycleEvents.fireProcessAnnotatedType(ContainerLifecycleEvents.java:180)
> ... 11 more
>
> 2015-06-24 13:31:01,729 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "engine.ear")]) - failure description: {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"engine.ear\".WeldStartService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"engine.ear\".WeldStartService: Failed to start service
> Caused by: org.jboss.weld.exceptions.DefinitionException: 0
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 0"}}
>
> 2015-06-24 13:31:01,764 INFO [org.jboss.as.server] (ServerService Thread Pool -- 20) JBAS018559: Deployed "engine.ear" (runtime-name : "engine.ear")
> 2015-06-24 13:31:01,764 INFO [org.jboss.as.server] (ServerService Thread Pool -- 20) JBAS018559: Deployed "legacy_restapi.war" (runtime-name : "legacy_restapi.war")
> 2015-06-24 13:31:01,764 INFO [org.jboss.as.server] (ServerService Thread Pool -- 20) JBAS018559: Deployed "restapi.war" (runtime-name : "restapi.war")
> 2015-06-24 13:31:01,765 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
> JBAS014777: Services which failed to start: service jboss.deployment.unit."engine.ear".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."engine.ear".WeldStartService: Failed to start service
>
> 2015-06-24 13:31:01,804 INFO [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:8706/management
> 2015-06-24 13:31:01,804 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:8706
> 2015-06-24 13:31:01,804 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: WildFly 8.2.0.Final "Tweek" started (with errors) in 8766ms - Started 1046 of 1201 services (52 services failed or missing dependencies, 177 services are lazy, passive or on-demand)
> 2015-06-24 13:31:02,016 INFO [org.wildfly.extension.undertow] (MSC service thread 1-5) JBAS017535: Unregistered web context: /api
> 2015-06-24 13:31:02,016 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) JBAS017535: Unregistered web context: /ovirt-engine/api
> 2015-06-24 13:31:02,017 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) JBAS017535: Unregistered web context: /ovirt-engine/webadmin
> 2015-06-24 13:31:02,016 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) JBAS017535: Unregistered web context: /
> 2015-06-24 13:31:02,016 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) JBAS017535: Unregistered web context: /ovirt-engine/userportal
> 2015-06-24 13:31:02,019 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) JBAS017535: Unregistered web context: /ovirt-engine/docs
> 2015-06-24 13:31:02,020 INFO [org.wildfly.extension.undertow] (MSC service thread 1-8) JBAS017535: Unregistered web context: /ovirt-engine
>
>
> ...
>
>
> greg at dauntless:~/ovirt-engine/var/log/ovirt-engine % dnf list installed |grep -i weld
> Repository patternfly-patternfly-test is listed more than once in the configuration
> weld-api.noarch 2.1-3.fc21 @System
> weld-core.noarch 2.1.2-4.fc22 @System
> weld-parent.noarch 26-3.fc21 @System
>
> greg at dauntless:~/ovirt-engine/var/log/ovirt-engine % dnf list installed |grep -i wildfly
> Repository patternfly-patternfly-test is listed more than once in the configuration
> ovirt-engine-wildfly.x86_64 8.2.0-1.fc22 @System
> ovirt-engine-wildfly-overlay.noarch 001-2.fc22 @System
> wildfly.noarch 8.1.0-3.fc22 @System
> wildfly-security-manager.noarch 1.0.0-2.fc21 @System
>
>
>
>
> Greg Sheremeta
> Red Hat, Inc.
> Sr. Software Engineer, RHEV
> Cell: 919-807-1086
> gshereme at redhat.com
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
>
--
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
More information about the Devel
mailing list