openwebbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "l.penet@senat.fr" <l.pe...@senat.fr>
Subject Re: Testing a REST service implemented using Jersey 2.17 and OWB 1.2.17
Date Thu, 07 May 2015 08:45:21 GMT
On 06/05/2015 21:06, Mark Struberg wrote:
> Hi Ludovic!
>
> Not quite sure where you did put your openwebbeans libraries. Cananot find them in your
dependency tree.
Sorry, here is the right one :

[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ rest ---
[INFO] fr.senat.presences:rest:war:1.0-SNAPSHOT
[INFO] +- fr.senat.presences:presences-nonjsf-utils:jar:1.0-SNAPSHOT:compile
[INFO] +- 
org.glassfish.jersey.containers:jersey-container-grizzly2-http:jar:2.17:compile
[INFO] |  +- org.glassfish.hk2.external:javax.inject:jar:2.4.0-b10:compile
[INFO] |  +- org.glassfish.grizzly:grizzly-http-server:jar:2.3.16:compile
[INFO] |  |  \- org.glassfish.grizzly:grizzly-http:jar:2.3.16:compile
[INFO] |  |     \- 
org.glassfish.grizzly:grizzly-framework:jar:2.3.16:compile
[INFO] |  +- org.glassfish.jersey.core:jersey-common:jar:2.17:compile
[INFO] |  |  +- (javax.ws.rs:javax.ws.rs-api:jar:2.0.1:compile - omitted 
for duplicate)
[INFO] |  |  +- javax.annotation:javax.annotation-api:jar:1.2:compile
[INFO] |  |  +- 
org.glassfish.jersey.bundles.repackaged:jersey-guava:jar:2.17:compile
[INFO] |  |  +- (org.glassfish.hk2:hk2-api:jar:2.4.0-b10:compile - 
omitted for duplicate)
[INFO] |  |  +- 
(org.glassfish.hk2.external:javax.inject:jar:2.4.0-b10:compile - omitted 
for duplicate)
[INFO] |  |  +- (org.glassfish.hk2:hk2-locator:jar:2.4.0-b10:compile - 
omitted for duplicate)
[INFO] |  |  \- org.glassfish.hk2:osgi-resource-locator:jar:1.0.1:compile
[INFO] |  +- org.glassfish.jersey.core:jersey-server:jar:2.17:compile
[INFO] |  |  +- 
(org.glassfish.jersey.core:jersey-common:jar:2.17:compile - omitted for 
duplicate)
[INFO] |  |  +- 
(org.glassfish.jersey.core:jersey-client:jar:2.17:compile - omitted for 
duplicate)
[INFO] |  |  +- (javax.ws.rs:javax.ws.rs-api:jar:2.0.1:compile - omitted 
for duplicate)
[INFO] |  |  +- 
org.glassfish.jersey.media:jersey-media-jaxb:jar:2.17:compile
[INFO] |  |  |  +- 
(org.glassfish.jersey.core:jersey-common:jar:2.17:compile - omitted for 
duplicate)
[INFO] |  |  |  +- (org.glassfish.hk2:hk2-api:jar:2.4.0-b10:compile - 
omitted for duplicate)
[INFO] |  |  |  +- 
(org.glassfish.hk2.external:javax.inject:jar:2.4.0-b10:compile - omitted 
for duplicate)
[INFO] |  |  |  +- (org.glassfish.hk2:hk2-locator:jar:2.4.0-b10:compile 
- omitted for duplicate)
[INFO] |  |  |  \- 
(org.glassfish.hk2:osgi-resource-locator:jar:1.0.1:compile - omitted for 
duplicate)
[INFO] |  |  +- (javax.annotation:javax.annotation-api:jar:1.2:compile - 
omitted for duplicate)
[INFO] |  |  +- (org.glassfish.hk2:hk2-api:jar:2.4.0-b10:compile - 
omitted for duplicate)
[INFO] |  |  +- 
(org.glassfish.hk2.external:javax.inject:jar:2.4.0-b10:compile - omitted 
for duplicate)
[INFO] |  |  +- (org.glassfish.hk2:hk2-locator:jar:2.4.0-b10:compile - 
omitted for duplicate)
[INFO] |  |  \- javax.validation:validation-api:jar:1.1.0.Final:compile
[INFO] |  \- javax.ws.rs:javax.ws.rs-api:jar:2.0.1:compile
[INFO] +- 
org.glassfish.jersey.containers:jersey-container-servlet:jar:2.17:compile
[INFO] |  +- 
org.glassfish.jersey.containers:jersey-container-servlet-core:jar:2.17:compile
[INFO] |  |  +- 
(org.glassfish.hk2.external:javax.inject:jar:2.4.0-b10:compile - omitted 
for duplicate)
[INFO] |  |  +- 
(org.glassfish.jersey.core:jersey-common:jar:2.17:compile - omitted for 
duplicate)
[INFO] |  |  +- 
(org.glassfish.jersey.core:jersey-server:jar:2.17:compile - omitted for 
duplicate)
[INFO] |  |  \- (javax.ws.rs:javax.ws.rs-api:jar:2.0.1:compile - omitted 
for duplicate)
[INFO] |  +- (org.glassfish.jersey.core:jersey-common:jar:2.17:compile - 
omitted for duplicate)
[INFO] |  +- (org.glassfish.jersey.core:jersey-server:jar:2.17:compile - 
omitted for duplicate)
[INFO] |  \- (javax.ws.rs:javax.ws.rs-api:jar:2.0.1:compile - omitted 
for duplicate)
[INFO] +- org.glassfish.jersey.core:jersey-client:jar:2.17:compile
[INFO] |  +- (javax.ws.rs:javax.ws.rs-api:jar:2.0.1:compile - omitted 
for duplicate)
[INFO] |  +- (org.glassfish.jersey.core:jersey-common:jar:2.17:compile - 
omitted for duplicate)
[INFO] |  +- org.glassfish.hk2:hk2-api:jar:2.4.0-b10:compile
[INFO] |  |  +- org.glassfish.hk2:hk2-utils:jar:2.4.0-b10:compile
[INFO] |  |  \- 
org.glassfish.hk2.external:aopalliance-repackaged:jar:2.4.0-b10:compile
[INFO] |  +- 
(org.glassfish.hk2.external:javax.inject:jar:2.4.0-b10:compile - omitted 
for duplicate)
[INFO] |  \- org.glassfish.hk2:hk2-locator:jar:2.4.0-b10:compile
[INFO] |     +- 
(org.glassfish.hk2.external:javax.inject:jar:2.4.0-b10:compile - omitted 
for duplicate)
[INFO] |     +- 
(org.glassfish.hk2.external:aopalliance-repackaged:jar:2.4.0-b10:compile 
- omitted for duplicate)
[INFO] |     +- (org.glassfish.hk2:hk2-api:jar:2.4.0-b10:compile - 
omitted for duplicate)
[INFO] |     +- (org.glassfish.hk2:hk2-utils:jar:2.4.0-b10:compile - 
omitted for duplicate)
[INFO] |     \- org.javassist:javassist:jar:3.18.1-GA:compile
[INFO] +- org.postgresql:postgresql:jar:9.3-1100-jdbc4:compile
[INFO] +- org.projectlombok:lombok:jar:1.16.2:provided
[INFO] +- com.google.code.gson:gson:jar:2.3.1:compile
[INFO] +- 
org.apache.deltaspike.cdictrl:deltaspike-cdictrl-api:jar:1.3.0:test
[INFO] +- 
org.apache.deltaspike.cdictrl:deltaspike-cdictrl-owb:jar:1.3.0:test
[INFO] |  \- 
(org.apache.deltaspike.cdictrl:deltaspike-cdictrl-api:jar:1.3.0:test - 
omitted for duplicate)
[INFO] +- 
org.apache.deltaspike.modules:deltaspike-test-control-module-api:jar:1.3.0:test
[INFO] |  \- org.apache.deltaspike.core:deltaspike-core-api:jar:1.3.0:test
[INFO] +- 
org.apache.deltaspike.modules:deltaspike-test-control-module-impl:jar:1.3.0:test
[INFO] |  \- 
(org.apache.deltaspike.modules:deltaspike-test-control-module-api:jar:1.3.0:test 
- omitted for duplicate)
[INFO] +- junit:junit:jar:4.10:test
[INFO] |  \- org.hamcrest:hamcrest-core:jar:1.1:test
[INFO] +- org.apache.tomcat:tomcat-catalina:jar:8.0.21:test
[INFO] |  +- org.apache.tomcat:tomcat-servlet-api:jar:8.0.21:test
[INFO] |  +- org.apache.tomcat:tomcat-jsp-api:jar:8.0.21:test
[INFO] |  |  +- org.apache.tomcat:tomcat-el-api:jar:8.0.21:test
[INFO] |  |  \- (org.apache.tomcat:tomcat-servlet-api:jar:8.0.21:test - 
omitted for duplicate)
[INFO] |  +- org.apache.tomcat:tomcat-juli:jar:8.0.21:test
[INFO] |  +- org.apache.tomcat:tomcat-annotations-api:jar:8.0.21:test
[INFO] |  +- org.apache.tomcat:tomcat-api:jar:8.0.21:test
[INFO] |  |  \- (org.apache.tomcat:tomcat-servlet-api:jar:8.0.21:test - 
omitted for duplicate)
[INFO] |  +- org.apache.tomcat:tomcat-jni:jar:8.0.21:test
[INFO] |  +- org.apache.tomcat:tomcat-coyote:jar:8.0.21:test
[INFO] |  |  +- (org.apache.tomcat:tomcat-servlet-api:jar:8.0.21:test - 
omitted for duplicate)
[INFO] |  |  +- (org.apache.tomcat:tomcat-jni:jar:8.0.21:test - omitted 
for duplicate)
[INFO] |  |  +- (org.apache.tomcat:tomcat-juli:jar:8.0.21:test - omitted 
for duplicate)
[INFO] |  |  \- (org.apache.tomcat:tomcat-util:jar:8.0.21:test - omitted 
for duplicate)
[INFO] |  +- org.apache.tomcat:tomcat-util:jar:8.0.21:test
[INFO] |  |  \- (org.apache.tomcat:tomcat-juli:jar:8.0.21:test - omitted 
for duplicate)
[INFO] |  \- org.apache.tomcat:tomcat-util-scan:jar:8.0.21:test
[INFO] |     +- (org.apache.tomcat:tomcat-util:jar:8.0.21:test - omitted 
for duplicate)
[INFO] |     +- (org.apache.tomcat:tomcat-juli:jar:8.0.21:test - omitted 
for duplicate)
[INFO] |     \- (org.apache.tomcat:tomcat-api:jar:8.0.21:test - omitted 
for duplicate)
[INFO] +- org.apache.tomcat:tomcat-dbcp:jar:8.0.21:test
[INFO] |  \- (org.apache.tomcat:tomcat-juli:jar:8.0.21:test - omitted 
for duplicate)
[INFO] \- fr.senat.presences:libpresences:jar:1.0-SNAPSHOT:provided
[INFO]    +- org.apache.commons:commons-lang3:jar:3.1:provided
[INFO]    +- 
org.apache.geronimo.specs:geronimo-atinject_1.0_spec:jar:1.0:provided
[INFO]    +- 
org.apache.geronimo.specs:geronimo-jcdi_1.0_spec:jar:1.0:provided
[INFO]    +- 
org.apache.geronimo.specs:geronimo-interceptor_1.1_spec:jar:1.0:provided
[INFO]    +- 
org.apache.geronimo.specs:geronimo-validation_1.0_spec:jar:1.1:provided
[INFO]    +- 
org.apache.geronimo.specs:geronimo-servlet_3.0_spec:jar:1.0:provided
[INFO]    +- org.apache.openwebbeans:openwebbeans-impl:jar:1.2.7:provided
[INFO]    |  +- org.apache.xbean:xbean-finder-shaded:jar:4.1:provided
[INFO]    |  |  \- (org.apache.xbean:xbean-asm5-shaded:jar:4.1:provided 
- omitted for duplicate)
[INFO]    |  +- org.apache.xbean:xbean-asm5-shaded:jar:4.1:provided
[INFO]    |  \- 
(org.apache.openwebbeans:openwebbeans-spi:jar:1.2.7:provided - omitted 
for duplicate)
[INFO]    +- org.apache.openwebbeans:openwebbeans-spi:jar:1.2.7:provided
[INFO]    +- org.apache.openwebbeans:openwebbeans-tomcat7:jar:1.2.7:provided
[INFO]    |  +- 
(org.apache.openwebbeans:openwebbeans-impl:jar:1.2.7:provided - omitted 
for duplicate)
[INFO]    |  \- org.apache.openwebbeans:openwebbeans-web:jar:1.2.7:provided
[INFO]    |     +- 
(org.apache.xbean:xbean-finder-shaded:jar:4.1:provided - omitted for 
duplicate)
[INFO]    |     +- 
(org.apache.openwebbeans:openwebbeans-impl:jar:1.2.7:provided - omitted 
for duplicate)
[INFO]    |     \- 
org.apache.openwebbeans:openwebbeans-el22:jar:1.2.7:provided
[INFO]    +- 
(org.apache.deltaspike.core:deltaspike-core-api:jar:1.3.0:provided - 
omitted for duplicate)
[INFO]    +- 
org.apache.deltaspike.core:deltaspike-core-impl:jar:1.3.0:provided
[INFO]    |  \- 
(org.apache.deltaspike.core:deltaspike-core-api:jar:1.3.0:provided - 
omitted for duplicate)
[INFO]    +- 
org.apache.deltaspike.modules:deltaspike-bean-validation-module-api:jar:1.3.0:provided
[INFO]    |  \- 
(org.apache.deltaspike.core:deltaspike-core-api:jar:1.3.0:provided - 
omitted for duplicate)
[INFO]    +- 
org.apache.deltaspike.modules:deltaspike-bean-validation-module-impl:jar:1.3.0:provided
[INFO]    |  +- 
(org.apache.deltaspike.core:deltaspike-core-api:jar:1.3.0:provided - 
omitted for duplicate)
[INFO]    |  \- 
(org.apache.deltaspike.core:deltaspike-core-impl:jar:1.3.0:provided - 
omitted for duplicate)
[INFO]    +- 
org.apache.deltaspike.modules:deltaspike-jpa-module-api:jar:1.3.0:provided
[INFO]    |  \- 
(org.apache.deltaspike.core:deltaspike-core-api:jar:1.3.0:provided - 
omitted for duplicate)
[INFO]    +- 
org.apache.deltaspike.modules:deltaspike-jpa-module-impl:jar:1.3.0:provided
[INFO]    |  +- 
(org.apache.deltaspike.core:deltaspike-core-api:jar:1.3.0:provided - 
omitted for duplicate)
[INFO]    |  +- 
(org.apache.deltaspike.core:deltaspike-core-impl:jar:1.3.0:provided - 
omitted for duplicate)
[INFO]    |  \- 
(org.apache.deltaspike.modules:deltaspike-jpa-module-api:jar:1.3.0:provided 
- omitted for duplicate)
[INFO]    +- org.hibernate:hibernate-entitymanager:jar:4.3.8.Final:provided
[INFO]    |  +- org.jboss.logging:jboss-logging:jar:3.1.3.GA:provided
[INFO]    |  +- 
org.jboss.logging:jboss-logging-annotations:jar:1.2.0.Beta1:provided
[INFO]    |  +- org.hibernate:hibernate-core:jar:4.3.8.Final:provided
[INFO]    |  |  +- 
(org.jboss.logging:jboss-logging:jar:3.1.3.GA:provided - omitted for 
duplicate)
[INFO]    |  |  +- 
(org.jboss.logging:jboss-logging-annotations:jar:1.2.0.Beta1:provided - 
omitted for duplicate)
[INFO]    |  |  +- 
(org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:jar:1.0.0.Final:provided

- omitted for duplicate)
[INFO]    |  |  +- (dom4j:dom4j:jar:1.6.1:provided - omitted for duplicate)
[INFO]    |  |  +- 
(org.hibernate.common:hibernate-commons-annotations:jar:4.0.5.Final:provided 
- omitted for duplicate)
[INFO]    |  |  +- 
(org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.0.Final:provided 
- omitted for duplicate)
[INFO]    |  |  +- (org.javassist:javassist:jar:3.18.1-GA:provided - 
omitted for duplicate)
[INFO]    |  |  +- antlr:antlr:jar:2.7.7:provided
[INFO]    |  |  \- org.jboss:jandex:jar:1.1.0.Final:provided
[INFO]    |  +- dom4j:dom4j:jar:1.6.1:provided
[INFO]    |  |  \- xml-apis:xml-apis:jar:1.0.b2:provided
[INFO]    |  +- 
org.hibernate.common:hibernate-commons-annotations:jar:4.0.5.Final:provided
[INFO]    |  |  +- 
(org.jboss.logging:jboss-logging:jar:3.1.3.GA:provided - omitted for 
duplicate)
[INFO]    |  |  \- 
(org.jboss.logging:jboss-logging-annotations:jar:1.2.0.Beta1:provided - 
omitted for duplicate)
[INFO]    |  +- 
org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.0.Final:provided
[INFO]    |  +- 
org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:jar:1.0.0.Final:provided
[INFO]    |  \- (org.javassist:javassist:jar:3.18.1-GA:provided - 
omitted for duplicate)
[INFO]    \- log4j:log4j:jar:1.2.17:provided


When I start the test, Tomcat produces the following log :


-------------------------------------------------------
  T E S T S
-------------------------------------------------------
Running fr.senat.presences.rest.api.v1.ApiTest
mai 07, 2015 10:40:43 AM 
org.apache.deltaspike.core.api.config.PropertyLoader loadAllProperties
INFOS: could not find any property files with name 
META-INF/apache-deltaspike_test-container
mai 07, 2015 10:40:43 AM org.apache.webbeans.lifecycle.AbstractLifeCycle 
bootstrapApplication
INFOS: OpenWebBeans Container is starting...
mai 07, 2015 10:40:43 AM org.apache.webbeans.plugins.PluginLoader startUp
INFOS: Adding OpenWebBeansPlugin : [TomcatWebPlugin]
mai 07, 2015 10:40:43 AM 
org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery 
addWebBeansXmlLocation
INFOS: added beans.xml marker: 
file:/mnt/ssd/home_bis/dev/git/presences/presences_modules/restpresences/target/test-classes/META-INF/beans.xml
mai 07, 2015 10:40:43 AM 
org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery 
addWebBeansXmlLocation
INFOS: added beans.xml marker: 
jar:file:/home/lpenet/.m2/repository/fr/senat/presences/presences-nonjsf-utils/1.0-SNAPSHOT/presences-nonjsf-utils-1.0-SNAPSHOT.jar!/META-INF/beans.xml
mai 07, 2015 10:40:43 AM 
org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery 
addWebBeansXmlLocation
INFOS: added beans.xml marker: 
jar:file:/home/lpenet/.m2/repository/org/apache/deltaspike/cdictrl/deltaspike-cdictrl-owb/1.3.0/deltaspike-cdictrl-owb-1.3.0.jar!/META-INF/beans.xml
mai 07, 2015 10:40:43 AM 
org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery 
addWebBeansXmlLocation
INFOS: added beans.xml marker: 
jar:file:/home/lpenet/.m2/repository/org/apache/deltaspike/core/deltaspike-core-api/1.3.0/deltaspike-core-api-1.3.0.jar!/META-INF/beans.xml
mai 07, 2015 10:40:43 AM 
org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery 
addWebBeansXmlLocation
INFOS: added beans.xml marker: 
jar:file:/home/lpenet/.m2/repository/org/apache/deltaspike/modules/deltaspike-test-control-module-impl/1.3.0/deltaspike-test-control-module-impl-1.3.0.jar!/META-INF/beans.xml
mai 07, 2015 10:40:43 AM 
org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery 
addWebBeansXmlLocation
INFOS: added beans.xml marker: 
jar:file:/home/lpenet/.m2/repository/fr/senat/presences/libpresences/1.0-SNAPSHOT/libpresences-1.0-SNAPSHOT.jar!/META-INF/beans.xml
mai 07, 2015 10:40:43 AM 
org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery 
addWebBeansXmlLocation
INFOS: added beans.xml marker: 
jar:file:/home/lpenet/.m2/repository/org/apache/deltaspike/core/deltaspike-core-impl/1.3.0/deltaspike-core-impl-1.3.0.jar!/META-INF/beans.xml
mai 07, 2015 10:40:43 AM 
org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery 
addWebBeansXmlLocation
INFOS: added beans.xml marker: 
jar:file:/home/lpenet/.m2/repository/org/apache/deltaspike/modules/deltaspike-jpa-module-api/1.3.0/deltaspike-jpa-module-api-1.3.0.jar!/META-INF/beans.xml
mai 07, 2015 10:40:43 AM 
org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery 
addWebBeansXmlLocation
INFOS: added beans.xml marker: 
jar:file:/home/lpenet/.m2/repository/org/apache/deltaspike/modules/deltaspike-jpa-module-impl/1.3.0/deltaspike-jpa-module-impl-1.3.0.jar!/META-INF/beans.xml
mai 07, 2015 10:40:43 AM 
org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFOS: class: 
org.apache.deltaspike.core.impl.scope.DeltaSpikeContextExtension 
activated=true
mai 07, 2015 10:40:43 AM 
org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFOS: class: 
org.apache.deltaspike.core.impl.exception.control.extension.ExceptionControlExtension 
activated=true
mai 07, 2015 10:40:43 AM 
org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFOS: class: org.apache.deltaspike.core.impl.jmx.MBeanExtension 
activated=true
mai 07, 2015 10:40:43 AM 
org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFOS: class: 
org.apache.deltaspike.core.impl.interceptor.GlobalInterceptorExtension 
activated=true
mai 07, 2015 10:40:43 AM 
org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFOS: class: org.apache.deltaspike.testcontrol.impl.mock.MockExtension 
activated=true
mai 07, 2015 10:40:43 AM 
org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFOS: class: 
org.apache.deltaspike.testcontrol.impl.mock.DefaultMockFilter activated=true
mai 07, 2015 10:40:43 AM 
org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFOS: class: 
org.apache.deltaspike.core.impl.config.ConfigurationExtension activated=true
mai 07, 2015 10:40:43 AM 
org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFOS: class: 
org.apache.deltaspike.core.impl.exclude.extension.ExcludeExtension 
activated=true
mai 07, 2015 10:40:43 AM 
org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFOS: class: 
org.apache.deltaspike.core.impl.exclude.CustomProjectStageBeanFilter 
activated=true
mai 07, 2015 10:40:43 AM 
org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFOS: class: org.apache.deltaspike.core.impl.exclude.GlobalAlternative 
activated=true
mai 07, 2015 10:40:43 AM 
org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFOS: class: 
org.apache.deltaspike.core.impl.message.MessageBundleExtension 
activated=true
mai 07, 2015 10:40:43 AM 
org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
INFOS: class: 
org.apache.deltaspike.jpa.impl.transaction.context.TransactionContextExtension 
activated=true
mai 07, 2015 10:40:43 AM 
org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery getBeanClasses
AVERTISSEMENT: Ignoring class 
[org.apache.deltaspike.testcontrol.impl.jsf.MyFacesContainerAdapter$1] 
because it could not be loaded: java.lang.NoClassDefFoundError: 
org/apache/myfaces/mc/test/core/runner/MyFacesContainer
mai 07, 2015 10:40:43 AM 
org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery getBeanClasses
AVERTISSEMENT: Ignoring class 
[org.apache.deltaspike.testcontrol.impl.jsf.MyFacesContainerAdapter] 
because it could not be loaded: java.lang.NoClassDefFoundError: 
org/apache/myfaces/mc/test/core/runner/MyFacesContainer
mai 07, 2015 10:40:43 AM 
org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery getBeanClasses
AVERTISSEMENT: Ignoring class 
[org.apache.deltaspike.testcontrol.impl.jsf.MockedJsfTestContainerAdapter] 
because it could not be loaded: java.lang.NoClassDefFoundError: 
Lorg/apache/myfaces/test/mock/MockedJsfTestContainer;
mai 07, 2015 10:40:43 AM 
org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery getBeanClasses
AVERTISSEMENT: Ignoring class 
[org.apache.deltaspike.testcontrol.impl.jsf.MockedJsf2TestContainer] 
because it could not be loaded: java.lang.NoClassDefFoundError: 
javax/faces/render/RenderKit
mai 07, 2015 10:40:43 AM 
org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery getBeanClasses
AVERTISSEMENT: Ignoring class 
[org.apache.deltaspike.testcontrol.impl.jsf.MyFacesContainerAdapter$1] 
because it could not be loaded: java.lang.NoClassDefFoundError: 
org/apache/myfaces/mc/test/core/runner/MyFacesContainer
mai 07, 2015 10:40:43 AM 
org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery getBeanClasses
AVERTISSEMENT: Ignoring class 
[org.apache.deltaspike.testcontrol.impl.jsf.MyFacesContainerAdapter] 
because it could not be loaded: java.lang.NoClassDefFoundError: 
org/apache/myfaces/mc/test/core/runner/MyFacesContainer
mai 07, 2015 10:40:43 AM 
org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery getBeanClasses
AVERTISSEMENT: Ignoring class 
[org.apache.deltaspike.testcontrol.impl.jsf.MockedJsfTestContainerAdapter] 
because it could not be loaded: java.lang.NoClassDefFoundError: 
Lorg/apache/myfaces/test/mock/MockedJsfTestContainer;
mai 07, 2015 10:40:43 AM 
org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery getBeanClasses
AVERTISSEMENT: Ignoring class 
[org.apache.deltaspike.testcontrol.impl.jsf.MockedJsf2TestContainer] 
because it could not be loaded: java.lang.NoClassDefFoundError: 
javax/faces/render/RenderKit
mai 07, 2015 10:40:43 AM 
org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery getBeanClasses
AVERTISSEMENT: Ignoring class 
[org.apache.deltaspike.testcontrol.impl.jsf.MyFacesContainerAdapter$1] 
because it could not be loaded: java.lang.NoClassDefFoundError: 
org/apache/myfaces/mc/test/core/runner/MyFacesContainer
mai 07, 2015 10:40:43 AM 
org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery getBeanClasses
AVERTISSEMENT: Ignoring class 
[org.apache.deltaspike.testcontrol.impl.jsf.MyFacesContainerAdapter] 
because it could not be loaded: java.lang.NoClassDefFoundError: 
org/apache/myfaces/mc/test/core/runner/MyFacesContainer
mai 07, 2015 10:40:43 AM 
org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery getBeanClasses
AVERTISSEMENT: Ignoring class 
[org.apache.deltaspike.testcontrol.impl.jsf.MockedJsfTestContainerAdapter] 
because it could not be loaded: java.lang.NoClassDefFoundError: 
Lorg/apache/myfaces/test/mock/MockedJsfTestContainer;
mai 07, 2015 10:40:43 AM 
org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery getBeanClasses
AVERTISSEMENT: Ignoring class 
[org.apache.deltaspike.testcontrol.impl.jsf.MockedJsf2TestContainer] 
because it could not be loaded: java.lang.NoClassDefFoundError: 
javax/faces/render/RenderKit
mai 07, 2015 10:40:43 AM org.apache.webbeans.config.BeansDeployer 
validateInjectionPoints
INFOS: All injection points were validated successfully.
mai 07, 2015 10:40:43 AM org.apache.webbeans.lifecycle.AbstractLifeCycle 
bootstrapApplication
INFOS: OpenWebBeans Container has started, it took [571] ms.
log4j:WARN No appenders could be found for logger 
(fr.senat.presences.AbstractPresencesTest).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for 
more info.
mai 07, 2015 10:40:43 AM 
org.apache.deltaspike.testcontrol.api.junit.CdiTestSuiteRunner$LogRunListener 
testStarted
INFOS: [run] fr.senat.presences.rest.api.v1.ApiTest#testActivites
mai 07, 2015 10:40:45 AM 
org.glassfish.grizzly.http.server.NetworkListener start
INFOS: Started listener bound to [localhost:8080]
mai 07, 2015 10:40:45 AM org.glassfish.grizzly.http.server.HttpServer start
INFOS: [HttpServer] Started.


My bean is not injected. If I try to get it "by hand" :

           PresencesUtils presenceUtils3 = 
BeanProvider.getContextualReference(PresencesUtils.class, true);

I get a "ContextNotActiveException" ( "WebBeans context with scope type 
annotation @RequestScoped does not exist within current thread" ).

Thanks in advance,

Ludovic
|
| AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
|


Mime
View raw message