<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div><span>Hi,<br><br>I have sent another email to the list under the subject: "Deploy error again".&nbsp; But it never came to the list:<br><br>Subject : Deploy error again<br><br>Failure:-<br><br>$ mvn clean install -Pdep,setup<br>/usr/lib/jvm/java<br>[INFO] Scanning for projects...<br>[WARNING]<br>[WARNING] Some problems were encountered while building the effective model for org.ovirt.engine:engine-server-ear:ear:3.1.0<br>[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-ear-plugin is missing. @ line 154, column 15<br>[WARNING] 'distributionManagement.repository.id' must not be 'local', this identifier is reserved for the local repository, using it for other repositories 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 this reason, future Maven versions might no longer support building such malformed projects.<br>[WARNING]<br>[INFO]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>[INFO] ------------------------------------------------------------------------<br>[INFO] Building oVirt Server EAR 3.1.0<br>[INFO] ------------------------------------------------------------------------<br>Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-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/org/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:clean (default-clean) @ engine-server-ear ---<br>[INFO] Deleting /home/satimis/ovirt-engine/ear/target<br>[INFO]<br>[INFO] --- maven-antrun-plugin:1.3:run (undeploy) @ engine-server-ear ---<br>Downloading: http://repo1.maven.org/maven2/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1.7.1.pom<br>Downloaded: http://repo1.maven.org/maven2/org/apache/ant/ant-launcher/1.7.1/ant-launcher-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-parent/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>Downloaded: 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/codehaus/plexus/plexus-utils/1.5.6/plexus-utils-1.5.6.jar<br>Downloading: http://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>Downloaded: 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>&nbsp;&nbsp;&nbsp;&nbsp; [echo] *** Deleting /usr/share/jboss-as/standalone/deployments/engine.ear/...<br>[INFO] Executed tasks<br>[INFO]<br>[INFO] --- maven-ear-plugin:2.6:generate-application-xml (default-generate-application-xml) @ engine-server-ear ---<br>[INFO] Generating application.xml<br>[INFO]<br>[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ engine-server-ear ---<br>[INFO] Using 'UTF-8' encoding to copy filtered resources.<br>[INFO] skip non existing resourceDirectory /home/satimis/ovirt-engine/ear/src/main/java<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] Copying 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.ovirt.engine.core:utils:3.1.0] to[lib/engine-utils.jar]<br>[INFO] Copying artifact[jar:org.ovirt.engine.core:engineencryptutils:3.1.0] to[lib/engine-encryptutils.jar]<br>[INFO] Copying artifact[jar:org.ovirt.engine.core:vdsbroker: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] (unpacked)<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] (unpacked)<br>[INFO] Copying
 artifact[ejb:org.ovirt.engine.ui:genericapi:3.1.0] to[engine-genericapi.jar] (unpacked)<br>[INFO] Copying artifact[ejb:org.ovirt.engine.core:scheduler: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] Copying 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/slf4j-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.stream: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[jar:org.hibernate:hibernate-annotations:3.4.0.GA] to[lib/hibernate-annotations-3.4.0.GA.jar]<br>[INFO] Copying artifact[jar:org.hibernate:ejb3-persistence:1.0.2.GA] to[lib/ejb3-persistence-1.0.2.GA.jar]<br>[INFO] Copying artifact[jar:org.hibernate:hibernate-commons-annotations:3.1.0.GA] to[lib/hibernate-commons-annotations-3.1.0.GA.jar]<br>[INFO] Copying artifact[jar:org.hibernate:hibernate-core:3.3.0.SP1] to[lib/hibernate-core-3.3.0.SP1.jar]<br>[INFO] Copying artifact[jar:antlr:antlr:2.7.6] to[lib/antlr-2.7.6.jar]<br>[INFO] Copying artifact[jar:dom4j:dom4j:1.6.1] to[lib/dom4j-1.6.1.jar]<br>[INFO] Copying artifact[jar:xml-apis:xml-apis:1.0.b2] to[lib/xml-apis-1.0.b2.jar]<br>[INFO] 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.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:commons-beanutils:1.8.2] to[lib/commons-beanutils-1.8.2.jar]<br>[INFO] Copying 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/sshd-core-0.7.0.jar]<br>[INFO] Copying artifact[jar:org.apache.commons:commons-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-client-3.1.3.jar]<br>[INFO] Copying artifact[jar:org.apache.xmlrpc:xmlrpc-common: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.springframework: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.springframework.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:commons-httpclient:3.1] to[lib/commons-httpclient-3.1.jar]<br>[INFO] Copying artifact[jar:commons-collections:commons-collections:3.1] to[lib/commons-collections-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.engine.core:searchbackend:3.1.0] to[lib/searchbackend-3.1.0.jar]<br>[INFO] Copying 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.springframework:spring-asm:3.1.1.RELEASE] to[lib/spring-asm-3.1.1.RELEASE.jar]<br>[INFO] Copying artifact[jar:org.springframework:spring-beans:3.1.1.RELEASE] to[lib/spring-beans-3.1.1.RELEASE.jar]<br>[INFO] Copying artifact[jar: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>[INFO] Copying artifact[jar:org.springframework:spring-expression:3.1.1.RELEASE] 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 is deprecated. Please use the earSourceDirectory property instead.<br>[INFO] Copy ear resources to
 /home/satimis/ovirt-engine/ear/target/engine<br>[INFO] Including custom manifest file[/home/satimis/ovirt-engine/ear/target/engine/META-INF/MANIFEST.MF]<br>[INFO] Building jar: /home/satimis/ovirt-engine/ear/target/engine.ear<br>[INFO]<br>[INFO] --- maven-dependency-plugin:2.1:copy (copy-quartz-jar) @ engine-server-ear ---<br>[INFO] Configured Artifact: org.quartz-scheduler:quartz:2.1.2:jar<br>[INFO] Copying quartz-2.1.2.jar to /home/satimis/ovirt-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>&nbsp;&nbsp;&nbsp;&nbsp; [echo] *** Copying updated files from target/engine/ to /usr/share/jboss-as/standalone/deployments/engine.ear/...<br>&nbsp;&nbsp;&nbsp;&nbsp; [copy] Copying 1168 files to /usr/share/jboss-as/standalone/deployments/engine.ear<br>&nbsp;&nbsp;&nbsp;&nbsp; [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/engine/core/bll/VmCountVdsLoadBalancingAlgorithm$1.class<br>[INFO] ------------------------------------------------------------------------<br>[INFO] BUILD FAILURE<br>[INFO] ------------------------------------------------------------------------<br>[INFO] Total time: 15.761s<br>[INFO] Finished at: Wed Nov 14 14:34: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/ovirt/engine/core/bll/VmCountVdsLoadBalancingAlgorithm$1.class due to java.io.FileNotFoundException /usr/share/jboss-as/standalone/deployments/engine.ear/engine-bll.jar/org/ovirt/engine/core/bll/VmCountVdsLoadBalancingAlgorithm$1.class (No such file or directory) -&gt; [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 solutions, please read the following articles:<br>[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException<br><br><br>PluginExecutionException<br>https://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException<br>.....<br>You should report this problem to the maintainer of the plugin.<br><br><br>Please help.&nbsp; How to fix
 this problem and continue?<br><br>TIA<br><br>B.R.<br>Stephen L</span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Laszlo Hornyak &lt;lhornyak@redhat.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> Stephen Liu &lt;satimis@yahoo.com&gt; <br><b><span style="font-weight: bold;">Cc:</span></b> engine-devel@ovirt.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, November 14, 2012 3:43 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Engine-devel] Building oVirt from source<br> </font> </div> <br><br><br>----- Original Message -----<br>&gt; From:
 "Stephen Liu" &lt;<a ymailto="mailto:satimis@yahoo.com" href="mailto:satimis@yahoo.com">satimis@yahoo.com</a>&gt;<br>&gt; To: <a ymailto="mailto:engine-devel@ovirt.org" href="mailto:engine-devel@ovirt.org">engine-devel@ovirt.org</a><br>&gt; Sent: Tuesday, November 13, 2012 5:20:46 PM<br>&gt; Subject: [Engine-devel] Building oVirt from source<br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; Hi all,<br>&gt; <br>&gt; Have another round to build oVirt from source following;<br>&gt; <br>&gt; Building Engine Draft<br>&gt; <a href="http://wiki.ovirt.org/wiki/Building_Engine_Draft" target="_blank">http://wiki.ovirt.org/wiki/Building_Engine_Draft</a><br>&gt; <br>&gt; OS - Fedora 17 desktop 64bit, fresh and clean installed.<br>&gt; <br>&gt; Not much problem encountered up to "Installing JBoss AS" except<br>&gt; follows:<br>&gt; <br>&gt; 1)<br>&gt; Maven personal settings<br>&gt; ==================<br>&gt; <br>&gt; $ mkdir $HOME/.m2<br>&gt; $ wget -O
 $HOME/.m2/settings.xml<br>&gt; <a href="http://wiki.ovirt.org/w/images/1/18/Settings.xml.png" target="_blank">http://wiki.ovirt.org/w/images/1/18/Settings.xml.png</a><br>&gt; <br>&gt; (it should read<br>&gt; "<a href="http://wiki.ovirt.org/w/images/1/18/Settings.xml.png" target="_blank">http://wiki.ovirt.org/w/images/1/18/Settings.xml.png</a>")<br>&gt; ^^^^ (not www)<br>&gt; <br>&gt; 2)<br>&gt; Check that the application server starts correctly:<br>&gt; <br>&gt; $ cd $JBOSS_HOME/bin<br>&gt; $ ./standalone.sh -b 0.0.0.0<br>&gt; ===================================================<br>&gt; <br>&gt; JBoss Bootstrap Environment<br>&gt; <br>&gt; JBOSS_HOME: /home/satimis/jboss-as<br>&gt; <br>&gt; JAVA: java<br>&gt; <br>&gt; JAVA_OPTS: -server -XX:+UseCompressedOops -XX:+TieredCompilation<br>&gt; -Xms64m -Xmx512m -XX:MaxPermSize=256m<br>&gt; -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true<br>&gt; -Dsun.rmi.dgc.client.gcInterval=3600000<br>&gt;
 -Dsun.rmi.dgc.server.gcInterval=3600000<br>&gt; -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=tr<br>&gt; ....<br>&gt; .....<br>&gt; <br>&gt; 22:14:38,217 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874:<br>&gt; JBoss AS 7.1.1.Final "Brontes" started in 6662ms - Started 133 of<br>&gt; 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 for 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.deployed exists. touch engine.dodeploy to kick jboss and deploy it.<br><br>&gt; <br>&gt; <br>&gt; It hung here;<br>&gt; <br>&gt; Press [Ctrl] + c<br>&gt; it continued to display:<br>&gt; <br>&gt; 19:49,653 INFO [org.jboss.as.osgi] (MSC service thread 1-3)<br>&gt; JBAS011942: Stopping OSGi Framework<br>&gt; 22:19:49,701 INFO [org.jboss.as.logging] JBAS011503: Restored<br>&gt;
 bootstrap log handlers<br>&gt; 22:19:49,726 INFO [org.apache.coyote.http11.Http11Protocol] Pausing<br>&gt; 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>&gt; Coyote HTTP/1.1 on http--0.0.0.0-8080<br>&gt; 22:19:49,729 INFO [com.arjuna.ats.jbossatx] ARJUNA032018: Destroying<br>&gt; TransactionManagerService<br>&gt; 22:19:49,730 INFO [com.arjuna.ats.jbossatx] ARJUNA032014: Stopping<br>&gt; transaction recovery manager<br>&gt; 22:19:49,753 INFO [org.jboss.as] JBAS015950: JBoss AS 7.1.1.Final<br>&gt; "Brontes" stopped in 111ms<br>&gt; <br>&gt; Is it normal? Without problem?<br>&gt; <br>&gt; Thanks<br>&gt; <br>&gt; B.R.<br>&gt; Stephen L<br>&gt; _______________________________________________<br>&gt; Engine-devel mailing list<br>&gt; <a ymailto="mailto:Engine-devel@ovirt.org" href="mailto:Engine-devel@ovirt.org">Engine-devel@ovirt.org</a><br>&gt; <a
 href="http://lists.ovirt.org/mailman/listinfo/engine-devel" target="_blank">http://lists.ovirt.org/mailman/listinfo/engine-devel</a><br>&gt; <br><br><br> </div> </div> </blockquote></div>   </div></body></html>