<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div>hi, alonbl</div><div>error remain. even i use Dgwt.compiler.localWorkers=1.</div><div>more error messages i copy here. it show the call stacks.</div><div>please have a look.</div><div><pre style="color: rgb(0, 0, 0); text-transform: none; line-height: normal; text-indent: 0px; letter-spacing: normal; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">command i use:</pre><pre style="color: rgb(0, 0, 0); text-transform: none; line-height: normal; text-indent: 0px; letter-spacing: normal; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">mvn clean install -e -Pgwt-admin,dep -DskipTests=true -Dgwt.user.agent=gecko -Duser.agent=gecko -Dgwt.userAgent=gecko -Dgwt.compiler.localWorkers=1</pre><pre style="color: rgb(0, 0, 0); text-transform: none; line-height: normal; text-indent: 0px; letter-spacing: normal; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"> </pre></div><div>many thinks</div><div> </div><div>[INFO] oVirt GWT UI common infrastructure ................ SUCCESS [26.364s]<br>[INFO] WebAdmin .......................................... FAILURE [29.023s]<br>[INFO] UserPortal ........................................ SKIPPED<br>[INFO] oVirt Server EAR .................................. SKIPPED<br>[INFO] ------------------------------------------------------------------------<br>[INFO] BUILD FAILURE<br>[INFO] ------------------------------------------------------------------------<br>[INFO] Total time: 4:30.293s<br>[INFO] Finished at: Wed Mar 27 19:00:58 CST 2013<br>[INFO] Final Memory: 148M/355M<br>[INFO] ------------------------------------------------------------------------<br>[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.3.0:compile (gwtcompile) on project webadmin: Command [[</div><div>]] failed with status 1<br> at org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo$JavaCommand.execute(AbstractGwtShellMojo.java:422)<br> at org.codehaus.mojo.gwt.shell.CompileMojo.compile(CompileMojo.java:301)<br> at org.codehaus.mojo.gwt.shell.CompileMojo.doExecute(CompileMojo.java:224)<br> at org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo.execute(AbstractGwtShellMojo.java:134)<br> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)<br> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)</div><div> </div><div>[ERROR] ]] failed with status 1<br>[ERROR] -> [Help 1]<br>org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.3.0:compile (gwtcompile) on project webadmin: Command <br></div><div>gLevel INFO -style OBF -war /mnt/ovirt-engine/frontend/webadmin/modules/webadmin/target/webadmin-3.3.0-SNAPSHOT -localWorkers 1 org.ovirt.engine.ui.webadmin.WebAdmin<br>]] failed with status 1<br> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)<br> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)<br> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)<br> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)<br> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)<br> at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)<br> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)<br> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)<br> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)<br> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)<br> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)<br> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)<br> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br> at java.lang.reflect.Method.invoke(Method.java:601)<br> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)<br> at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)<br> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)<br> at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)<br>Caused by: org.codehaus.mojo.gwt.shell.ForkedProcessExecutionException: Command [[<br><br><br>----------------------------------------------------------------------------------------------------------------</div><div></div><div id="divNeteaseMailCard"></div><div></div><pre><br>At 2013-03-27 15:58:38,"Alon Bar-Lev" <alonbl@redhat.com> wrote:
>Try to add -Dgwt-plugin.localWorkers=1 to gwt-plugin.extraJvmArgs or RPMBUILD_EXTRA_ARGS="-D..." at make command.
>
>----- Original Message -----
>> From: "bigclouds" <bigclouds@163.com>
>> To: users@ovirt.org
>> Sent: Wednesday, March 27, 2013 4:57:31 AM
>> Subject: [Users] make engine rpm error
>>
>>
>>
>>
>> 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/co
>> mpat/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/j
>> avax/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 Ma ven 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
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
</pre></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>