[Users] make engine rpm error
bigclouds
bigclouds at 163.com
Wed Mar 27 02:57:31 UTC 2013
command 'make rpm' , this error is reported before, i follow steps to fix it ,but do not work .
centos 6.3, 2G memory.
thanks
-----------------------fix----
<gwt-plugin.extraJvmArgs>-Xms1024M -Xmx1024M -XX:PermSize=256M -XX:MaxPermS
+ <gwt-plugin.extraJvmArgs>-Xmx1024M -XX:PermSize=256M -XX:MaxPermSize=256M</
------------------
[INFO] WebAdmin .......................................... FAILURE [28.994s]
[INFO] UserPortal ........................................ SKIPPED
[INFO] oVirt Server EAR .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4:58.903s
[INFO] Finished at: Tue Mar 26 23:29:09 CST 2013
[INFO] Final Memory: 149M/357M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.3.0:compile (gwtcompile) on project webadmin: Command [[
[ERROR] /bin/sh -c /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.9.x86_64/jre/bin/java -javaagent:/root/.m2/repository/org/aspectj/aspectjweaver/1.6.11/aspectjweaver-1.6.11.jar -Xms1024M -Xmx2048M -XX:PermSize=256M -XX:MaxPermSize=512M '-Dgwt.dontPrune=org\.ovirt\.engine\.core\.(common|compat)\..*' -classpath /mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/frontend/webadmin/modules/webadmin/src/main/java:/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/frontend/webadmin/modules/webadmin/target/generated-sources/annotations:/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/frontend/webadmin/modules/webadmin/target/generated-sources/gwt:/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/frontend/webadmin/modules/webadmin/src/main/resources:/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/frontend/webadmin/modules/webadmin/target/webadmin-3.3.0-SNAPSHOT/WEB-INF/classes:/root/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar:/root/.m2/repository/com/google/gwt/gwt-dev/2.3.0/gwt-dev-2.3.0.jar:/root/.m2/repository/com/gwtplatform/gwtp-mvp-client/0.6/gwtp-mvp-client-0.6.jar:/root/.m2/repository/com/gwtplatform/gwtp-clients-common/0.6/gwtp-clients-common-0.6.jar:/root/.m2/repository/com/gwtplatform/gwtp-processors/0.6/gwtp-processors-0.6.jar:/root/.m2/repository/com/google/inject/guice/3.0/guice-3.0.jar:/root/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/root/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/root/.m2/repository/com/google/inject/extensions/guice-assistedinject/3.0/guice-assistedinject-3.0.jar:/root/.m2/repository/com/google/gwt/inject/gin/1.5.0/gin-1.5.0.jar:/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/frontend/webadmin/modules/uicommonweb/target/uicommonweb-3.3.0-SNAPSHOT.jar:/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/backend/manager/modules/searchbackend/target/searchbackend-3.3.0-SNAPSHOT.jar:/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/frontend/webadmin/modules/uicompat/target/uicompat-3.3.0-SNAPSHOT.jar:/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/backend/manager/modules/common/target/common-3.3.0-SNAPSHOT-sources.jar:/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/backend/manager/modules/compat/target/compat-3.3.0-SNAPSHOT-sources.jar:/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/backend/manager/modules/searchbackend/target/searchbackend-3.3.0-SNAPSHOT-sources.jar:/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/frontend/webadmin/modules/gwt-common/target/gwt-common-3.3.0-SNAPSHOT.jar:/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/frontend/webadmin/modules/frontend/target/frontend-3.3.0-SNAPSHOT.jar:/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/frontend/webadmin/modules/gwt-extension/target/gwt-extension-3.3.0-SNAPSHOT.jar:/root/.m2/repository/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar:/root/.m2/repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar:/root/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar:/root/.m2/repository/org/jboss/spec/javax/servlet/jboss-servlet-api_3.0_spec/1.0.1.Final/jboss-servlet-api_3.0_spec-1.0.1.Final.jar:/root/.m2/repository/org/jboss/spec/javax/ejb/jboss-ejb-api_3.1_spec/1.0.1.Final/jboss-ejb-api_3.1_spec-1.0.1.Final.jar:/root/.m2/repository/org/aspectj/aspectjweaver/1.6.11/aspectjweaver-1.6.11.jar:/root/.m2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar:/root/.m2/repository/log4j/log4j/1.2.16/log4j-1.2.16.jar:/root/.m2/repository/logkit/logkit/1.0.1/logkit-1.0.1.jar:/root/.m2/repository/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.jar:/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/backend/manager/modules/utils/target/utils-3.3.0-SNAPSHOT.jar:/root/.m2/repository/commons-beanutils/commons-beanutils/1.8.2/commons-beanutils-1.8.2.jar:/root/.m2/repository/commons-collections/commons-collections/3.1/commons-collections-3.1.jar:/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/backend/manager/modules/compat/target/compat-3.3.0-SNAPSHOT.jar:/root/.m2/repository/org/apache/mina/mina-core/2.0.1/mina-core-2.0.1.jar:/root/.m2/repository/org/slf4j/slf4j-api/1.5.11/slf4j-api-1.5.11.jar:/root/.m2/repository/org/apache/sshd/sshd-core/0.7.0/sshd-core-0.7.0.jar:/root/.m2/repository/org/ovirt/otopi/otopi/1.0.0/otopi-1.0.0.jar:/root/.m2/repository/org/ovirt/ovirt-host-deploy/ovirt-host-deploy/1.0.0/ovirt-host-deploy-1.0.0.jar:/root/.m2/repository/org/apache/commons/commons-compress/1.4.1/commons-compress-1.4.1.jar:/root/.m2/repository/org/tukaani/xz/1.0/xz-1.0.jar:/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/backend/manager/modules/common/target/common-3.3.0-SNAPSHOT.jar:/root/.m2/repository/org/hibernate/hibernate-validator/4.0.2.GA/hibernate-validator-4.0.2.GA.jar:/root/.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar:/root/.m2/repository/com/sun/xml/bind/jaxb-impl/2.1.3/jaxb-impl-2.1.3.jar:/root/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar:/root/.m2/repository/commons-codec/commons-codec/1.4/commons-codec-1.4.jar:/root/.m2/repository/org/apache/xmlrpc/xmlrpc-client/3.1.3/xmlrpc-client-3.1.3.jar:/root/.m2/repository/org/apache/xmlrpc/xmlrpc-common/3.1.3/xmlrpc-common-3.1.3.jar:/root/.m2/repository/org/apache/ws/commons/util/ws-commons-util/1.0.2/ws-commons-util-1.0.2.jar:/root/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar:/root/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar:/root/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.4/jackson-core-asl-1.9.4.jar:/root/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.4/jackson-mapper-asl-1.9.4.jar:/root/.m2/repository/org/springframework/spring-core/3.1.1.RELEASE/spring-core-3.1.1.RELEASE.jar:/root/.m2/repository/org/springframework/spring-asm/3.1.1.RELEASE/spring-asm-3.1.1.RELEASE.jar:/root/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar:/root/.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar:/root/.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA-sources.jar:/root/.m2/repository/com/google/gwt/gwt-dev/2.3.0/gwt-dev-2.3.0.jar:/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/frontend/webadmin/modules/gwt-extension/target/gwt-extension-3.3.0-SNAPSHOT-sources.jar:/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/frontend/webadmin/modules/uicommonweb/target/uicommonweb-3.3.0-SNAPSHOT-sources.jar com.google.gwt.dev.Compiler -gen /mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/frontend/webadmin/modules/webadmin/gen -logLevel INFO -style OBF -war /mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/frontend/webadmin/modules/webadmin/target/webadmin-3.3.0-SNAPSHOT -localWorkers 1 org.ovirt.engine.ui.webadmin.WebAdmin
[ERROR] ]] failed with status 1
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :webadmin
make[1]: *** [tmp.built] Error 1
make[1]: Leaving directory `/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0'
error: Bad exit status from /var/tmp/rpm-tmp.PWi3Y9 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.PWi3Y9 (%build)
make: *** [rpm] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20130327/aa015213/attachment-0001.html>
More information about the Users
mailing list