
=0A>=0A>----- Original Message -----=0A>> From: "Stephen Liu" <satimis@yah= oo.com>=0A>> To: engine-devel@ovirt.org=0A>> Sent: Tuesday, November 13, 20= 12 5:20:46 PM=0A>> Subject: [Engine-devel] Building oVirt from source=0A>> = =0A>> =0A>> =0A>> =0A>> Hi all,=0A>> =0A>> Have another round to build oVir= t from source following;=0A>> =0A>> Building Engine Draft=0A>> http://wiki.= ovirt.org/wiki/Building_Engine_Draft=0A>> =0A>> OS - Fedora 17 desktop 64bi= t, fresh and clean installed.=0A>> =0A>> Not much problem encountered up to= "Installing JBoss AS" except=0A>> follows:=0A>> =0A>> 1)=0A>> Maven person= al settings=0A>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A>= =0A>> $ mkdir $HOME/.m2=0A>> $ wget -O $HOME/.m2/settings.xml=0A>> http:/= /wiki.ovirt.org/w/images/1/18/Settings.xml.png=0A>> =0A>> (it should read= =0A>> "http://wiki.ovirt.org/w/images/1/18/Settings.xml.png")=0A>> ^^^^ (no= t www)=0A>> =0A>> 2)=0A>> Check that the application server starts correctl= y:=0A>> =0A>> $ cd $JBOSS_HOME/bin=0A>> $ ./standalone.sh -b 0.0.0.0=0A>> = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=0A>> =0A>> JBoss Bootstrap Environment=0A>> =0A>> JBOSS_HOME: /home/sat= imis/jboss-as=0A>> =0A>> JAVA: java=0A>> =0A>> JAVA_OPTS: -server -XX:+UseC= ompressedOops -XX:+TieredCompilation=0A>> -Xms64m -Xmx512m -XX:MaxPermSize= =3D256m=0A>> -Djava.net.preferIPv4Stack=3Dtrue -Dorg.jboss.resolver.warning= =3Dtrue=0A>> -Dsun.rmi.dgc.client.gcInterval=3D3600000=0A>> -Dsun.rmi.dgc.s= erver.gcInterval=3D3600000=0A>> -Djboss.modules.system.pkgs=3Dorg.jboss.byt= eman -Djava.awt.headless=3Dtr=0A>> ....=0A>> .....=0A>> =0A>> 22:14:38,217 = INFO [org.jboss.as] (Controller Boot Thread) JBAS015874:=0A>> JBoss AS 7.1.= 1.Final "Brontes" started in 6662ms - Started 133 of=0A>> 208 services (74 = services are passive or on-demand)=0A>=0A>So your jboss is started at this =
bootstrap log handlers=0A>> 22:19:49,726 INFO [org.apache.coyote.http11.= Http11Protocol] Pausing=0A>> Coyote HTTP/1.1 on http--0.0.0.0-8080=0A>> 22:= 19:49,727 INFO [org.apache.coyote.http11.Http11Protocol] Stopping=0A>> Coyo= te HTTP/1.1 on http--0.0.0.0-8080=0A>> 22:19:49,729 INFO [com.arjuna.ats.jb= ossatx] ARJUNA032018: Destroying=0A>> TransactionManagerService=0A>> 22:19:= 49,730 INFO [com.arjuna.ats.jbossatx] ARJUNA032014: Stopping=0A>> transacti= on recovery manager=0A>> 22:19:49,753 INFO [org.jboss.as] JBAS015950: JBoss= AS 7.1.1.Final=0A>> "Brontes" stopped in 111ms=0A>> =0A>> Is it normal? Wi=
--1268171098-1952253124-1352881556=:51991 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi,=0A=0AI have sent another email to the list under the subject: "Deploy e= rror again".=A0 But it never came to the list:=0A=0ASubject : Deploy error = again=0A=0AFailure:-=0A=0A$ mvn clean install -Pdep,setup=0A/usr/lib/jvm/ja= va=0A[INFO] Scanning for projects...=0A[WARNING]=0A[WARNING] Some problems = were encountered while building the effective model for org.ovirt.engine:en= gine-server-ear:ear:3.1.0=0A[WARNING] 'build.plugins.plugin.version' for or= g.apache.maven.plugins:maven-ear-plugin is missing. @ line 154, column 15= =0A[WARNING] 'distributionManagement.repository.id' must not be 'local', th= is identifier is reserved for the local repository, using it for other repo= sitories will corrupt your repository metadata. @ line 18, column 11=0A[WAR= NING]=0A[WARNING] It is highly recommended to fix these problems because th= ey threaten the stability of your build.=0A[WARNING]=0A[WARNING] For this r= eason, future Maven versions might no longer support building such malforme= d projects.=0A[WARNING]=0A[INFO]=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0 =0A[INFO] -------------------------------------------= -----------------------------=0A[INFO] Building oVirt Server EAR 3.1.0=0A[I= NFO] ----------------------------------------------------------------------= --=0ADownloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/ma= ven-antrun-plugin/1.3/maven-antrun-plugin-1.3.pom=0ADownloaded: http://repo= 1.maven.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-a= ntrun-plugin-1.3.pom (5 KB at 46.7 KB/sec)=0ADownloading: http://repo1.mave= n.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-antrun-= plugin-1.3.jar=0ADownloaded: http://repo1.maven.org/maven2/org/apache/maven= /plugins/maven-antrun-plugin/1.3/maven-antrun-plugin-1.3.jar (24 KB at 255.= 8 KB/sec)=0A[INFO]=0A[INFO] --- maven-clean-plugin:2.4.1:clean (default-cle= an) @ engine-server-ear ---=0A[INFO] Deleting /home/satimis/ovirt-engine/ea= r/target=0A[INFO]=0A[INFO] --- maven-antrun-plugin:1.3:run (undeploy) @ eng= ine-server-ear ---=0ADownloading: http://repo1.maven.org/maven2/org/apache/= ant/ant-launcher/1.7.1/ant-launcher-1.7.1.pom=0ADownloaded: http://repo1.ma= ven.org/maven2/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1.7.1.pom (3 = KB at 77.6 KB/sec)=0ADownloading: http://repo1.maven.org/maven2/org/apache/= ant/ant-parent/1.7.1/ant-parent-1.7.1.pom=0ADownloaded: http://repo1.maven.= org/maven2/org/apache/ant/ant-parent/1.7.1/ant-parent-1.7.1.pom (5 KB at 13= 7.9 KB/sec)=0ADownloading: http://repo1.maven.org/maven2/org/apache/ant/ant= /1.7.1/ant-1.7.1.pom=0ADownloaded: http://repo1.maven.org/maven2/org/apache= /ant/ant/1.7.1/ant-1.7.1.pom (10 KB at 232.4 KB/sec)=0ADownloading: http://= repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.5.6/plexus-utils-= 1.5.6.jar=0ADownloading: http://repo1.maven.org/maven2/org/apache/ant/ant-l= auncher/1.7.1/ant-launcher-1.7.1.jar=0ADownloading: http://repo1.maven.org/= maven2/org/apache/ant/ant/1.7.1/ant-1.7.1.jar=0ADownloaded: http://repo1.ma= ven.org/maven2/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1.7.1.jar (12= KB at 79.1 KB/sec)=0ADownloaded: http://repo1.maven.org/maven2/org/codehau= s/plexus/plexus-utils/1.5.6/plexus-utils-1.5.6.jar (245 KB at 226.5 KB/sec)= =0ADownloaded: http://repo1.maven.org/maven2/org/apache/ant/ant/1.7.1/ant-1= .7.1.jar (1292 KB at 384.3 KB/sec)=0A[INFO] Executing tasks=0A=A0=A0=A0=A0 = [echo] *** Deleting /usr/share/jboss-as/standalone/deployments/engine.ear/.= ..=0A[INFO] Executed tasks=0A[INFO]=0A[INFO] --- maven-ear-plugin:2.6:gener= ate-application-xml (default-generate-application-xml) @ engine-server-ear = ---=0A[INFO] Generating application.xml=0A[INFO]=0A[INFO] --- maven-resourc= es-plugin:2.4.3:resources (default-resources) @ engine-server-ear ---=0A[IN= FO] Using 'UTF-8' encoding to copy filtered resources.=0A[INFO] skip non ex= isting resourceDirectory /home/satimis/ovirt-engine/ear/src/main/java=0A[IN= FO] Copying 1 resource=0A[INFO]=0A[INFO] --- maven-ear-plugin:2.6:ear (defa= ult-ear) @ engine-server-ear ---=0A[INFO] Copying artifact[jar:org.ovirt.en= gine.core:common:3.1.0] to[lib/engine-common.jar]=0A[INFO] Copying artifact= [jar:org.ovirt.engine.core:compat:3.1.0] to[lib/engine-compat.jar]=0A[INFO]= Copying artifact[jar:org.ovirt.engine.core:dal:3.1.0] to[lib/engine-dal.ja= r]=0A[INFO] Copying artifact[jar:org.ovirt.engine.core:utils:3.1.0] to[lib/= engine-utils.jar]=0A[INFO] Copying artifact[jar:org.ovirt.engine.core:engin= eencryptutils:3.1.0] to[lib/engine-encryptutils.jar]=0A[INFO] Copying artif= act[jar:org.ovirt.engine.core:vdsbroker:3.1.0] to[lib/engine-vdsbroker.jar]= =0A[INFO] Copying artifact[war:org.ovirt.engine.core:root-war:3.1.0] to[roo= t.war] (unpacked)=0A[INFO] Copying artifact[war:org.ovirt.engine.ui:rmw-war= :3.1.0] to[ovirtengineweb.war] (unpacked)=0A[INFO] Copying artifact[war:org= .ovirt.engine.api:restapi-webapp:3.1.0] to[restapi.war] (unpacked)=0A[INFO]= Copying artifact[war:org.ovirt.engine.ui:userportal:3.1.0] to[userportal.w= ar] (unpacked)=0A[INFO] Copying artifact[war:org.ovirt.engine.ui:webadmin:3= .1.0] to[webadmin.war] (unpacked)=0A[INFO] Copying artifact[ejb:org.ovirt.e= ngine.ui:genericapi:3.1.0] to[engine-genericapi.jar] (unpacked)=0A[INFO] Co= pying artifact[ejb:org.ovirt.engine.core:scheduler:3.1.0] to[engine-schedul= er.jar] (unpacked)=0A[INFO] Copying artifact[ejb:org.ovirt.engine.core:bll:= 3.1.0] to[engine-bll.jar] (unpacked)=0A[INFO] Copying artifact[jar:commons-= codec:commons-codec:1.4] to[lib/commons-codec-1.4.jar]=0A[INFO] Copying art= ifact[jar:org.hibernate:hibernate-validator:4.0.2.GA] to[lib/hibernate-vali= dator-4.0.2.GA.jar]=0A[INFO] Copying artifact[jar:javax.validation:validati= on-api:1.0.0.GA] to[lib/validation-api-1.0.0.GA.jar]=0A[INFO] Copying artif= act[jar:org.slf4j:slf4j-api:1.5.6] to[lib/slf4j-api-1.5.6.jar]=0A[INFO] Cop= ying artifact[jar:javax.xml.bind:jaxb-api:2.1] to[lib/jaxb-api-2.1.jar]=0A[= INFO] Copying artifact[jar:javax.xml.stream:stax-api:1.0-2] to[lib/stax-api= -1.0-2.jar]=0A[INFO] Copying artifact[jar:javax.activation:activation:1.1] = to[lib/activation-1.1.jar]=0A[INFO] Copying artifact[jar:com.sun.xml.bind:j= axb-impl:2.1.3] to[lib/jaxb-impl-2.1.3.jar]=0A[INFO] Copying artifact[jar:o= rg.hibernate:hibernate-annotations:3.4.0.GA] to[lib/hibernate-annotations-3= .4.0.GA.jar]=0A[INFO] Copying artifact[jar:org.hibernate:ejb3-persistence:1= .0.2.GA] to[lib/ejb3-persistence-1.0.2.GA.jar]=0A[INFO] Copying artifact[ja= r:org.hibernate:hibernate-commons-annotations:3.1.0.GA] to[lib/hibernate-co= mmons-annotations-3.1.0.GA.jar]=0A[INFO] Copying artifact[jar:org.hibernate= :hibernate-core:3.3.0.SP1] to[lib/hibernate-core-3.3.0.SP1.jar]=0A[INFO] Co= pying artifact[jar:antlr:antlr:2.7.6] to[lib/antlr-2.7.6.jar]=0A[INFO] Copy= ing artifact[jar:dom4j:dom4j:1.6.1] to[lib/dom4j-1.6.1.jar]=0A[INFO] Copyin= g artifact[jar:xml-apis:xml-apis:1.0.b2] to[lib/xml-apis-1.0.b2.jar]=0A[INF= O] Copying artifact[jar:org.jboss.spec.javax.interceptor:jboss-interceptors= -api_1.1_spec:1.0.0.Final] to[lib/jboss-interceptors-api_1.1_spec-1.0.0.Fin= al.jar]=0A[INFO] Copying artifact[jar:org.ovirt.engine.core:engine-tools-co= mmon:3.1.0] to[lib/engine-tools-common-3.1.0.jar]=0A[INFO] Copying artifact= [jar:commons-beanutils:commons-beanutils:1.8.2] to[lib/commons-beanutils-1.= 8.2.jar]=0A[INFO] Copying artifact[jar:org.apache.mina:mina-core:2.0.1] to[= lib/mina-core-2.0.1.jar]=0A[INFO] Copying artifact[jar:org.apache.sshd:sshd= -core:0.7.0] to[lib/sshd-core-0.7.0.jar]=0A[INFO] Copying artifact[jar:org.= apache.commons:commons-compress:1.3] to[lib/commons-compress-1.3.jar]=0A[IN= FO] Copying artifact[jar:commons-lang:commons-lang:2.4] to[lib/commons-lang= -2.4.jar]=0A[INFO] Copying artifact[jar:org.apache.xmlrpc:xmlrpc-client:3.1= .3] to[lib/xmlrpc-client-3.1.3.jar]=0A[INFO] Copying artifact[jar:org.apach= e.xmlrpc:xmlrpc-common:3.1.3] to[lib/xmlrpc-common-3.1.3.jar]=0A[INFO] Copy= ing artifact[jar:org.apache.ws.commons.util:ws-commons-util:1.0.2] to[lib/w= s-commons-util-1.0.2.jar]=0A[INFO] Copying artifact[jar:org.springframework= :spring-jdbc:3.1.1.RELEASE] to[lib/spring-jdbc-3.1.1.RELEASE.jar]=0A[INFO] = Copying artifact[jar:org.springframework:spring-tx:3.1.1.RELEASE] to[lib/sp= ring-tx-3.1.1.RELEASE.jar]=0A[INFO] Copying artifact[jar:org.springframewor= k.ldap:spring-ldap-core:1.3.1.RELEASE] to[lib/spring-ldap-core-1.3.1.RELEAS= E.jar]=0A[INFO] Copying artifact[jar:commons-httpclient:commons-httpclient:= 3.1] to[lib/commons-httpclient-3.1.jar]=0A[INFO] Copying artifact[jar:commo= ns-collections:commons-collections:3.1] to[lib/commons-collections-3.1.jar]= =0A[INFO] Copying artifact[jar:org.quartz-scheduler:quartz:2.1.2] to[lib/qu= artz-2.1.2.jar]=0A[INFO] Copying artifact[jar:c3p0:c3p0:0.9.1.1] to[lib/c3p= 0-0.9.1.1.jar]=0A[INFO] Copying artifact[jar:org.ovirt.engine.core:searchba= ckend:3.1.0] to[lib/searchbackend-3.1.0.jar]=0A[INFO] Copying artifact[jar:= org.springframework:spring-core:3.1.1.RELEASE] to[lib/spring-core-3.1.1.REL= EASE.jar]=0A[INFO] Copying artifact[jar:org.springframework:spring-asm:3.1.= 1.RELEASE] to[lib/spring-asm-3.1.1.RELEASE.jar]=0A[INFO] Copying artifact[j= ar:org.springframework:spring-beans:3.1.1.RELEASE] to[lib/spring-beans-3.1.= 1.RELEASE.jar]=0A[INFO] Copying artifact[jar:org.springframework:spring-con= text:3.1.1.RELEASE] to[lib/spring-context-3.1.1.RELEASE.jar]=0A[INFO] Copyi= ng artifact[jar:org.springframework:spring-aop:3.1.1.RELEASE] to[lib/spring= -aop-3.1.1.RELEASE.jar]=0A[INFO] Copying artifact[jar:aopalliance:aopallian= ce:1.0] to[lib/aopalliance-1.0.jar]=0A[INFO] Copying artifact[jar:org.sprin= gframework:spring-expression:3.1.1.RELEASE] to[lib/spring-expression-3.1.1.= RELEASE.jar]=0A[INFO] Copy ear sources to /home/satimis/ovirt-engine/ear/ta= rget/engine=0A[WARNING] resourcesDir is deprecated. Please use the earSourc= eDirectory property instead.=0A[INFO] Copy ear resources to /home/satimis/o= virt-engine/ear/target/engine=0A[INFO] Including custom manifest file[/home= /satimis/ovirt-engine/ear/target/engine/META-INF/MANIFEST.MF]=0A[INFO] Buil= ding jar: /home/satimis/ovirt-engine/ear/target/engine.ear=0A[INFO]=0A[INFO= ] --- maven-dependency-plugin:2.1:copy (copy-quartz-jar) @ engine-server-ea= r ---=0A[INFO] Configured Artifact: org.quartz-scheduler:quartz:2.1.2:jar= =0A[INFO] Copying quartz-2.1.2.jar to /home/satimis/ovirt-engine/ear/target= /quartz/quartz-2.1.2.jar=0A[INFO]=0A[INFO] --- maven-antrun-plugin:1.3:run = (deploy) @ engine-server-ear ---=0A[INFO] Executing tasks=0A=A0=A0=A0=A0 [e= cho] *** Copying updated files from target/engine/ to /usr/share/jboss-as/s= tandalone/deployments/engine.ear/...=0A=A0=A0=A0=A0 [copy] Copying 1168 fil= es to /usr/share/jboss-as/standalone/deployments/engine.ear=0A=A0=A0=A0=A0 = [copy] Copying /home/satimis/ovirt-engine/ear/target/engine/engine-bll.jar/= org/ovirt/engine/core/bll/VmCountVdsLoadBalancingAlgorithm$1.class to /usr/= share/jboss-as/standalone/deployments/engine.ear/engine-bll.jar/org/ovirt/e= ngine/core/bll/VmCountVdsLoadBalancingAlgorithm$1.class=0A[INFO] ----------= --------------------------------------------------------------=0A[INFO] BUI= LD FAILURE=0A[INFO] -------------------------------------------------------= -----------------=0A[INFO] Total time: 15.761s=0A[INFO] Finished at: Wed No= v 14 14:34:56 HKT 2012=0A[INFO] Final Memory: 16M/295M=0A[INFO] -----------= -------------------------------------------------------------=0A[ERROR] Fai= led to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.3:run (d= eploy) on project engine-server-ear: An Ant BuildException has occured: Fai= led to copy /home/satimis/ovirt-engine/ear/target/engine/engine-bll.jar/org= /ovirt/engine/core/bll/VmCountVdsLoadBalancingAlgorithm$1.class to /usr/sha= re/jboss-as/standalone/deployments/engine.ear/engine-bll.jar/org/ovirt/engi= ne/core/bll/VmCountVdsLoadBalancingAlgorithm$1.class due to java.io.FileNot= FoundException /usr/share/jboss-as/standalone/deployments/engine.ear/engine= -bll.jar/org/ovirt/engine/core/bll/VmCountVdsLoadBalancingAlgorithm$1.class= (No such file or directory) -> [Help 1]=0A[ERROR]=0A[ERROR] To see the ful= l stack trace of the errors, re-run Maven with the -e switch.=0A[ERROR] Re-= run Maven using the -X switch to enable full debug logging.=0A[ERROR]=0A[ER= ROR] For more information about the errors and possible solutions, please r= ead the following articles:=0A[ERROR] [Help 1] http://cwiki.apache.org/conf= luence/display/MAVEN/MojoExecutionException=0A=0A=0APluginExecutionExceptio= n=0Ahttps://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionExcept= ion=0A.....=0AYou should report this problem to the maintainer of the plugi= n.=0A=0A=0APlease help.=A0 How to fix this problem and continue?=0A=0ATIA= =0A=0AB.R.=0AStephen L=0A=0A=0A=0A=0A>________________________________=0A> = From: Laszlo Hornyak <lhornyak@redhat.com>=0A>To: Stephen Liu <satimis@yaho= o.com> =0A>Cc: engine-devel@ovirt.org =0A>Sent: Wednesday, November 14, 201= 2 3:43 PM=0A>Subject: Re: [Engine-devel] Building oVirt from source=0A> =0A= point and should e listening on 8080 for http connections. Is ovirt running= ?=0A>If not you should check if it is there in standalone/deployments/engin= e.ear=0A>Also, see if engine.ear.deployed exists. touch engine.dodeploy to = kick jboss and deploy it.=0A>=0A>> =0A>> =0A>> It hung here;=0A>> =0A>> Pre= ss [Ctrl] + c=0A>> it continued to display:=0A>> =0A>> 19:49,653 INFO [org.= jboss.as.osgi] (MSC service thread 1-3)=0A>> JBAS011942: Stopping OSGi Fram= ework=0A>> 22:19:49,701 INFO [org.jboss.as.logging] JBAS011503: Restored=0A= thout problem?=0A>> =0A>> Thanks=0A>> =0A>> B.R.=0A>> Stephen L=0A>> ______= _________________________________________=0A>> Engine-devel mailing list=0A=
Engine-devel@ovirt.org=0A>> http://lists.ovirt.org/mailman/listinfo/engi= ne-devel=0A>> =0A>=0A>=0A> --1268171098-1952253124-1352881556=:51991 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
[copy] Copying 1168 files to /usr/share/jboss-as/= standalone/deployments/engine.ear<br> [copy] Copyin= g /home/satimis/ovirt-engine/ear/target/engine/engine-bll.jar/org/ovirt/engi= ne/core/bll/VmCountVdsLoadBalancingAlgorithm$1.class to /usr/share/jboss-as= /standalone/deployments/engine.ear/engine-bll.jar/org/ovirt/engine/core/bll= /VmCountVdsLoadBalancingAlgorithm$1.class<br>[INFO] -----------------------= -------------------------------------------------<br>[INFO] BUILD FAILURE<b= r>[INFO] ------------------------------------------------------------------= ------<br>[INFO] Total time: 15.761s<br>[INFO] Finished at: Wed Nov 14 14:3= 4:56 HKT 2012<br>[INFO] Final Memory: 16M/295M<br>[INFO] ------------------= ------------------------------------------------------<br>[ERROR] Failed to= execute goal org.apache.maven.plugins:maven-antrun-plugin:1.3:run (deploy)= on project engine-server-ear: An Ant BuildException has occured: Failed to= copy /home/satimis/ovirt-engine/ear/target/engine/engine-bll.jar/org/ovirt= /engine/core/bll/VmCountVdsLoadBalancingAlgorithm$1.class to /usr/share/jboss-as/standalone/deployments/engine.ear/engine-bll.jar/org/o= virt/engine/core/bll/VmCountVdsLoadBalancingAlgorithm$1.class due to java.i= o.FileNotFoundException /usr/share/jboss-as/standalone/deployments/engine.e= ar/engine-bll.jar/org/ovirt/engine/core/bll/VmCountVdsLoadBalancingAlgorith= m$1.class (No such file or directory) -> [Help 1]<br>[ERROR]<br>[ERROR] = To see the full stack trace of the errors, re-run Maven with the -e switch.= <br>[ERROR] Re-run Maven using the -X switch to enable full debug logging.<= br>[ERROR]<br>[ERROR] For more information about the errors and possible so= lutions, please read the following articles:<br>[ERROR] [Help 1] http://cwi= ki.apache.org/confluence/display/MAVEN/MojoExecutionException<br><br><br>Pl= uginExecutionException<br>https://cwiki.apache.org/confluence/display/MAVEN= /PluginExecutionException<br>.....<br>You should report this problem to the=
<div><br><blockquote style=3D"border-left: 2px solid rgb(16, 16, 255); mar= gin-left: 5px; margin-top: 5px; padding-left: 5px;"> <div style=3D"font-fa= mily: arial, helvetica, sans-serif; font-size: 12pt;"> <div style=3D"font-f= amily: times new roman, new york, times, serif; font-size: 12pt;"> <div dir= =3D"ltr"> <font face=3D"Arial" size=3D"2"> <hr size=3D"1"> <b><span style= =3D"font-weight:bold;">From:</span></b> Laszlo Hornyak <lhornyak@redhat.= com><br> <b><span style=3D"font-weight: bold;">To:</span></b> Stephen Li= u <satimis@yahoo.com> <br><b><span style=3D"font-weight: bold;">Cc:</= span></b> engine-devel@ovirt.org <br> <b><span style=3D"font-weight: bold;"= Sent:</span></b> Wednesday, November 14, 2012 3:43 PM<br> <b><span style= =3D"font-weight: bold;">Subject:</span></b> Re: [Engine-devel] Building oVi= rt from source<br> </font> </div> <br><br><br>----- Original Message -----<= br>> From: "Stephen Liu" <<a ymailto=3D"mailto:satimis@yahoo.com" href=3D"mailto:s= atimis@yahoo.com">satimis@yahoo.com</a>><br>> To: <a ymailto=3D"mailt= o:engine-devel@ovirt.org" href=3D"mailto:engine-devel@ovirt.org">engine-dev= el@ovirt.org</a><br>> Sent: Tuesday, November 13, 2012 5:20:46 PM<br>>= ; Subject: [Engine-devel] Building oVirt from source<br>> <br>> <br>&= gt; <br>> <br>> Hi all,<br>> <br>> Have another round to build = oVirt from source following;<br>> <br>> Building Engine Draft<br>>= <a href=3D"http://wiki.ovirt.org/wiki/Building_Engine_Draft" target=3D"_bl= ank">http://wiki.ovirt.org/wiki/Building_Engine_Draft</a><br>> <br>> = OS - Fedora 17 desktop 64bit, fresh and clean installed.<br>> <br>> N= ot much problem encountered up to "Installing JBoss AS" except<br>> foll= ows:<br>> <br>> 1)<br>> Maven personal settings<br>> =3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>> <br>> $ mkdir $HOM= E/.m2<br>> $ wget -O $HOME/.m2/settings.xml<br>> <a href=3D"http://wiki.ovirt.org/w/images/1= /18/Settings.xml.png" target=3D"_blank">http://wiki.ovirt.org/w/images/1/18= /Settings.xml.png</a><br>> <br>> (it should read<br>> "<a href=3D"= http://wiki.ovirt.org/w/images/1/18/Settings.xml.png" target=3D"_blank">htt=
> Coyote HTTP/1.1 on http--0.0.0.0-8080<br>> 22:19:49,729 INFO [com.= arjuna.ats.jbossatx] ARJUNA032018: Destroying<br>> TransactionManagerSer= vice<br>> 22:19:49,730 INFO [com.arjuna.ats.jbossatx] ARJUNA032014: Stop=
> <br>> B.R.<br>> Stephen L<br>> _____________________________= __________________<br>> Engine-devel mailing list<br>> <a ymailto=3D"= mailto:Engine-devel@ovirt.org" href=3D"mailto:Engine-devel@ovirt.org">Engin= e-devel@ovirt.org</a><br>> <a
<html><body><div style=3D"color:#000; background-color:#fff; font-family:ar= ial, helvetica, sans-serif;font-size:12pt"><div><span>Hi,<br><br>I have sen= t another email to the list under the subject: "Deploy error again". = But it never came to the list:<br><br>Subject : Deploy error again<br><br>F= ailure:-<br><br>$ mvn clean install -Pdep,setup<br>/usr/lib/jvm/java<br>[IN= FO] Scanning for projects...<br>[WARNING]<br>[WARNING] Some problems were e= ncountered while building the effective model for org.ovirt.engine:engine-s= erver-ear:ear:3.1.0<br>[WARNING] 'build.plugins.plugin.version' for org.apa= che.maven.plugins:maven-ear-plugin is missing. @ line 154, column 15<br>[WA= RNING] 'distributionManagement.repository.id' must not be 'local', this ide= ntifier is reserved for the local repository, using it for other repositori= es will corrupt your repository metadata. @ line 18, column 11<br>[WARNING]= <br>[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.<br>[WARNING]<br>[WARNING] For t= his reason, future Maven versions might no longer support building such mal= formed projects.<br>[WARNING]<br>[INFO] = &nb= sp; = &nb= sp; = &nb= sp; <br>[INFO] ------------------------------------------------= ------------------------<br>[INFO] Building oVirt Server EAR 3.1.0<br>[INFO= ] ------------------------------------------------------------------------<= br>Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/mave= n-antrun-plugin/1.3/maven-antrun-plugin-1.3.pom<br>Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-antrun-plugin= /1.3/maven-antrun-plugin-1.3.pom (5 KB at 46.7 KB/sec)<br>Downloading: http= ://repo1.maven.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.3/= maven-antrun-plugin-1.3.jar<br>Downloaded: http://repo1.maven.org/maven2/or= g/apache/maven/plugins/maven-antrun-plugin/1.3/maven-antrun-plugin-1.3.jar = (24 KB at 255.8 KB/sec)<br>[INFO]<br>[INFO] --- maven-clean-plugin:2.4.1:cl= ean (default-clean) @ engine-server-ear ---<br>[INFO] Deleting /home/satimi= s/ovirt-engine/ear/target<br>[INFO]<br>[INFO] --- maven-antrun-plugin:1.3:r= un (undeploy) @ engine-server-ear ---<br>Downloading: http://repo1.maven.or= g/maven2/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1.7.1.pom<br>Downlo= aded: http://repo1.maven.org/maven2/org/apache/ant/ant-launcher/1.7.1/ant-l= auncher-1.7.1.pom (3 KB at 77.6 KB/sec)<br>Downloading: http://repo1.maven.org/maven2/org/apache/ant/ant-parent/1.7.1/ant-parent-1= .7.1.pom<br>Downloaded: http://repo1.maven.org/maven2/org/apache/ant/ant-pa= rent/1.7.1/ant-parent-1.7.1.pom (5 KB at 137.9 KB/sec)<br>Downloading: http= ://repo1.maven.org/maven2/org/apache/ant/ant/1.7.1/ant-1.7.1.pom<br>Downloa= ded: http://repo1.maven.org/maven2/org/apache/ant/ant/1.7.1/ant-1.7.1.pom (= 10 KB at 232.4 KB/sec)<br>Downloading: http://repo1.maven.org/maven2/org/co= dehaus/plexus/plexus-utils/1.5.6/plexus-utils-1.5.6.jar<br>Downloading: htt= p://repo1.maven.org/maven2/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1= .7.1.jar<br>Downloading: http://repo1.maven.org/maven2/org/apache/ant/ant/1= .7.1/ant-1.7.1.jar<br>Downloaded: http://repo1.maven.org/maven2/org/apache/= ant/ant-launcher/1.7.1/ant-launcher-1.7.1.jar (12 KB at 79.1 KB/sec)<br>Dow= nloaded: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.5= .6/plexus-utils-1.5.6.jar (245 KB at 226.5 KB/sec)<br>Downloaded: http://repo1.maven.org/maven2/org/apache/ant/ant/1.7.1/ant-1.7.1.jar (1292= KB at 384.3 KB/sec)<br>[INFO] Executing tasks<br> = [echo] *** Deleting /usr/share/jboss-as/standalone/deployments/engine.ear/.= ..<br>[INFO] Executed tasks<br>[INFO]<br>[INFO] --- maven-ear-plugin:2.6:ge= nerate-application-xml (default-generate-application-xml) @ engine-server-e= ar ---<br>[INFO] Generating application.xml<br>[INFO]<br>[INFO] --- maven-r= esources-plugin:2.4.3:resources (default-resources) @ engine-server-ear ---= <br>[INFO] Using 'UTF-8' encoding to copy filtered resources.<br>[INFO] ski= p non existing resourceDirectory /home/satimis/ovirt-engine/ear/src/main/ja= va<br>[INFO] Copying 1 resource<br>[INFO]<br>[INFO] --- maven-ear-plugin:2.= 6:ear (default-ear) @ engine-server-ear ---<br>[INFO] Copying artifact[jar:= org.ovirt.engine.core:common:3.1.0] to[lib/engine-common.jar]<br>[INFO] Cop= ying artifact[jar:org.ovirt.engine.core:compat:3.1.0] to[lib/engine-compat.jar]<br>[INFO] Copying artifact[jar:org.ovirt.engine.= core:dal:3.1.0] to[lib/engine-dal.jar]<br>[INFO] Copying artifact[jar:org.o= virt.engine.core:utils:3.1.0] to[lib/engine-utils.jar]<br>[INFO] Copying ar= tifact[jar:org.ovirt.engine.core:engineencryptutils:3.1.0] to[lib/engine-en= cryptutils.jar]<br>[INFO] Copying artifact[jar:org.ovirt.engine.core:vdsbro= ker:3.1.0] to[lib/engine-vdsbroker.jar]<br>[INFO] Copying artifact[war:org.= ovirt.engine.core:root-war:3.1.0] to[root.war] (unpacked)<br>[INFO] Copying= artifact[war:org.ovirt.engine.ui:rmw-war:3.1.0] to[ovirtengineweb.war] (un= packed)<br>[INFO] Copying artifact[war:org.ovirt.engine.api:restapi-webapp:= 3.1.0] to[restapi.war] (unpacked)<br>[INFO] Copying artifact[war:org.ovirt.= engine.ui:userportal:3.1.0] to[userportal.war] (unpacked)<br>[INFO] Copying= artifact[war:org.ovirt.engine.ui:webadmin:3.1.0] to[webadmin.war] (unpacke= d)<br>[INFO] Copying artifact[ejb:org.ovirt.engine.ui:genericapi:3.1.0] to[engine-genericapi.ja= r] (unpacked)<br>[INFO] Copying artifact[ejb:org.ovirt.engine.core:schedule= r:3.1.0] to[engine-scheduler.jar] (unpacked)<br>[INFO] Copying artifact[ejb= :org.ovirt.engine.core:bll:3.1.0] to[engine-bll.jar] (unpacked)<br>[INFO] C= opying artifact[jar:commons-codec:commons-codec:1.4] to[lib/commons-codec-1= .4.jar]<br>[INFO] Copying artifact[jar:org.hibernate:hibernate-validator:4.= 0.2.GA] to[lib/hibernate-validator-4.0.2.GA.jar]<br>[INFO] Copying artifact= [jar:javax.validation:validation-api:1.0.0.GA] to[lib/validation-api-1.0.0.= GA.jar]<br>[INFO] Copying artifact[jar:org.slf4j:slf4j-api:1.5.6] to[lib/sl= f4j-api-1.5.6.jar]<br>[INFO] Copying artifact[jar:javax.xml.bind:jaxb-api:2= .1] to[lib/jaxb-api-2.1.jar]<br>[INFO] Copying artifact[jar:javax.xml.strea= m:stax-api:1.0-2] to[lib/stax-api-1.0-2.jar]<br>[INFO] Copying artifact[jar= :javax.activation:activation:1.1] to[lib/activation-1.1.jar]<br>[INFO] Copying artifact[jar:com.sun.xml.bind= :jaxb-impl:2.1.3] to[lib/jaxb-impl-2.1.3.jar]<br>[INFO] Copying artifact[ja= r:org.hibernate:hibernate-annotations:3.4.0.GA] to[lib/hibernate-annotation= s-3.4.0.GA.jar]<br>[INFO] Copying artifact[jar:org.hibernate:ejb3-persisten= ce:1.0.2.GA] to[lib/ejb3-persistence-1.0.2.GA.jar]<br>[INFO] Copying artifa= ct[jar:org.hibernate:hibernate-commons-annotations:3.1.0.GA] to[lib/hiberna= te-commons-annotations-3.1.0.GA.jar]<br>[INFO] Copying artifact[jar:org.hib= ernate:hibernate-core:3.3.0.SP1] to[lib/hibernate-core-3.3.0.SP1.jar]<br>[I= NFO] Copying artifact[jar:antlr:antlr:2.7.6] to[lib/antlr-2.7.6.jar]<br>[IN= FO] Copying artifact[jar:dom4j:dom4j:1.6.1] to[lib/dom4j-1.6.1.jar]<br>[INF= O] Copying artifact[jar:xml-apis:xml-apis:1.0.b2] to[lib/xml-apis-1.0.b2.ja= r]<br>[INFO] Copying artifact[jar:org.jboss.spec.javax.interceptor:jboss-in= terceptors-api_1.1_spec:1.0.0.Final] to[lib/jboss-interceptors-api_1.1_spec-1.0.0.Final.jar]<br>[INFO] Copying = artifact[jar:org.ovirt.engine.core:engine-tools-common:3.1.0] to[lib/engine= -tools-common-3.1.0.jar]<br>[INFO] Copying artifact[jar:commons-beanutils:c= ommons-beanutils:1.8.2] to[lib/commons-beanutils-1.8.2.jar]<br>[INFO] Copyi= ng artifact[jar:org.apache.mina:mina-core:2.0.1] to[lib/mina-core-2.0.1.jar= ]<br>[INFO] Copying artifact[jar:org.apache.sshd:sshd-core:0.7.0] to[lib/ss= hd-core-0.7.0.jar]<br>[INFO] Copying artifact[jar:org.apache.commons:common= s-compress:1.3] to[lib/commons-compress-1.3.jar]<br>[INFO] Copying artifact= [jar:commons-lang:commons-lang:2.4] to[lib/commons-lang-2.4.jar]<br>[INFO] = Copying artifact[jar:org.apache.xmlrpc:xmlrpc-client:3.1.3] to[lib/xmlrpc-c= lient-3.1.3.jar]<br>[INFO] Copying artifact[jar:org.apache.xmlrpc:xmlrpc-co= mmon:3.1.3] to[lib/xmlrpc-common-3.1.3.jar]<br>[INFO] Copying artifact[jar:= org.apache.ws.commons.util:ws-commons-util:1.0.2] to[lib/ws-commons-util-1.0.2.jar]<br>[INFO] Copying artifact[jar:org.sprin= gframework:spring-jdbc:3.1.1.RELEASE] to[lib/spring-jdbc-3.1.1.RELEASE.jar]= <br>[INFO] Copying artifact[jar:org.springframework:spring-tx:3.1.1.RELEASE= ] to[lib/spring-tx-3.1.1.RELEASE.jar]<br>[INFO] Copying artifact[jar:org.sp= ringframework.ldap:spring-ldap-core:1.3.1.RELEASE] to[lib/spring-ldap-core-= 1.3.1.RELEASE.jar]<br>[INFO] Copying artifact[jar:commons-httpclient:common= s-httpclient:3.1] to[lib/commons-httpclient-3.1.jar]<br>[INFO] Copying arti= fact[jar:commons-collections:commons-collections:3.1] to[lib/commons-collec= tions-3.1.jar]<br>[INFO] Copying artifact[jar:org.quartz-scheduler:quartz:2= .1.2] to[lib/quartz-2.1.2.jar]<br>[INFO] Copying artifact[jar:c3p0:c3p0:0.9= .1.1] to[lib/c3p0-0.9.1.1.jar]<br>[INFO] Copying artifact[jar:org.ovirt.eng= ine.core:searchbackend:3.1.0] to[lib/searchbackend-3.1.0.jar]<br>[INFO] Cop= ying artifact[jar:org.springframework:spring-core:3.1.1.RELEASE] to[lib/spring-core-3.1.1.RELEASE.jar]<br>[INFO] Copying artifact[jar:org.s= pringframework:spring-asm:3.1.1.RELEASE] to[lib/spring-asm-3.1.1.RELEASE.ja= r]<br>[INFO] Copying artifact[jar:org.springframework:spring-beans:3.1.1.RE= LEASE] to[lib/spring-beans-3.1.1.RELEASE.jar]<br>[INFO] Copying artifact[ja= r:org.springframework:spring-context:3.1.1.RELEASE] to[lib/spring-context-3= .1.1.RELEASE.jar]<br>[INFO] Copying artifact[jar:org.springframework:spring= -aop:3.1.1.RELEASE] to[lib/spring-aop-3.1.1.RELEASE.jar]<br>[INFO] Copying = artifact[jar:aopalliance:aopalliance:1.0] to[lib/aopalliance-1.0.jar]<br>[I= NFO] Copying artifact[jar:org.springframework:spring-expression:3.1.1.RELEA= SE] to[lib/spring-expression-3.1.1.RELEASE.jar]<br>[INFO] Copy ear sources = to /home/satimis/ovirt-engine/ear/target/engine<br>[WARNING] resourcesDir i= s deprecated. Please use the earSourceDirectory property instead.<br>[INFO]= Copy ear resources to /home/satimis/ovirt-engine/ear/target/engine<br>[INFO] Including custom ma= nifest file[/home/satimis/ovirt-engine/ear/target/engine/META-INF/MANIFEST.= MF]<br>[INFO] Building jar: /home/satimis/ovirt-engine/ear/target/engine.ea= r<br>[INFO]<br>[INFO] --- maven-dependency-plugin:2.1:copy (copy-quartz-jar= ) @ engine-server-ear ---<br>[INFO] Configured Artifact: org.quartz-schedul= er:quartz:2.1.2:jar<br>[INFO] Copying quartz-2.1.2.jar to /home/satimis/ovi= rt-engine/ear/target/quartz/quartz-2.1.2.jar<br>[INFO]<br>[INFO] --- maven-= antrun-plugin:1.3:run (deploy) @ engine-server-ear ---<br>[INFO] Executing = tasks<br> [echo] *** Copying updated files from tar= get/engine/ to /usr/share/jboss-as/standalone/deployments/engine.ear/...<br= maintainer of the plugin.<br><br><br>Please help. How to fix this problem and continue?<br><br>TIA<br><br>B.R.<br>Stephen L</span></div= p://wiki.ovirt.org/w/images/1/18/Settings.xml.png</a>")<br>> ^^^^ (not w= ww)<br>> <br>> 2)<br>> Check that the application server starts co= rrectly:<br>> <br>> $ cd $JBOSS_HOME/bin<br>> $ ./standalone.sh -b= 0.0.0.0<br>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D<br>> <br>> JBoss Bootstrap Environment<br>> = <br>> JBOSS_HOME: /home/satimis/jboss-as<br>> <br>> JAVA: java<br>= > <br>> JAVA_OPTS: -server -XX:+UseCompressedOops -XX:+TieredCompilat= ion<br>> -Xms64m -Xmx512m -XX:MaxPermSize=3D256m<br>> -Djava.net.pref= erIPv4Stack=3Dtrue -Dorg.jboss.resolver.warning=3Dtrue<br>> -Dsun.rmi.dg= c.client.gcInterval=3D3600000<br>> -Dsun.rmi.dgc.server.gcInterval=3D3600000<br>> -Djboss.modules.system.p= kgs=3Dorg.jboss.byteman -Djava.awt.headless=3Dtr<br>> ....<br>> .....= <br>> <br>> 22:14:38,217 INFO [org.jboss.as] (Controller Boot Thread)= JBAS015874:<br>> JBoss AS 7.1.1.Final "Brontes" started in 6662ms - Sta= rted 133 of<br>> 208 services (74 services are passive or on-demand)<br>= <br>So your jboss is started at this point and should e listening on 8080 f= or http connections. Is ovirt running?<br>If not you should check if it is = there in standalone/deployments/engine.ear<br>Also, see if engine.ear.deplo= yed exists. touch engine.dodeploy to kick jboss and deploy it.<br><br>> = <br>> <br>> It hung here;<br>> <br>> Press [Ctrl] + c<br>> i= t continued to display:<br>> <br>> 19:49,653 INFO [org.jboss.as.osgi]= (MSC service thread 1-3)<br>> JBAS011942: Stopping OSGi Framework<br>&g= t; 22:19:49,701 INFO [org.jboss.as.logging] JBAS011503: Restored<br>> bootstrap log handlers<br>> 22:19:49,726 INFO [org.apache.coyote.http11= .Http11Protocol] Pausing<br>> Coyote HTTP/1.1 on http--0.0.0.0-8080<br>&= gt; 22:19:49,727 INFO [org.apache.coyote.http11.Http11Protocol] Stopping<br= ping<br>> transaction recovery manager<br>> 22:19:49,753 INFO [org.jb= oss.as] JBAS015950: JBoss AS 7.1.1.Final<br>> "Brontes" stopped in 111ms= <br>> <br>> Is it normal? Without problem?<br>> <br>> Thanks<br= href=3D"http://lists.ovirt.org/mailman/listinfo/engine-devel" target=3D"_b= lank">http://lists.ovirt.org/mailman/listinfo/engine-devel</a><br>> <br>= <br><br> </div> </div> </blockquote></div> </div></body></html> --1268171098-1952253124-1352881556=:51991--