Open yfain opened 10 years ago
Do you want to send a pull request for removing these descriptors ?
Sorry Arun, I'm not familiar with Arquillian - it's somewhere there.
How are you trying to run the tests ?
Are you specifying the profile using -P as specified at https://github.com/javaee-samples/javaee7-samples ?
No, I just cloned the samples into IntelliJ IDEA fromGitHub and ran MyResourceTest from jaxrs-client. The jaxrs-endpoint is working fine inside IDEA/Wildfly.
Started WildFly 8.0 FINAL outside IDEA, right-clicked on jaxrs-client and selected "Run All Tests" and it showed:
/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/bin/java -ea -Didea.launcher.port=7534 "-Didea.launcher.bin.path=/Applications/IntelliJ IDEA 13.app/bin" -Dfile.encoding=UTF-8 -classpath "/Applications/IntelliJ IDEA 13.app/lib/idea_rt.jar:/Applications/IntelliJ IDEA 13.app/plugins/junit/lib/junit-rt.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/lib/ant-javafx.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/lib/javafx-doclet.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/lib/javafx-mx.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/htmlconverter.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/javaws.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/JObjC.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/management-agent.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/plugin.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/Users/arungupta/workspaces/javaee7-samples/jaxrs/jaxrs-client/target/test-classes:/Users/arungupta/workspaces/javaee7-samples/jaxrs/jaxrs-client/target/classes:/Users/arungupta/.m2/repository/javax/javaee-api/7.0/javaee-api-7.0.jar:/Users/arungupta/.m2/repository/com/sun/mail/javax.mail/1.5.0/javax.mail-1.5.0.jar:/Users/arungupta/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar:/Users/arungupta/.m2/repository/org/apache/derby/derby/10.8.2.2/derby-10.8.2.2.jar:/Users/arungupta/.m2/repository/junit/junit/4.11/junit-4.11.jar:/Users/arungupta/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/Users/arungupta/.m2/repository/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar:/Users/arungupta/.m2/repository/org/jboss/arquillian/junit/arquillian-junit-container/1.1.1.Final/arquillian-junit-container-1.1.1.Final.jar:/Users/arungupta/.m2/repository/org/jboss/arquillian/junit/arquillian-junit-core/1.1.1.Final/arquillian-junit-core-1.1.1.Final.jar:/Users/arungupta/.m2/repository/org/jboss/arquillian/test/arquillian-test-spi/1.1.1.Final/arquillian-test-spi-1.1.1.Final.jar:/Users/arungupta/.m2/repository/org/jboss/arquillian/core/arquillian-core-spi/1.1.1.Final/arquillian-core-spi-1.1.1.Final.jar:/Users/arungupta/.m2/repository/org/jboss/arquillian/core/arquillian-core-api/1.1.1.Final/arquillian-core-api-1.1.1.Final.jar:/Users/arungupta/.m2/repository/org/jboss/arquillian/test/arquillian-test-api/1.1.1.Final/arquillian-test-api-1.1.1.Final.jar:/Users/arungupta/.m2/repository/org/jboss/arquillian/container/arquillian-container-test-api/1.1.1.Final/arquillian-container-test-api-1.1.1.Final.jar:/Users/arungupta/.m2/repository/org/jboss/shrinkwrap/shrinkwrap-api/1.1.2/shrinkwrap-api-1.1.2.jar:/Users/arungupta/.m2/repository/org/jboss/arquillian/container/arquillian-container-test-spi/1.1.1.Final/arquillian-container-test-spi-1.1.1.Final.jar:/Users/arungupta/.m2/repository/org/jboss/arquillian/container/arquillian-container-spi/1.1.1.Final/arquillian-container-spi-1.1.1.Final.jar:/Users/arungupta/.m2/repository/org/jboss/arquillian/config/arquillian-config-api/1.1.1.Final/arquillian-config-api-1.1.1.Final.jar:/Users/arungupta/.m2/repository/org/jboss/shrinkwrap/descriptors/shrinkwrap-descriptors-api-base/2.0.0-alpha-3/shrinkwrap-descriptors-api-base-2.0.0-alpha-3.jar:/Users/arungupta/.m2/repository/org/jboss/arquillian/config/arquillian-config-impl-base/1.1.1.Final/arquillian-config-impl-base-1.1.1.Final.jar:/Users/arungupta/.m2/repository/org/jboss/shrinkwrap/descriptors/shrinkwrap-descriptors-spi/2.0.0-alpha-3/shrinkwrap-descriptors-spi-2.0.0-alpha-3.jar:/Users/arungupta/.m2/repository/org/jboss/arquillian/core/arquillian-core-impl-base/1.1.1.Final/arquillian-core-impl-base-1.1.1.Final.jar:/Users/arungupta/.m2/repository/org/jboss/arquillian/test/arquillian-test-impl-base/1.1.1.Final/arquillian-test-impl-base-1.1.1.Final.jar:/Users/arungupta/.m2/repository/org/jboss/arquillian/container/arquillian-container-impl-base/1.1.1.Final/arquillian-container-impl-base-1.1.1.Final.jar:/Users/arungupta/.m2/repository/org/jboss/arquillian/container/arquillian-container-test-impl-base/1.1.1.Final/arquillian-container-test-impl-base-1.1.1.Final.jar:/Users/arungupta/.m2/repository/org/jboss/shrinkwrap/shrinkwrap-impl-base/1.1.2/shrinkwrap-impl-base-1.1.2.jar:/Users/arungupta/.m2/repository/org/jboss/shrinkwrap/shrinkwrap-spi/1.1.2/shrinkwrap-spi-1.1.2.jar:/Users/arungupta/.m2/repository/org/jboss/arquillian/spock/arquillian-spock-container/1.0.0.Beta2/arquillian-spock-container-1.0.0.Beta2.jar:/Users/arungupta/.m2/repository/org/jboss/arquillian/spock/arquillian-spock-core/1.0.0.Beta2/arquillian-spock-core-1.0.0.Beta2.jar:/Users/arungupta/.m2/repository/org/jboss/arquillian/protocol/arquillian-protocol-servlet/1.1.1.Final/arquillian-protocol-servlet-1.1.1.Final.jar:/Users/arungupta/.m2/repository/org/jboss/shrinkwrap/resolver/shrinkwrap-resolver-impl-maven/2.0.0/shrinkwrap-resolver-impl-maven-2.0.0.jar:/Users/arungupta/.m2/repository/org/jboss/shrinkwrap/resolver/shrinkwrap-resolver-api-maven/2.0.0/shrinkwrap-resolver-api-maven-2.0.0.jar:/Users/arungupta/.m2/repository/org/jboss/shrinkwrap/resolver/shrinkwrap-resolver-api/2.0.0/shrinkwrap-resolver-api-2.0.0.jar:/Users/arungupta/.m2/repository/org/jboss/shrinkwrap/resolver/shrinkwrap-resolver-spi-maven/2.0.0/shrinkwrap-resolver-spi-maven-2.0.0.jar:/Users/arungupta/.m2/repository/org/jboss/shrinkwrap/resolver/shrinkwrap-resolver-spi/2.0.0/shrinkwrap-resolver-spi-2.0.0.jar:/Users/arungupta/.m2/repository/org/sonatype/aether/aether-api/1.13.1/aether-api-1.13.1.jar:/Users/arungupta/.m2/repository/org/sonatype/aether/aether-impl/1.13.1/aether-impl-1.13.1.jar:/Users/arungupta/.m2/repository/org/sonatype/aether/aether-spi/1.13.1/aether-spi-1.13.1.jar:/Users/arungupta/.m2/repository/org/sonatype/aether/aether-util/1.13.1/aether-util-1.13.1.jar:/Users/arungupta/.m2/repository/org/sonatype/aether/aether-connector-wagon/1.13.1/aether-connector-wagon-1.13.1.jar:/Users/arungupta/.m2/repository/org/apache/maven/maven-aether-provider/3.0.5/maven-aether-provider-3.0.5.jar:/Users/arungupta/.m2/repository/org/apache/maven/maven-model/3.0.5/maven-model-3.0.5.jar:/Users/arungupta/.m2/repository/org/apache/maven/maven-model-builder/3.0.5/maven-model-builder-3.0.5.jar:/Users/arungupta/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar:/Users/arungupta/.m2/repository/org/apache/maven/maven-repository-metadata/3.0.5/maven-repository-metadata-3.0.5.jar:/Users/arungupta/.m2/repository/org/apache/maven/maven-settings/3.0.5/maven-settings-3.0.5.jar:/Users/arungupta/.m2/repository/org/apache/maven/maven-settings-builder/3.0.5/maven-settings-builder-3.0.5.jar:/Users/arungupta/.m2/repository/org/codehaus/plexus/plexus-utils/2.0.6/plexus-utils-2.0.6.jar:/Users/arungupta/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.4/plexus-sec-dispatcher-1.4.jar:/Users/arungupta/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar:/Users/arungupta/.m2/repository/org/apache/maven/wagon/wagon-provider-api/2.4/wagon-provider-api-2.4.jar:/Users/arungupta/.m2/repository/org/apache/maven/wagon/wagon-file/2.4/wagon-file-2.4.jar:/Users/arungupta/.m2/repository/org/apache/maven/wagon/wagon-http-lightweight/2.4/wagon-http-lightweight-2.4.jar:/Users/arungupta/.m2/repository/org/apache/maven/wagon/wagon-http-shared4/2.4/wagon-http-shared4-2.4.jar:/Users/arungupta/.m2/repository/org/jsoup/jsoup/1.7.1/jsoup-1.7.1.jar:/Users/arungupta/.m2/repository/org/apache/httpcomponents/httpcore/4.3/httpcore-4.3.jar:/Users/arungupta/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar:/Users/arungupta/.m2/repository/org/spockframework/spock-core/0.7-groovy-2.0/spock-core-0.7-groovy-2.0.jar:/Users/arungupta/.m2/repository/junit/junit-dep/4.10/junit-dep-4.10.jar:/Users/arungupta/.m2/repository/org/codehaus/groovy/groovy-all/2.1.5/groovy-all-2.1.5.jar:/Users/arungupta/.m2/repository/xmlunit/xmlunit/1.5/xmlunit-1.5.jar:/Users/arungupta/.m2/repository/org/skyscreamer/jsonassert/1.2.1/jsonassert-1.2.1.jar:/Users/arungupta/.m2/repository/org/json/json/20131018/json-20131018.jar:/Users/arungupta/.m2/repository/httpunit/httpunit/1.7/httpunit-1.7.jar:/Users/arungupta/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar:/Users/arungupta/.m2/repository/jtidy/jtidy/4aug2000r7-dev/jtidy-4aug2000r7-dev.jar:/Users/arungupta/.m2/repository/net/sourceforge/htmlunit/htmlunit/2.13/htmlunit-2.13.jar:/Users/arungupta/.m2/repository/xalan/xalan/2.7.1/xalan-2.7.1.jar:/Users/arungupta/.m2/repository/xalan/serializer/2.7.1/serializer-2.7.1.jar:/Users/arungupta/.m2/repository/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar:/Users/arungupta/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/Users/arungupta/.m2/repository/org/apache/commons/commons-lang3/3.1/commons-lang3-3.1.jar:/Users/arungupta/.m2/repository/org/apache/httpcomponents/httpclient/4.3.1/httpclient-4.3.1.jar:/Users/arungupta/.m2/repository/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar:/Users/arungupta/.m2/repository/commons-codec/commons-codec/1.8/commons-codec-1.8.jar:/Users/arungupta/.m2/repository/org/apache/httpcomponents/httpmime/4.3.1/httpmime-4.3.1.jar:/Users/arungupta/.m2/repository/net/sourceforge/htmlunit/htmlunit-core-js/2.13/htmlunit-core-js-2.13.jar:/Users/arungupta/.m2/repository/xerces/xercesImpl/2.11.0/xercesImpl-2.11.0.jar:/Users/arungupta/.m2/repository/net/sourceforge/nekohtml/nekohtml/1.9.19/nekohtml-1.9.19.jar:/Users/arungupta/.m2/repository/net/sourceforge/cssparser/cssparser/0.9.11/cssparser-0.9.11.jar:/Users/arungupta/.m2/repository/org/w3c/css/sac/1.3/sac-1.3.jar:/Users/arungupta/.m2/repository/org/eclipse/jetty/jetty-websocket/8.1.12.v20130726/jetty-websocket-8.1.12.v20130726.jar:/Users/arungupta/.m2/repository/org/eclipse/jetty/jetty-util/8.1.12.v20130726/jetty-util-8.1.12.v20130726.jar:/Users/arungupta/.m2/repository/org/eclipse/jetty/jetty-io/8.1.12.v20130726/jetty-io-8.1.12.v20130726.jar:/Users/arungupta/.m2/repository/org/eclipse/jetty/jetty-http/8.1.12.v20130726/jetty-http-8.1.12.v20130726.jar:/Users/arungupta/.m2/repository/rhino/js/1.7R1/js-1.7R1.jar:/Users/arungupta/.m2/repository/com/jayway/awaitility/awaitility/1.3.5/awaitility-1.3.5.jar:/Users/arungupta/.m2/repository/cglib/cglib-nodep/2.2/cglib-nodep-2.2.jar:/Users/arungupta/.m2/repository/org/objenesis/objenesis/1.2/objenesis-1.2.jar:/Users/arungupta/.m2/repository/io/undertow/undertow-websockets-jsr/1.0.0.Beta25/undertow-websockets-jsr-1.0.0.Beta25.jar:/Users/arungupta/.m2/repository/io/undertow/undertow-core/1.0.0.Beta25/undertow-core-1.0.0.Beta25.jar:/Users/arungupta/.m2/repository/org/jboss/logging/jboss-logging/3.1.3.GA/jboss-logging-3.1.3.GA.jar:/Users/arungupta/.m2/repository/org/jboss/xnio/xnio-api/3.2.0.Beta2/xnio-api-3.2.0.Beta2.jar:/Users/arungupta/.m2/repository/org/jboss/xnio/xnio-nio/3.2.0.Beta2/xnio-nio-3.2.0.Beta2.jar:/Users/arungupta/.m2/repository/io/undertow/undertow-build-config/1.0.0.Beta25/undertow-build-config-1.0.0.Beta25.jar:/Users/arungupta/.m2/repository/io/undertow/undertow-servlet/1.0.0.Beta25/undertow-servlet-1.0.0.Beta25.jar:/Users/arungupta/.m2/repository/org/jboss/spec/javax/servlet/jboss-servlet-api_3.1_spec/1.0.0.Final/jboss-servlet-api_3.1_spec-1.0.0.Final.jar:/Users/arungupta/.m2/repository/org/jboss/spec/javax/annotation/jboss-annotations-api_1.2_spec/1.0.0.Alpha1/jboss-annotations-api_1.2_spec-1.0.0.Alpha1.jar:/Users/arungupta/.m2/repository/org/jboss/spec/javax/websocket/jboss-websocket-api_1.0_spec/1.0.0.Final/jboss-websocket-api_1.0_spec-1.0.0.Final.jar:/Users/arungupta/.m2/repository/org/jboss/resteasy/resteasy-client/3.0.5.Final/resteasy-client-3.0.5.Final.jar:/Users/arungupta/.m2/repository/org/jboss/resteasy/resteasy-jaxrs/3.0.5.Final/resteasy-jaxrs-3.0.5.Final.jar:/Users/arungupta/.m2/repository/org/jboss/resteasy/jaxrs-api/3.0.5.Final/jaxrs-api-3.0.5.Final.jar:/Users/arungupta/.m2/repository/org/scannotation/scannotation/1.0.3/scannotation-1.0.3.jar:/Users/arungupta/.m2/repository/javassist/javassist/3.12.1.GA/javassist-3.12.1.GA.jar:/Users/arungupta/.m2/repository/org/jboss/spec/javax/annotation/jboss-annotations-api_1.1_spec/1.0.1.Final/jboss-annotations-api_1.1_spec-1.0.1.Final.jar:/Users/arungupta/.m2/repository/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar:/Users/arungupta/.m2/repository/org/jboss/resteasy/resteasy-jaxb-provider/3.0.5.Final/resteasy-jaxb-provider-3.0.5.Final.jar:/Users/arungupta/.m2/repository/com/sun/xml/bind/jaxb-impl/2.2.7/jaxb-impl-2.2.7.jar:/Users/arungupta/.m2/repository/com/sun/xml/bind/jaxb-core/2.2.7/jaxb-core-2.2.7.jar:/Users/arungupta/.m2/repository/javax/xml/bind/jaxb-api/2.2.7/jaxb-api-2.2.7.jar:/Users/arungupta/.m2/repository/com/sun/istack/istack-commons-runtime/2.16/istack-commons-runtime-2.16.jar:/Users/arungupta/.m2/repository/com/sun/xml/fastinfoset/FastInfoset/1.2.12/FastInfoset-1.2.12.jar:/Users/arungupta/.m2/repository/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0.jar:/Users/arungupta/.m2/repository/org/jboss/resteasy/resteasy-json-p-provider/3.0.5.Final/resteasy-json-p-provider-3.0.5.Final.jar:/Users/arungupta/.m2/repository/javax/json/javax.json-api/1.0/javax.json-api-1.0.jar:/Users/arungupta/.m2/repository/org/glassfish/javax.json/1.0.3/javax.json-1.0.3.jar:/Users/arungupta/.m2/repository/org/wildfly/wildfly-arquillian-container-remote/8.0.0.CR1/wildfly-arquillian-container-remote-8.0.0.CR1.jar:/Users/arungupta/.m2/repository/org/wildfly/wildfly-arquillian-common/8.0.0.CR1/wildfly-arquillian-common-8.0.0.CR1.jar:/Users/arungupta/.m2/repository/org/jboss/arquillian/testenricher/arquillian-testenricher-cdi/1.1.1.Final/arquillian-testenricher-cdi-1.1.1.Final.jar:/Users/arungupta/.m2/repository/org/jboss/arquillian/testenricher/arquillian-testenricher-ejb/1.1.1.Final/arquillian-testenricher-ejb-1.1.1.Final.jar:/Users/arungupta/.m2/repository/org/jboss/arquillian/testenricher/arquillian-testenricher-initialcontext/1.1.1.Final/arquillian-testenricher-initialcontext-1.1.1.Final.jar:/Users/arungupta/.m2/repository/org/jboss/arquillian/testenricher/arquillian-testenricher-osgi/2.1.0.CR2/arquillian-testenricher-osgi-2.1.0.CR2.jar:/Users/arungupta/.m2/repository/org/jboss/arquillian/testenricher/arquillian-testenricher-resource/1.1.1.Final/arquillian-testenricher-resource-1.1.1.Final.jar:/Users/arungupta/.m2/repository/org/wildfly/wildfly-arquillian-testenricher-msc/8.0.0.CR1/wildfly-arquillian-testenricher-msc-8.0.0.CR1.jar:/Users/arungupta/.m2/repository/org/wildfly/wildfly-server/8.0.0.CR1/wildfly-server-8.0.0.CR1.jar:/Users/arungupta/.m2/repository/org/wildfly/wildfly-controller/8.0.0.CR1/wildfly-controller-8.0.0.CR1.jar:/Users/arungupta/.m2/repository/org/jboss/jboss-dmr/1.2.0.Final/jboss-dmr-1.2.0.Final.jar:/Users/arungupta/.m2/repository/org/wildfly/wildfly-controller-client/8.0.0.CR1/wildfly-controller-client-8.0.0.CR1.jar:/Users/arungupta/.m2/repository/org/wildfly/wildfly-protocol/8.0.0.CR1/wildfly-protocol-8.0.0.CR1.jar:/Users/arungupta/.m2/repository/org/jboss/marshalling/jboss-marshalling/1.4.2.Final/jboss-marshalling-1.4.2.Final.jar:/Users/arungupta/.m2/repository/org/jboss/remoting/jboss-remoting/4.0.0.Beta1/jboss-remoting-4.0.0.Beta1.jar:/Users/arungupta/.m2/repository/org/jboss/sasl/jboss-sasl/1.0.4.CR1/jboss-sasl-1.0.4.CR1.jar:/Users/arungupta/.m2/repository/org/jboss/threads/jboss-threads/2.1.1.Final/jboss-threads-2.1.1.Final.jar:/Users/arungupta/.m2/repository/org/wildfly/wildfly-build-config/8.0.0.CR1/wildfly-build-config-8.0.0.CR1.jar:/Users/arungupta/.m2/repository/org/wildfly/security/wildfly-security-manager/1.0.0.Beta3/wildfly-security-manager-1.0.0.Beta3.jar:/Users/arungupta/.m2/repository/org/wildfly/wildfly-core-security/8.0.0.CR1/wildfly-core-security-8.0.0.CR1.jar:/Users/arungupta/.m2/repository/org/jboss/modules/jboss-modules/1.3.0.Final/jboss-modules-1.3.0.Final.jar:/Users/arungupta/.m2/repository/org/jboss/msc/jboss-msc/1.2.0.CR1/jboss-msc-1.2.0.CR1.jar:/Users/arungupta/.m2/repository/org/jboss/logmanager/jboss-logmanager/1.5.0.Final/jboss-logmanager-1.5.0.Final.jar:/Users/arungupta/.m2/repository/org/jboss/staxmapper/1.1.0.Final/staxmapper-1.1.0.Final.jar:/Users/arungupta/.m2/repository/org/wildfly/wildfly-domain-http-interface/8.0.0.CR1/wildfly-domain-http-interface-8.0.0.CR1.jar:/Users/arungupta/.m2/repository/org/wildfly/wildfly-domain-management/8.0.0.CR1/wildfly-domain-management-8.0.0.CR1.jar:/Users/arungupta/.m2/repository/org/jboss/jboss-common-core/2.2.22.GA/jboss-common-core-2.2.22.GA.jar:/Users/arungupta/.m2/repository/org/wildfly/wildfly-deployment-repository/8.0.0.CR1/wildfly-deployment-repository-8.0.0.CR1.jar:/Users/arungupta/.m2/repository/org/jboss/jboss-vfs/3.2.2.Final/jboss-vfs-3.2.2.Final.jar:/Users/arungupta/.m2/repository/org/wildfly/wildfly-patching/8.0.0.CR1/wildfly-patching-8.0.0.CR1.jar:/Users/arungupta/.m2/repository/org/wildfly/wildfly-cli/8.0.0.CR1/wildfly-cli-8.0.0.CR1.jar:/Users/arungupta/.m2/repository/org/jboss/aesh/aesh/0.33.11/aesh-0.33.11.jar:/Users/arungupta/.m2/repository/org/fusesource/jansi/jansi/1.9/jansi-1.9.jar:/Users/arungupta/.m2/repository/org/jboss/remotingjmx/remoting-jmx/2.0.0.CR4/remoting-jmx-2.0.0.CR4.jar:/Users/arungupta/.m2/repository/org/jboss/marshalling/jboss-marshalling-river/1.4.2.Final/jboss-marshalling-river-1.4.2.Final.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bundle/Classes/jconsole.jar:/Users/arungupta/.m2/repository/org/wildfly/wildfly-version/8.0.0.CR1/wildfly-version-8.0.0.CR1.jar:/Users/arungupta/.m2/repository/org/wildfly/wildfly-platform-mbean/8.0.0.CR1/wildfly-platform-mbean-8.0.0.CR1.jar:/Users/arungupta/.m2/repository/org/wildfly/wildfly-process-controller/8.0.0.CR1/wildfly-process-controller-8.0.0.CR1.jar:/Users/arungupta/.m2/repository/org/wildfly/wildfly-remoting/8.0.0.CR1/wildfly-remoting-8.0.0.CR1.jar:/Users/arungupta/.m2/repository/org/wildfly/wildfly-network/8.0.0.CR1/wildfly-network-8.0.0.CR1.jar:/Users/arungupta/.m2/repository/org/jboss/jandex/1.1.0.Final/jandex-1.1.0.Final.jar:/Users/arungupta/.m2/repository/org/jboss/invocation/jboss-invocation/1.2.0.Beta4/jboss-invocation-1.2.0.Beta4.jar:/Users/arungupta/.m2/repository/org/jboss/stdio/jboss-stdio/1.0.2.GA/jboss-stdio-1.0.2.GA.jar:/Users/arungupta/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/Users/arungupta/.m2/repository/org/wildfly/wildfly-jmx/8.0.0.CR1/wildfly-jmx-8.0.0.CR1.jar:/Users/arungupta/.m2/repository/org/wildfly/wildfly-naming/8.0.0.CR1/wildfly-naming-8.0.0.CR1.jar:/Users/arungupta/.m2/repository/org/jboss/jboss-remote-naming/2.0.0.Beta2/jboss-remote-naming-2.0.0.Beta2.jar:/Users/arungupta/.m2/repository/org/jboss/jboss-ejb-client/1.0.13.Final/jboss-ejb-client-1.0.13.Final.jar:/Users/arungupta/.m2/repository/org/osgi/org.osgi.core/5.0.0/org.osgi.core-5.0.0.jar:/Users/arungupta/.m2/repository/org/wildfly/wildfly-arquillian-protocol-jmx/8.0.0.CR1/wildfly-arquillian-protocol-jmx-8.0.0.CR1.jar:/Users/arungupta/.m2/repository/org/jboss/arquillian/protocol/arquillian-protocol-jmx/1.1.1.Final/arquillian-protocol-jmx-1.1.1.Final.jar:/Users/arungupta/.m2/repository/org/jboss/osgi/metadata/jbosgi-metadata/3.0.1.Final/jbosgi-metadata-3.0.1.Final.jar" com.intellij.rt.execution.application.AppMain com.intellij.rt.execution.junit.JUnitStarter -ideVersion5 @/private/var/folders/3v/syxsk5zx3yqd_8g9m206py_h0000gn/T/idea_junit1087405207344059617.tmp @w@/private/var/folders/3v/syxsk5zx3yqd_8g9m206py_h0000gn/T/idea_working_dirs_junit6146534313287707972.tmp -socket64625
Apr 14, 2014 12:09:31 PM org.xnio.Xnio
Process finished with exit code 0
How are you running the test ?
Hi Arun,
I am also getting similar error. Can you please share the pom file entries for glassfish 4 integration.
org.jboss.arquillian.container.spi.client.container.LifecycleException: Could not connect to DAS on: http://localhost:4848 | Connection refused: connect at org.jboss.arquillian.container.glassfish.CommonGlassFishManager.start(CommonGlassFishManager.java:77) at org.jboss.arquillian.container.glassfish.remote_3_1.GlassFishRestDeployableContainer.start(GlassFishRestDeployableContainer.java:59) at org.jboss.arquillian.container.impl.ContainerImpl.start(ContainerImpl.java:199) at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$8.perform(ContainerLifecycleController.java:163) at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$8.perform(ContainerLifecycleController.java:157) at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.forContainer(ContainerLifecycleController.java:255) at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.startContainer(ContainerLifecycleController.java:156)
Here is what I see:
jaxrs-client> mvn test -Pglassfish-remote-arquillian
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building jaxrs-client 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (default) @ jaxrs-client ---
[INFO]
[INFO] --- groovy-eclipse-compiler:2.8.0-01:add-groovy-build-paths (default-add-groovy-build-paths) @ jaxrs-client ---
[INFO] Adding /src/main/groovy to the list of source folders
[INFO] Adding /src/test/groovy to the list of test source folders
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ jaxrs-client ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/arungupta/workspaces/javaee7-samples/jaxrs/jaxrs-client/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ jaxrs-client ---
[INFO] Changes detected - recompiling the module!
[INFO] Using Groovy-Eclipse compiler to compile both Java and Groovy files
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ jaxrs-client ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/arungupta/workspaces/javaee7-samples/jaxrs/jaxrs-client/src/test/resources
[INFO] skip non existing resourceDirectory /Users/arungupta/workspaces/javaee7-samples/jaxrs/jaxrs-client/src/test/resources
[INFO] skip non existing resourceDirectory /Users/arungupta/workspaces/javaee7-samples/jaxrs/jaxrs-client/src/test/resources-glassfish-remote
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ jaxrs-client ---
[INFO] Changes detected - recompiling the module!
[INFO] Using Groovy-Eclipse compiler to compile both Java and Groovy files
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ jaxrs-client ---
[INFO] Surefire report directory: /Users/arungupta/workspaces/javaee7-samples/jaxrs/jaxrs-client/target/surefire-reports
Running org.javaee7.jaxrs.client.MyResourceTest Tests run: 6, Failures: 1, Errors: 3, Skipped: 0, Time elapsed: 8.342 sec <<< FAILURE! - in org.javaee7.jaxrs.client.MyResourceTest test2GetSingle(org.javaee7.jaxrs.client.MyResourceTest) Time elapsed: 0.008 sec <<< ERROR! java.lang.AbstractMethodError: javax.ws.rs.core.UriBuilder.resolveTemplate(Ljava/lang/String;Ljava/lang/Object;Z)Ljavax/ws/rs/core/UriBuilder; at org.glassfish.jersey.client.JerseyWebTarget.resolveTemplate(JerseyWebTarget.java:247) at org.glassfish.jersey.client.JerseyWebTarget.resolveTemplate(JerseyWebTarget.java:238) at org.glassfish.jersey.client.JerseyWebTarget.resolveTemplate(JerseyWebTarget.java:60) at org.javaee7.jaxrs.client.MyResourceTest.test2GetSingle(MyResourceTest.java:94)
test4Delete(org.javaee7.jaxrs.client.MyResourceTest) Time elapsed: 0.003 sec <<< ERROR! java.lang.AbstractMethodError: javax.ws.rs.core.UriBuilder.resolveTemplate(Ljava/lang/String;Ljava/lang/Object;Z)Ljavax/ws/rs/core/UriBuilder; at org.glassfish.jersey.client.JerseyWebTarget.resolveTemplate(JerseyWebTarget.java:247) at org.glassfish.jersey.client.JerseyWebTarget.resolveTemplate(JerseyWebTarget.java:238) at org.glassfish.jersey.client.JerseyWebTarget.resolveTemplate(JerseyWebTarget.java:60) at org.javaee7.jaxrs.client.MyResourceTest.test4Delete(MyResourceTest.java:125)
test5ClientSideNegotiation(org.javaee7.jaxrs.client.MyResourceTest) Time elapsed: 0.253 sec <<< FAILURE! org.junit.ComparisonFailure: expected:<[{"[name":"Penny","age":1},{"name":"Leonard","age":2},{"name":"Sheldon","age":3]}]> but was:<[{"[age":1,"name":"Penny"},{"age":2,"name":"Leonard"},{"age":3,"name":"Sheldon"},{"age":4,"name":"Howard"]}]> at org.junit.Assert.assertEquals(Assert.java:115) at org.junit.Assert.assertEquals(Assert.java:144) at org.javaee7.jaxrs.client.MyResourceTest.test5ClientSideNegotiation(MyResourceTest.java:135)
test6DeleteAll(org.javaee7.jaxrs.client.MyResourceTest) Time elapsed: 0.029 sec <<< ERROR! java.lang.AbstractMethodError: javax.ws.rs.core.UriBuilder.resolveTemplate(Ljava/lang/String;Ljava/lang/Object;Z)Ljavax/ws/rs/core/UriBuilder; at org.glassfish.jersey.client.JerseyWebTarget.resolveTemplate(JerseyWebTarget.java:247) at org.glassfish.jersey.client.JerseyWebTarget.resolveTemplate(JerseyWebTarget.java:238) at org.glassfish.jersey.client.JerseyWebTarget.resolveTemplate(JerseyWebTarget.java:60) at org.javaee7.jaxrs.client.MyResourceTest.test6DeleteAll(MyResourceTest.java:144)
Results :
Failed tests: MyResourceTest.test5ClientSideNegotiation:135 expected:<[{"[name":"Penny","age":1},{"name":"Leonard","age":2},{"name":"Sheldon","age":3]}]> but was:<[{"[age":1,"name":"Penny"},{"age":2,"name":"Leonard"},{"age":3,"name":"Sheldon"},{"age":4,"name":"Howard"]}]>
Tests in error: MyResourceTest.test2GetSingle:94 » AbstractMethod javax.ws.rs.core.UriBuilder.... MyResourceTest.test4Delete:125 » AbstractMethod javax.ws.rs.core.UriBuilder.re... MyResourceTest.test6DeleteAll:144 » AbstractMethod javax.ws.rs.core.UriBuilder...
Tests run: 6, Failures: 1, Errors: 3, Skipped: 0
[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10.866 s [INFO] Finished at: 2014-10-21T20:48:17-04:00 [INFO] Final Memory: 16M/306M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project jaxrs-client: There are test failures. [ERROR] [ERROR] Please refer to /Users/arungupta/workspaces/javaee7-samples/jaxrs/jaxrs-client/target/surefire-reports for the individual test results. [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/MojoFailureException
Tried to run jaxrs-client, against jBoss Wildfly server. Got this exception:
org.jboss.arquillian.container.glassfish.CommonGlassFishManager start SEVERE: Could not connect to DAS on: http://localhost:4848 | Connection refused