On 07/20/2014 02:17 PM, Eli Mesika wrote:
----- Original Message -----
> From: "Yair Zaslavsky" <yzaslavs(a)redhat.com>
> To: "Eli Mesika" <emesika(a)redhat.com>
> Cc: devel(a)ovirt.org
> Sent: Sunday, July 20, 2014 2:47:08 PM
> Subject: Re: [ovirt-devel] Can not run oVirt on last master
>
> Can you please pastebin your entire server.log?
http://pastebin.test.redhat.com/222757
This may be related to duplicated classes in the deployments of the
RESTAPI. A recent change to fight these duplication was recently merged,
and as a result there should be no .jar files inside the restapi.war and
legacy_restapi.war directories, they have been replaced by references to
modules. But the old .jar files may be there from old builds. Make sure
that you remove all the old .jar files inside those directories.
>
>
> ----- Original Message -----
>> From: "Eli Mesika" <emesika(a)redhat.com>
>> To: devel(a)ovirt.org
>> Sent: Sunday, July 20, 2014 2:13:29 PM
>> Subject: [ovirt-devel] Can not run oVirt on last master
>>
>>
>> Hi Guys
>>
>> I am getting that on server.log
>>
>> 2014-07-20 13:02:25,453 ERROR [org.jboss.msc.service.fail] (MSC service
>> thread 1-1) MSC000001: Failed to start service
>> jboss.deployment.unit."legacy_restapi.war".POST_MODULE:
>> org.jboss.msc.service.StartException in service
>> jboss.deployment.unit."legacy_restapi.war".POST_MODULE: Failed to
process
>> phase POST_MODULE of deployment "legacy_restapi.war"
>> at
>>
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119)
>> [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
>> at
>>
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
>> [jboss-msc.jar:1.0.2.GA]
>> at
>>
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
>> [jboss-msc.jar:1.0.2.GA]
>> at
>>
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>> [rt.jar:1.7.0_60]
>> at
>>
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>> [rt.jar:1.7.0_60]
>> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_60]
>> Caused by:
>> org.jboss.as.server.deployment.DeploymentUnitProcessingException:
>> JBAS011232: Only one JAX-RS Application Class allowed.
>> org.ovirt.engine.api.restapi.BackendApplication
>> org.ovirt.engine.api.restapi.BackendApplication
>> at
>>
org.jboss.as.jaxrs.deployment.JaxrsScanningProcessor.scan(JaxrsScanningProcessor.java:209)
>> at
>>
org.jboss.as.jaxrs.deployment.JaxrsScanningProcessor.deploy(JaxrsScanningProcessor.java:105)
>> at
>>
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113)
>> [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
>> ... 5 more
>>
>>
>> I saw that Juan H did some changes last THU
>> (
http://gerrit.ovirt.org/#/c/30222) but even when I had re-based on a
>> commit
>> before this patch merge, I got the same error.
>>
>> Any ideas ?
>>
>> Thanks
>> Eli Mesika
>>
--
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.