[ovirt-devel] [ENGINE] - failure to debug GWT
Yair Zaslavsky
yzaslavs at redhat.com
Tue Sep 2 02:14:01 UTC 2014
Hi all,
Maybe one can help me in strange debugging issues I have?
I am running the debug server using the following line -
make gwt-debug DEBUG_MODULE=webadmin DEV_EXTRA_BUILD_FLAGS="-Dgwt.persistentunitcache=false"
The server listens on port 8000 as expected.
I then connect from Eclipse (using remote debug) to port 8000 - and the server crashes, this is what I see -
http://pastebin.com/twapYa9N
Can anyone help with this?
Thanks,
Yair
(I will also paste here the output) -
ERROR] [AppClassLoader at 7ffe9999] info AspectJ Weaver Version 1.6.11 built on Tuesday Mar 15, 2011 at 15:31:04 GMT
[ERROR] [AppClassLoader at 7ffe9999] info register classloader sun.misc.Launcher$AppClassLoader at 7ffe9999
[ERROR] [AppClassLoader at 7ffe9999] info using configuration file:/home/yzaslavs/.m2/upstream_repository/org/ovirt/engine/ui/gwt-extension/3.6.0-SNAPSHOT/gwt-extension-3.6.0-SNAPSHOT.jar!/META-INF/aop.xml
[ERROR] [AppClassLoader at 7ffe9999] info using configuration file:/home/yzaslavs/.m2/upstream_repository/org/ovirt/engine/ui/gwt-extension/3.6.0-SNAPSHOT/gwt-extension-3.6.0-SNAPSHOT-sources.jar!/META-INF/aop.xml
[ERROR] [AppClassLoader at 7ffe9999] info register aspect org.ovirt.engine.ui.gwtextension.DontPrune
[ERROR] [AppClassLoader at 7ffe9999] info register aspect org.ovirt.engine.ui.gwtextension.DontPrune
[ERROR] -bindAddress host "0.0.0.0" unknown
[ERROR] Google Web Toolkit 2.5.1
[ERROR] DevMode [-noserver] [-port port-number | "auto"] [-whitelist whitelist-string] [-blacklist blacklist-string] [-logdir directory] [-logLevel level] [-gen dir] [-bindAddress host-name-or-address] [-codeServerPort port-number | "auto"] [-server servletContainerLauncher[:args]] [-startupUrl url] [-war dir] [-deploy dir] [-extra dir] [-workDir dir] module[s]
[ERROR]
[ERROR] where
[ERROR] -noserver Prevents the embedded web server from running
[ERROR] -port Specifies the TCP port for the embedded web server (defaults to 8888)
[ERROR] -whitelist Allows the user to browse URLs that match the specified regexes (comma or space separated)
[ERROR] -blacklist Prevents the user browsing URLs that match the specified regexes (comma or space separated)
[ERROR] -logdir Logs to a file in the given directory, as well as graphically
[ERROR] -logLevel The level of logging detail: ERROR, WARN, INFO, TRACE, DEBUG, SPAM, or ALL
[ERROR] -gen Debugging: causes normally-transient generated types to be saved in the specified directory
[ERROR] -bindAddress Specifies the bind address for the code server and web server (defaults to 127.0.0.1)
[ERROR] -codeServerPort Specifies the TCP port for the code server (defaults to 9997)
[ERROR] -server Specify a different embedded web server to run (must implement ServletContainerLauncher)
[ERROR] -startupUrl Automatically launches the specified URL
[ERROR] -war The directory into which deployable output files will be written (defaults to 'war')
[ERROR] -deploy The directory into which deployable but not servable output files will be written (defaults to 'WEB-INF/deploy' under the -war directory/jar, and may be the same as the -extra directory/jar)
[ERROR] -extra The directory into which extra files, not intended for deployment, will be written
[ERROR] -workDir The compiler's working directory for internal use (must be writeable; defaults to a system temp dir)
[ERROR] and
[ERROR] module[s] Specifies the name(s) of the module(s) to host
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6:07.100s
[INFO] Finished at: Tue Sep 02 04:51:20 IDT 2014
[INFO] Final Memory: 56M/653M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "gwt-user" could not be activated because it does not exist.
[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.4.0:debug (default-cli) on project webadmin: Command [[
[ERROR] /bin/sh -c /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25.x86_64/jre/bin/java -javaagent:/home/yzaslavs/.m2/upstream_repository/org/aspectj/aspectjweaver/1.6.11/aspectjweaver-1.6.11.jar -Xms1024M -Xmx4096M -XX:PermSize=512M -XX:MaxPermSize=1024M \
[ERROR] -Dgwt.jjs.permutationWorkerFactory=com.google.gwt.dev.ThreadedPermutationWorkerFactory \
[ERROR] -Dgwt.jjs.maxThreads=4 \
[ERROR] -Djava.io.tmpdir="/home/yzaslavs/work/ovirt_git/ovirt-engine/frontend/webadmin/modules/webadmin/target/tmp" \
[ERROR] -Djava.util.prefs.systemRoot="/home/yzaslavs/work/ovirt_git/ovirt-engine/frontend/webadmin/modules/webadmin/target/tmp/.java" \
[ERROR] -Djava.util.prefs.userRoot="/home/yzaslavs/work/ovirt_git/ovirt-engine/frontend/webadmin/modules/webadmin/target/tmp/.java" '-Dgwt.dontPrune=org\.ovirt\.engine\.core\.(common|compat)\..*' -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=y -classpath /home/yzaslavs/work/ovirt_git/ovirt-engine/frontend/webadmin/modules/webadmin/src/main/java:/home/yzaslavs/work/ovirt_git/ovirt-engine/frontend/webadmin/modules/webadmin/target/generated-sources/annotations:/home/yzaslavs/work/ovirt_git/ovirt-engine/frontend/webadmin/modules/webadmin/target/generated-sources/gwt:/home/yzaslavs/work/ovirt_git/ovirt-engine/frontend/webadmin/modules/uicommonweb/src/main/java:/home/yzaslavs/work/ovirt_git/ovirt-engine/frontend/webadmin/modules/gwt-extension/src/main/java:/home/yzaslavs/work/ovirt_git/ovirt-engine/frontend/webadmin/modules/frontend/src/main/java:/home/yzaslavs/work/ovirt_git/ovirt-engine/frontend/webadmin/modules/gwt-common/src/main/java:/home/yzaslavs/work/ovirt_git/ovirt-engine/frontend/webadmin/modules/gwt-common/target/generated-sources/annotations:/home/yzaslavs/work/ovirt_git/ovirt-engine/frontend/webadmin/modules/webadmin/src/main/resources:/home/yzaslavs/work/ovirt_git/ovirt-engine/frontend/webadmin/modules/webadmin/../gwt-common/src/main/resources:/home/yzaslavs/work/ovirt_git/ovirt-engine/frontend/webadmin/modules/webadmin/target/webadmin-3.6.0-SNAPSHOT/WEB-INF/classes:/home/yzaslavs/.m2/upstream_repository/com/google/gwt/gwt-user/2.5.1/gwt-user-2.5.1.jar:/home/yzaslavs/.m2/upstream_repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar:/home/yzaslavs/.m2/upstream_repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA-sources.jar:/home/yzaslavs/.m2/upstream_repository/org/json/json/20090211/json-20090211.jar:/home/yzaslavs/.m2/upstream_repository/com/google/gwt/gwt-dev/2.5.1/gwt-dev-2.5.1.jar:/home/yzaslavs/.m2/upstream_repository/com/google/gwt/gwt-servlet/2.5.1/gwt-servlet-2.5.1.jar:/home/yzaslavs/.m2/upstream_repository/org/gwtbootstrap3/gwtbootstrap3/0.6/gwtbootstrap3-0.6.jar:/home/yzaslavs/.m2/upstream_repository/com/gwtplatform/gwtp-mvp-client/1.0/gwtp-mvp-client-1.0.jar:/home/yzaslavs/.m2/upstream_repository/com/gwtplatform/gwtp-clients-common/1.0/gwtp-clients-common-1.0.jar:/home/yzaslavs/.m2/upstream_repository/org/apache/velocity/velocity/1.7/velocity-1.7.jar:/home/yzaslavs/.m2/upstream_repository/com/gwtplatform/gwtp-processors/1.0/gwtp-processors-1.0.jar:/home/yzaslavs/.m2/upstream_repository/com/google/inject/guice/3.0/guice-3.0.jar:/home/yzaslavs/.m2/upstream_repository/javax/inject/javax.inject/1/javax.inject-1.jar:/home/yzaslavs/.m2/upstream_repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/home/yzaslavs/.m2/upstream_repository/com/google/inject/extensions/guice-assistedinject/3.0/guice-assistedinject-3.0.jar:/home/yzaslavs/.m2/upstream_repository/com/google/gwt/inject/gin/2.0.0/gin-2.0.0.jar:/home/yzaslavs/.m2/upstream_repository/org/ovirt/engine/ui/uicommonweb/3.6.0-SNAPSHOT/uicommonweb-3.6.0-SNAPSHOT.jar:/home/yzaslavs/.m2/upstream_repository/org/ovirt/engine/core/searchbackend/3.6.0-SNAPSHOT/searchbackend-3.6.0-SNAPSHOT.jar:/home/yzaslavs/.m2/upstream_repository/org/ovirt/engine/ui/uicompat/3.6.0-SNAPSHOT/uicompat-3.6.0-SNAPSHOT.jar:/home/yzaslavs/.m2/upstream_repository/org/ovirt/engine/core/common/3.6.0-SNAPSHOT/common-3.6.0-SNAPSHOT-sources.jar:/home/yzaslavs/.m2/upstream_repository/org/ovirt/engine/core/compat/3.6.0-SNAPSHOT/compat-3.6.0-SNAPSHOT-sources.jar:/home/yzaslavs/.m2/upstream_repository/org/ovirt/engine/core/searchbackend/3.6.0-SNAPSHOT/searchbackend-3.6.0-SNAPSHOT-sources.jar:/home/yzaslavs/.m2/upstream_repository/org/ovirt/engine/ui/gwt-common/3.6.0-SNAPSHOT/gwt-common-3.6.0-SNAPSHOT.jar:/home/yzaslavs/.m2/upstream_repository/org/ovirt/engine/ui/frontend/3.6.0-SNAPSHOT/frontend-3.6.0-SNAPSHOT.jar:/home/yzaslavs/.m2/upstream_repository/org/ovirt/engine/ui/gwt-extension/3.6.0-SNAPSHOT/gwt-extension-3.6.0-SNAPSHOT.jar:/home/yzaslavs/.m2/upstream_repository/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar:/home/yzaslavs/.m2/upstream_repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar:/home/yzaslavs/.m2/upstream_repository/javax/activation/activation/1.1/activation-1.1.jar:/home/yzaslavs/.m2/upstream_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:/home/yzaslavs/.m2/upstream_repository/org/jboss/spec/javax/servlet/jstl/jboss-jstl-api_1.2_spec/1.0.3.Final/jboss-jstl-api_1.2_spec-1.0.3.Final.jar:/home/yzaslavs/.m2/upstream_repository/org/jboss/spec/javax/el/jboss-el-api_2.2_spec/1.0.1.Final/jboss-el-api_2.2_spec-1.0.1.Final.jar:/home/yzaslavs/.m2/upstream_repository/org/jboss/spec/javax/servlet/jsp/jboss-jsp-api_2.2_spec/1.0.1.Final/jboss-jsp-api_2.2_spec-1.0.1.Final.jar:/home/yzaslavs/.m2/upstream_repository/xalan/xalan/2.7.1.jbossorg-2/xalan-2.7.1.jbossorg-2.jar:/home/yzaslavs/.m2/upstream_repository/xalan/serializer/2.7.1.jbossorg-2/serializer-2.7.1.jbossorg-2.jar:/home/yzaslavs/.m2/upstream_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:/home/yzaslavs/.m2/upstream_repository/org/aspectj/aspectjweaver/1.6.11/aspectjweaver-1.6.11.jar:/home/yzaslavs/.m2/upstream_repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar:/home/yzaslavs/.m2/upstream_repository/log4j/log4j/1.2.16/log4j-1.2.16.jar:/home/yzaslavs/.m2/upstream_repository/logkit/logkit/1.0.1/logkit-1.0.1.jar:/home/yzaslavs/.m2/upstream_repository/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.jar:/home/yzaslavs/.m2/upstream_repository/org/ovirt/engine/core/utils/3.6.0-SNAPSHOT/utils-3.6.0-SNAPSHOT.jar:/home/yzaslavs/.m2/upstream_repository/org/ovirt/engine/api/ovirt-engine-extensions-api/0.0.0-SNAPSHOT/ovirt-engine-extensions-api-0.0.0-SNAPSHOT.jar:/home/yzaslavs/.m2/upstream_repository/org/ovirt/engine/core/extensions-manager/3.6.0-SNAPSHOT/extensions-manager-3.6.0-SNAPSHOT.jar:/home/yzaslavs/.m2/upstream_repository/org/jboss/modules/jboss-modules/1.1.1.GA/jboss-modules-1.1.1.GA.jar:/home/yzaslavs/.m2/upstream_repository/org/slf4j/slf4j-jdk14/1.7.5/slf4j-jdk14-1.7.5.jar:/home/yzaslavs/.m2/upstream_repository/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar:/home/yzaslavs/.m2/upstream_repository/commons-beanutils/commons-beanutils/1.8.2/commons-beanutils-1.8.2.jar:/home/yzaslavs/.m2/upstream_repository/commons-collections/commons-collections/3.1/commons-collections-3.1.jar:/home/yzaslavs/.m2/upstream_repository/org/ovirt/engine/core/compat/3.6.0-SNAPSHOT/compat-3.6.0-SNAPSHOT.jar:/home/yzaslavs/.m2/upstream_repository/org/ovirt/otopi/otopi/1.2.0/otopi-1.2.0.jar:/home/yzaslavs/.m2/upstream_repository/org/ovirt/ovirt-host-deploy/ovirt-host-deploy/1.3.0-master-SNAPSHOT/ovirt-host-deploy-1.3.0-master-SNAPSHOT.jar:/home/yzaslavs/.m2/upstream_repository/org/apache/commons/commons-compress/1.4.1/commons-compress-1.4.1.jar:/home/yzaslavs/.m2/upstream_repository/org/tukaani/xz/1.0/xz-1.0.jar:/home/yzaslavs/.m2/upstream_repository/org/ovirt/engine/core/uutils/3.6.0-SNAPSHOT/uutils-3.6.0-SNAPSHOT.jar:/home/yzaslavs/.m2/upstream_repository/org/apache/sshd/sshd-core/0.11.0/sshd-core-0.11.0.jar:/home/yzaslavs/.m2/upstream_repository/org/apache/mina/mina-core/2.0.7/mina-core-2.0.7.jar:/home/yzaslavs/.m2/upstream_repository/org/ovirt/engine/core/common/3.6.0-SNAPSHOT/common-3.6.0-SNAPSHOT.jar:/home/yzaslavs/.m2/upstream_repository/org/hibernate/hibernate-validator/4.0.2.GA/hibernate-validator-4.0.2.GA.jar:/home/yzaslavs/.m2/upstream_repository/com/sun/xml/bind/jaxb-impl/2.1.3/jaxb-impl-2.1.3.jar:/home/yzaslavs/.m2/upstream_repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar:/home/yzaslavs/.m2/upstream_repository/commons-codec/commons-codec/1.4/commons-codec-1.4.jar:/home/yzaslavs/.m2/upstream_repository/org/apache/xmlrpc/xmlrpc-client/3.1.3/xmlrpc-client-3.1.3.jar:/home/yzaslavs/.m2/upstream_repository/org/apache/xmlrpc/xmlrpc-common/3.1.3/xmlrpc-common-3.1.3.jar:/home/yzaslavs/.m2/upstream_repository/org/apache/ws/commons/util/ws-commons-util/1.0.2/ws-commons-util-1.0.2.jar:/home/yzaslavs/.m2/upstream_repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar:/home/yzaslavs/.m2/upstream_repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar:/home/yzaslavs/.m2/upstream_repository/org/codehaus/jackson/jackson-core-asl/1.9.9/jackson-core-asl-1.9.9.jar:/home/yzaslavs/.m2/upstream_repository/org/codehaus/jackson/jackson-mapper-asl/1.9.9/jackson-mapper-asl-1.9.9.jar:/home/yzaslavs/.m2/upstream_repository/org/springframework/spring-core/3.1.1.RELEASE/spring-core-3.1.1.RELEASE.jar:/home/yzaslavs/.m2/upstream_repository/org/springframework/spring-asm/3.1.1.RELEASE/spring-asm-3.1.1.RELEASE.jar:/home/yzaslavs/.m2/upstream_repository/org/infinispan/infinispan-core/5.2.5.Final/infinispan-core-5.2.5.Final.jar:/home/yzaslavs/.m2/upstream_repository/org/jgroups/jgroups/3.2.7.Final/jgroups-3.2.7.Final.jar:/home/yzaslavs/.m2/upstream_repository/org/jboss/spec/javax/transaction/jboss-transaction-api_1.1_spec/1.0.0.Final/jboss-transaction-api_1.1_spec-1.0.0.Final.jar:/home/yzaslavs/.m2/upstream_repository/org/jboss/marshalling/jboss-marshalling-river/1.3.15.GA/jboss-marshalling-river-1.3.15.GA.jar:/home/yzaslavs/.m2/upstream_repository/org/jboss/marshalling/jboss-marshalling/1.3.15.GA/jboss-marshalling-1.3.15.GA.jar:/home/yzaslavs/.m2/upstream_repository/org/jboss/logging/jboss-logging/3.1.1.GA/jboss-logging-3.1.1.GA.jar:/home/yzaslavs/.m2/upstream_repository/org/jboss/staxmapper/1.1.0.Final/staxmapper-1.1.0.Final.jar:/home/yzaslavs/.m2/upstream_repository/com/woorea/keystone-client/3.0.5/keystone-client-3.0.5.jar:/home/yzaslavs/.m2/upstream_repository/com/woorea/openstack-client/3.0.5/openstack-client-3.0.5.jar:/home/yzaslavs/.m2/upstream_repository/com/woorea/keystone-model/3.0.5/keystone-model-3.0.5.jar:/home/yzaslavs/.m2/upstream_repository/com/woorea/glance-client/3.0.5/glance-client-3.0.5.jar:/home/yzaslavs/.m2/upstream_repository/com/woorea/glance-model/3.0.5/glance-model-3.0.5.jar:/home/yzaslavs/.m2/upstream_repository/org/ovirt/engine/core/branding/3.6.0-SNAPSHOT/branding-3.6.0-SNAPSHOT.jar:/home/yzaslavs/.m2/upstream_repository/org/ovirt/engine/ui/gwt-extension/3.6.0-SNAPSHOT/gwt-extension-3.6.0-SNAPSHOT-sources.jar:/home/yzaslavs/.m2/upstream_repository/org/ovirt/engine/ui/uicommonweb/3.6.0-SNAPSHOT/uicommonweb-3.6.0-SNAPSHOT-sources.jar:/home/yzaslavs/.m2/upstream_repository/com/google/gwt/gwt-user/2.5.1/gwt-user-2.5.1.jar:/home/yzaslavs/.m2/upstream_repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar:/home/yzaslavs/.m2/upstream_repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA-sources.jar:/home/yzaslavs/.m2/upstream_repository/com/google/gwt/gwt-dev/2.5.1/gwt-dev-2.5.1.jar com.google.gwt.dev.DevMode -war /home/yzaslavs/work/ovirt_git/ovirt-engine/frontend/webadmin/modules/webadmin/target/webadmin-3.6.0-SNAPSHOT -gen /home/yzaslavs/work/ovirt_git/ovirt-engine/frontend/webadmin/modules/webadmin/gen -logLevel INFO -port 8080 -startupUrl ovirt-engine/webadmin/WebAdmin.html -noserver -bindAddress 0.0.0.0 org.ovirt.engine.ui.webadmin.WebAdmin
[ERROR] ]] failed with status 255
[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
make: *** [gwt-debug] Error 1
More information about the Devel
mailing list