<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div><br></div><div><span>Hi Juan,<br><br>I have sent another email to the list under the subject: "Deploy error again". But it never came to the list. Is the server in problem?<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] <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> [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> [echo] *** Copying updated files from target/engine/ to /usr/share/jboss-as/standalone/deployments/engine.ear/...<br> [copy] Copying 1168 files to /usr/share/jboss-as/standalone/deployments/engine.ear<br>
[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) -> [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. How to fix
this problem and continue?<br><br>TIA<br><br>B.R.<br>Stephen L</span></div><br><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> Juan Hernandez <jhernand@redhat.com><br> <b><span style="font-weight: bold;">To:</span></b> Stephen Liu <satimis@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> "engine-devel@ovirt.org" <engine-devel@ovirt.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, November 14, 2012 6:02 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Engine-devel] Building oVirt from source<br> </font> </div> <br>On 11/13/2012 05:20
PM, Stephen Liu wrote:<br>> Hi all,<br>> <br>> Have another round to build oVirt from source following;<br>> <br>> Building Engine Draft<br>> <a href="http://wiki.ovirt.org/wiki/Building_Engine_Draft" target="_blank">http://wiki.ovirt.org/wiki/Building_Engine_Draft</a><br>> <br>> OS - Fedora 17 desktop 64bit, fresh and clean installed.<br>> <br>> Not much problem encountered up to "Installing JBoss AS" except follows:<br>> <br>> 1)<br>> Maven personal settings<br>> ==================<br>> <br>> $ mkdir $HOME/.m2<br>> $ wget -O $HOME/.m2/settings.xml<br>> <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>> <br>> (it should read "<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>>
^^^^ (not www)<br>> <br>> 2)<br>> Check that the application server starts correctly:<br>> <br>> $ cd $JBOSS_HOME/bin<br>> $ ./standalone.sh -b 0.0.0.0<br>> ===================================================<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:+TieredCompilation<br>> -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true<br>> -Dorg.jboss.resolver.warning=true<br>> -Dsun.rmi.dgc.client.gcInterval=3600000<br>> -Dsun.rmi.dgc.server.gcInterval=3600000<br>> -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=tr<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 - Started 133 of 208<br>> services (74 services are passive or on-demand)<br>> <br>> <br>> It hung here;<br>> <br>> Press [Ctrl] + c<br>> it continued to display:<br>> <br>> 19:49,653 INFO [org.jboss.as.osgi] (MSC service thread 1-3) JBAS011942:<br>> Stopping OSGi Framework<br>> 22:19:49,701 INFO [org.jboss.as.logging] JBAS011503: Restored bootstrap<br>> 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>> 22:19:49,727 INFO [org.apache.coyote.http11.Http11Protocol] Stopping<br>> Coyote HTTP/1.1 on http--0.0.0.0-8080<br>> 22:19:49,729 INFO [com.arjuna.ats.jbossatx] ARJUNA032018: Destroying<br>> TransactionManagerService<br>> 22:19:49,730 INFO [com.arjuna.ats.jbossatx] ARJUNA032014: Stopping<br>> transaction
recovery manager<br>> 22:19:49,753 INFO [org.jboss.as] JBAS015950: JBoss AS 7.1.1.Final<br>> "Brontes" stopped in 111ms<br>> <br>> Is it normal? Without problem?<br><br>That is normal, when you start the application server from the command<br>line with standalone.sh it keeps attached to your terminal until you<br>stop it with Ctrl+C.<br><br>-- <br>Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta<br>3ºD, 28016 Madrid, Spain<br>Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.<br><br><br> </div> </div> </blockquote></div> </div></body></html>