[weld-builds] Build failed in Jenkins: Weld-2.x-int-servlet-jetty #884

ci-builds at redhat.com ci-builds at redhat.com
Tue Sep 9 03:06:52 EDT 2014


See <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-jetty/884/changes>

Changes:

[Jozef Hartinger] Improve Weld SE startup performance: do not parse beans.xml files multiple times if isolation is turned off. Thanks to Stefan Großmann

[Jozef Hartinger] Improve Weld SE Startup Performance: Use available jandex.idx files. Thanks to Stefan Großmann

------------------------------------------
[...truncated 1947 lines...]
[INFO] |     \- org.glassfish:javax.el:jar:3.0.0:test
[INFO] +- org.glassfish:javax.faces:jar:2.1.22:test
[INFO] +- javax.servlet:jstl:jar:1.2:test
[INFO] +- org.eclipse.jetty:jetty-plus:jar:8.1.14.v20131031:test
[INFO] |  \- org.eclipse.jetty.orbit:javax.transaction:jar:1.1.1.v201105210645:test
[INFO] +- org.eclipse.jetty:jetty-jndi:jar:8.1.14.v20131031:test
[INFO] |  +- org.eclipse.jetty:jetty-server:jar:8.1.14.v20131031:test
[INFO] |  |  +- org.eclipse.jetty.orbit:javax.servlet:jar:3.0.0.v201112011016:test
[INFO] |  |  +- org.eclipse.jetty:jetty-continuation:jar:8.1.14.v20131031:test
[INFO] |  |  \- org.eclipse.jetty:jetty-http:jar:8.1.14.v20131031:test
[INFO] |  |     \- org.eclipse.jetty:jetty-io:jar:8.1.14.v20131031:test
[INFO] |  \- org.eclipse.jetty.orbit:javax.mail.glassfish:jar:1.4.1.v201005082020:test
[INFO] |     \- org.eclipse.jetty.orbit:javax.activation:jar:1.1.0.v201105071233:test
[INFO] +- org.eclipse.jetty:jetty-webapp:jar:8.1.14.v20131031:test
[INFO] |  +- org.eclipse.jetty:jetty-xml:jar:8.1.14.v20131031:test
[INFO] |  |  \- org.eclipse.jetty:jetty-util:jar:8.1.14.v20131031:test
[INFO] |  \- org.eclipse.jetty:jetty-servlet:jar:8.1.14.v20131031:test
[INFO] |     \- org.eclipse.jetty:jetty-security:jar:8.1.14.v20131031:test
[INFO] +- org.eclipse.jetty:jetty-annotations:jar:8.1.14.v20131031:test
[INFO] |  +- org.eclipse.jetty.orbit:javax.annotation:jar:1.1.0.v201108011116:test
[INFO] |  \- org.eclipse.jetty.orbit:org.objectweb.asm:jar:3.1.0.v200803061910:test
[INFO] +- org.jboss.weld:weld-core-impl:jar:2.2.5-SNAPSHOT:test
[INFO] |  +- org.jboss.weld:weld-api:jar:2.2.SP3:test
[INFO] |  +- org.jboss.weld:weld-spi:jar:2.2.SP3:test
[INFO] |  +- org.jboss.classfilewriter:jboss-classfilewriter:jar:1.0.4.Final:test
[INFO] |  +- org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec:jar:1.0.0.Alpha1:test
[INFO] |  +- com.google.guava:guava:jar:13.0.1:test
[INFO] |  +- org.jboss.spec.javax.el:jboss-el-api_3.0_spec:jar:1.0.0.Alpha1:test
[INFO] |  \- org.jboss.logging:jboss-logging:jar:3.1.3.GA:test
[INFO] +- org.jboss.weld:weld-core-jsf:jar:2.2.5-SNAPSHOT:test
[INFO] +- org.jboss.weld.servlet:weld-servlet-core:jar:2.2.5-SNAPSHOT:test
[INFO] |  \- org.jboss.weld.environment:weld-environment-common:jar:2.2.5-SNAPSHOT:test
[INFO] +- org.glassfish.web:el-impl:jar:2.2:test
[INFO] |  \- javax.el:el-api:jar:2.2:test
[INFO] +- javax.servlet.jsp:jsp-api:jar:2.2:test
[INFO] \- org.jboss.arquillian.container:arquillian-jetty-embedded-7:jar:1.0.0.CR2:test
[INFO]    +- org.jboss.arquillian.container:arquillian-jetty-common:jar:1.0.0.CR2:test
[INFO]    +- org.jboss.arquillian.container:arquillian-container-spi:jar:1.1.3.Final:test
[INFO]    |  \- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-api-base:jar:2.0.0-alpha-5:test
[INFO]    +- org.jboss.arquillian.protocol:arquillian-protocol-servlet:jar:1.0.0.Final:test
[INFO]    +- org.jboss.arquillian.testenricher:arquillian-testenricher-cdi:jar:1.1.3.Final:test (version managed from 1.0.0.Final)
[INFO]    +- org.jboss.arquillian.testenricher:arquillian-testenricher-resource:jar:1.0.0.Final:test
[INFO]    +- org.jboss.arquillian.testenricher:arquillian-testenricher-initialcontext:jar:1.0.0.Final:test
[INFO]    \- org.jboss.shrinkwrap.container:shrinkwrap-extension-jetty-70:jar:1.0.0-beta-1:test
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.701s
[INFO] Finished at: Tue Sep 09 03:06:21 EDT 2014
[INFO] Final Memory: 19M/298M
[INFO] ------------------------------------------------------------------------
+ /qa/tools/opt/maven-3.1.0/bin/mvn -Dmaven.repo.local=/qa/home/hudson/private_maven_repos/weld/ clean verify -f environments/servlet/tests/jetty/pom.xml -Dincontainer -Djetty-embedded-7 -Djetty.version=8.1.14.v20131031
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Weld Servlet Integration Tests (Jetty) 2.2.5-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ weld-servlet-test-jetty ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce) @ weld-servlet-test-jetty ---
[WARNING] This rule is not compatible with the current version of Maven. The rule is not able to perform any checks.
[INFO] 
[INFO] --- build-helper-maven-plugin:1.5:maven-version (default) @ weld-servlet-test-jetty ---
[INFO] 
[INFO] --- build-helper-maven-plugin:1.5:parse-version (default) @ weld-servlet-test-jetty ---
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.2:create (set-build-properties) @ weld-servlet-test-jetty ---
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] Executing: /bin/sh -c cd <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-jetty/ws/environments/servlet/tests/jetty> && git rev-parse --verify HEAD
[INFO] Working directory: <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-jetty/ws/environments/servlet/tests/jetty>
[INFO] Storing buildNumber: 1d4f1f13daa40499e96378be59ea2826f68957c2 at timestamp: September 9, 2014 3:06:29 AM EDT
[INFO] Executing: /bin/sh -c cd <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-jetty/ws/environments/servlet/tests/jetty> && git rev-parse --verify HEAD
[INFO] Working directory: <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-jetty/ws/environments/servlet/tests/jetty>
[INFO] Storing buildScmBranch: UNKNOWN
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.1:process (attach-license) @ weld-servlet-test-jetty ---
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ weld-servlet-test-jetty ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-jetty/ws/environments/servlet/tests/jetty/src/main/resources>
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ weld-servlet-test-jetty ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.10:checkstyle (check-style) @ weld-servlet-test-jetty ---
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ weld-servlet-test-jetty ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ weld-servlet-test-jetty ---
[INFO] Compiling 23 source files to <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-jetty/ws/environments/servlet/tests/jetty/target/test-classes>
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ weld-servlet-test-jetty ---
[INFO] Surefire report directory: <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-jetty/ws/environments/servlet/tests/jetty/target/surefire-reports>
[INFO] parallel='none', perCoreThreadCount=true, threadCount=0, useUnlimitedThreads=false, threadCountSuites=0, threadCountClasses=0, threadCountMethods=0, parallelOptimized=true

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Sep 09, 2014 3:06:41 AM org.jboss.arquillian.container.jetty.embedded_7.JettyEmbeddedContainer start
INFO: Starting Jetty Embedded Server 8.1.14.v20131031 [id:26563123]
2014-09-09 03:06:41.352:INFO:oejs.Server:jetty-8.1.14.v20131031
2014-09-09 03:06:41.444:INFO:oejs.AbstractConnector:Started SelectChannelConnector at localhost:9090
Sep 09, 2014 3:06:42 AM org.jboss.shrinkwrap.jetty_7.api.ShrinkWrapWebAppContext <init>
INFO: Webapp archive location: file:/tmp/export531798447205798671119a080f5-b7a3-41be-8531-4dc141778328.war
2014-09-09 03:06:43.016:INFO:oejw.WebInfConfiguration:Extract jar:file:/tmp/export531798447205798671119a080f5-b7a3-41be-8531-4dc141778328.war!/ to /tmp/jetty-localhost-9090-export531798447205798671119a080f5-b7a3-41be-8531-4dc141778328.war-_19a080f5-b7a3-41be-8531-4dc141778328-any-/webapp
2014-09-09 03:06:43.409:INFO:oejpw.PlusConfiguration:No Transaction manager found - if your webapp requires one, please configure one.
2014-09-09 03:06:44.234:INFO:oejw.StandardDescriptorProcessor:NO JSP Support for /19a080f5-b7a3-41be-8531-4dc141778328, did not find org.apache.jasper.servlet.JspServlet
Sep 09, 2014 3:06:44 AM org.jboss.weld.environment.servlet.EnhancedListener onStartup
INFO: Initialize Weld using ServletContainerInitializer
Sep 09, 2014 3:06:44 AM org.jboss.weld.bootstrap.WeldStartup <clinit>
INFO: WELD-000900: 2.2.5 (2014-09-09 03:03)
Sep 09, 2014 3:06:44 AM org.jboss.weld.environment.servlet.deployment.WebAppBeanArchiveScanner scan
WARN: Found both WEB-INF/beans.xml and WEB-INF/classes/META-INF/beans.xml. It's not portable to use both locations at the same time. Weld is going to use file:/tmp/jetty-localhost-9090-export531798447205798671119a080f5-b7a3-41be-8531-4dc141778328.war-_19a080f5-b7a3-41be-8531-4dc141778328-any-/webapp/WEB-INF/beans.xml.
Sep 09, 2014 3:06:45 AM org.jboss.weld.bootstrap.WeldStartup startContainer
INFO: WELD-000101: Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
Sep 09, 2014 3:06:46 AM org.jboss.weld.environment.jetty.JettyContainer initialize
INFO: Jetty 7.2+ detected, CDI injection will be available in Servlets and Filters. Injection into Listeners should work on Jetty 9.1.1 and newer.
Sep 09, 2014 3:06:46 AM org.jboss.weld.environment.servlet.Listener contextInitialized
INFO: org.jboss.weld.environment.servlet.EnhancedListener used for ServletContext notifications
Sep 09, 2014 3:06:46 AM org.jboss.weld.environment.servlet.EnhancedListener contextInitialized
INFO: org.jboss.weld.environment.servlet.Listener used for ServletRequest and HttpSession notifications
2014-09-09 03:06:46.719:INFO:oejw.WebAppContext:WebApp at 7324695 at http://localhost:9090/19a080f5-b7a3-41be-8531-4dc141778328
Running org.jboss.weld.environment.servlet.test.provider.CDIProviderTest
2014-09-09 03:06:47.097:INFO:oejsl.ELContextCleaner:javax.el.BeanELResolver purged
2014-09-09 03:06:47.097:INFO:oejsh.ContextHandler:stopped o.j.s.j.a.ShrinkWrapWebAppContext{/19a080f5-b7a3-41be-8531-4dc141778328,file:/tmp/jetty-localhost-9090-export531798447205798671119a080f5-b7a3-41be-8531-4dc141778328.war-_19a080f5-b7a3-41be-8531-4dc141778328-any-/webapp/},file:/tmp/export531798447205798671119a080f5-b7a3-41be-8531-4dc141778328.war
Sep 09, 2014 3:06:47 AM org.jboss.shrinkwrap.jetty_7.api.ShrinkWrapWebAppContext <init>
INFO: Webapp archive location: file:/tmp/export7590599657571032103da8e6f37-9fe2-4278-b569-299707ec022e.war
2014-09-09 03:06:47.916:INFO:oejw.WebInfConfiguration:Extract jar:file:/tmp/export7590599657571032103da8e6f37-9fe2-4278-b569-299707ec022e.war!/ to /tmp/jetty-localhost-9090-export7590599657571032103da8e6f37-9fe2-4278-b569-299707ec022e.war-_da8e6f37-9fe2-4278-b569-299707ec022e-any-/webapp
2014-09-09 03:06:48.076:INFO:oejpw.PlusConfiguration:No Transaction manager found - if your webapp requires one, please configure one.
2014-09-09 03:06:48.459:INFO:oejw.StandardDescriptorProcessor:NO JSP Support for /da8e6f37-9fe2-4278-b569-299707ec022e, did not find org.apache.jasper.servlet.JspServlet
Sep 09, 2014 3:06:48 AM org.jboss.weld.environment.servlet.EnhancedListener onStartup
INFO: Initialize Weld using ServletContainerInitializer
Sep 09, 2014 3:06:48 AM org.jboss.weld.environment.servlet.deployment.WebAppBeanArchiveScanner scan
WARN: Found both WEB-INF/beans.xml and WEB-INF/classes/META-INF/beans.xml. It's not portable to use both locations at the same time. Weld is going to use file:/tmp/jetty-localhost-9090-export7590599657571032103da8e6f37-9fe2-4278-b569-299707ec022e.war-_da8e6f37-9fe2-4278-b569-299707ec022e-any-/webapp/WEB-INF/beans.xml.
Sep 09, 2014 3:06:48 AM org.jboss.weld.bootstrap.WeldStartup startContainer
INFO: WELD-000101: Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
Sep 09, 2014 3:06:48 AM org.jboss.weld.environment.jetty.JettyContainer initialize
INFO: Jetty 7.2+ detected, CDI injection will be available in Servlets and Filters. Injection into Listeners should work on Jetty 9.1.1 and newer.
Sep 09, 2014 3:06:48 AM org.jboss.weld.environment.servlet.Listener contextInitialized
INFO: org.jboss.weld.environment.servlet.EnhancedListener used for ServletContext notifications
Sep 09, 2014 3:06:48 AM org.jboss.weld.environment.servlet.EnhancedListener contextInitialized
INFO: org.jboss.weld.environment.servlet.Listener used for ServletRequest and HttpSession notifications
2014-09-09 03:06:48.813:INFO:oejw.WebAppContext:WebApp at 7324695 at http://localhost:9090/da8e6f37-9fe2-4278-b569-299707ec022e
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.079 sec - in org.jboss.weld.environment.servlet.test.provider.CDIProviderTest
Running org.jboss.weld.environment.servlet.test.provider.CustomCDIProviderTest
2014-09-09 03:06:48.918:INFO:oejsl.ELContextCleaner:javax.el.BeanELResolver purged
2014-09-09 03:06:48.918:INFO:oejsh.ContextHandler:stopped o.j.s.j.a.ShrinkWrapWebAppContext{/da8e6f37-9fe2-4278-b569-299707ec022e,file:/tmp/jetty-localhost-9090-export7590599657571032103da8e6f37-9fe2-4278-b569-299707ec022e.war-_da8e6f37-9fe2-4278-b569-299707ec022e-any-/webapp/},file:/tmp/export7590599657571032103da8e6f37-9fe2-4278-b569-299707ec022e.war
Sep 09, 2014 3:06:49 AM org.jboss.shrinkwrap.jetty_7.api.ShrinkWrapWebAppContext <init>
INFO: Webapp archive location: file:/tmp/export3653900522014404153f0735c50-35a9-4317-a282-a7577906b129.war
2014-09-09 03:06:49.619:INFO:oejw.WebInfConfiguration:Extract jar:file:/tmp/export3653900522014404153f0735c50-35a9-4317-a282-a7577906b129.war!/ to /tmp/jetty-localhost-9090-export3653900522014404153f0735c50-35a9-4317-a282-a7577906b129.war-_f0735c50-35a9-4317-a282-a7577906b129-any-/webapp
2014-09-09 03:06:49.764:INFO:oejpw.PlusConfiguration:No Transaction manager found - if your webapp requires one, please configure one.
2014-09-09 03:06:50.052:INFO:oejw.StandardDescriptorProcessor:NO JSP Support for /f0735c50-35a9-4317-a282-a7577906b129, did not find org.apache.jasper.servlet.JspServlet
Sep 09, 2014 3:06:50 AM org.jboss.weld.environment.servlet.EnhancedListener onStartup
INFO: Initialize Weld using ServletContainerInitializer
Sep 09, 2014 3:06:50 AM org.jboss.weld.environment.servlet.deployment.WebAppBeanArchiveScanner scan
WARN: Found both WEB-INF/beans.xml and WEB-INF/classes/META-INF/beans.xml. It's not portable to use both locations at the same time. Weld is going to use file:/tmp/jetty-localhost-9090-export3653900522014404153f0735c50-35a9-4317-a282-a7577906b129.war-_f0735c50-35a9-4317-a282-a7577906b129-any-/webapp/WEB-INF/beans.xml.
Sep 09, 2014 3:06:50 AM org.jboss.weld.bootstrap.WeldStartup startContainer
INFO: WELD-000101: Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
Sep 09, 2014 3:06:50 AM org.jboss.weld.environment.jetty.JettyContainer initialize
INFO: Jetty 7.2+ detected, CDI injection will be available in Servlets and Filters. Injection into Listeners should work on Jetty 9.1.1 and newer.
Sep 09, 2014 3:06:50 AM org.jboss.weld.environment.servlet.Listener contextInitialized
INFO: org.jboss.weld.environment.servlet.EnhancedListener used for ServletContext notifications
Sep 09, 2014 3:06:50 AM org.jboss.weld.environment.servlet.EnhancedListener contextInitialized
INFO: org.jboss.weld.environment.servlet.Listener used for ServletRequest and HttpSession notifications
2014-09-09 03:06:50.214:INFO:oejw.WebAppContext:WebApp at 7324695 at http://localhost:9090/f0735c50-35a9-4317-a282-a7577906b129
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.38 sec - in org.jboss.weld.environment.servlet.test.provider.CustomCDIProviderTest
Running org.jboss.weld.environment.servlet.test.lifecycle.HSCycleTest
Pinger-28770872
Pinger-28770872
2014-09-09 03:06:50.381:INFO:oejsl.ELContextCleaner:javax.el.BeanELResolver purged
2014-09-09 03:06:50.382:INFO:oejsh.ContextHandler:stopped o.j.s.j.a.ShrinkWrapWebAppContext{/f0735c50-35a9-4317-a282-a7577906b129,file:/tmp/jetty-localhost-9090-export3653900522014404153f0735c50-35a9-4317-a282-a7577906b129.war-_f0735c50-35a9-4317-a282-a7577906b129-any-/webapp/},file:/tmp/export3653900522014404153f0735c50-35a9-4317-a282-a7577906b129.war
Sep 09, 2014 3:06:51 AM org.jboss.shrinkwrap.jetty_7.api.ShrinkWrapWebAppContext <init>
INFO: Webapp archive location: file:/tmp/export4406646150863988032ff498b3-2f56-4531-8a3f-16ec03acf60c.war
2014-09-09 03:06:51.265:INFO:oejw.WebInfConfiguration:Extract jar:file:/tmp/export4406646150863988032ff498b3-2f56-4531-8a3f-16ec03acf60c.war!/ to /tmp/jetty-localhost-9090-export4406646150863988032ff498b3-2f56-4531-8a3f-16ec03acf60c.war-_2ff498b3-2f56-4531-8a3f-16ec03acf60c-any-/webapp
2014-09-09 03:06:51.405:INFO:oejpw.PlusConfiguration:No Transaction manager found - if your webapp requires one, please configure one.
2014-09-09 03:06:51.661:INFO:oejw.StandardDescriptorProcessor:NO JSP Support for /2ff498b3-2f56-4531-8a3f-16ec03acf60c, did not find org.apache.jasper.servlet.JspServlet
Sep 09, 2014 3:06:51 AM org.jboss.weld.environment.servlet.EnhancedListener onStartup
INFO: Initialize Weld using ServletContainerInitializer
Sep 09, 2014 3:06:51 AM org.jboss.weld.environment.servlet.deployment.WebAppBeanArchiveScanner scan
WARN: Found both WEB-INF/beans.xml and WEB-INF/classes/META-INF/beans.xml. It's not portable to use both locations at the same time. Weld is going to use file:/tmp/jetty-localhost-9090-export4406646150863988032ff498b3-2f56-4531-8a3f-16ec03acf60c.war-_2ff498b3-2f56-4531-8a3f-16ec03acf60c-any-/webapp/WEB-INF/beans.xml.
Sep 09, 2014 3:06:51 AM org.jboss.weld.environment.deployment.discovery.ReflectionDiscoveryStrategy processAnnotatedDiscovery
INFO: WELD-ENV-000014: Falling back to Java Reflection for bean-discovery-mode="annotated" discovery. Add org.jboss:jandex to the classpath to speed-up startup.
Sep 09, 2014 3:06:51 AM org.jboss.weld.bootstrap.WeldStartup startContainer
INFO: WELD-000101: Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
Sep 09, 2014 3:06:51 AM org.jboss.weld.environment.jetty.JettyContainer initialize
INFO: Jetty 7.2+ detected, CDI injection will be available in Servlets and Filters. Injection into Listeners should work on Jetty 9.1.1 and newer.
Sep 09, 2014 3:06:52 AM org.jboss.weld.environment.servlet.Listener contextInitialized
INFO: org.jboss.weld.environment.servlet.EnhancedListener used for ServletContext notifications
Sep 09, 2014 3:06:52 AM org.jboss.weld.environment.servlet.EnhancedListener contextInitialized
INFO: org.jboss.weld.environment.servlet.Listener used for ServletRequest and HttpSession notifications
2014-09-09 03:06:52.136:INFO:oejw.WebAppContext:WebApp at 7324695 at http://localhost:9090/2ff498b3-2f56-4531-8a3f-16ec03acf60c
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.899 sec - in org.jboss.weld.environment.servlet.test.lifecycle.HSCycleTest
Running org.jboss.weld.environment.servlet.test.discovery.BeanDiscoveryInjectionTest
2014-09-09 03:06:52.316:INFO:oejsl.ELContextCleaner:javax.el.BeanELResolver purged
2014-09-09 03:06:52.316:INFO:oejsh.ContextHandler:stopped o.j.s.j.a.ShrinkWrapWebAppContext{/2ff498b3-2f56-4531-8a3f-16ec03acf60c,file:/tmp/jetty-localhost-9090-export4406646150863988032ff498b3-2f56-4531-8a3f-16ec03acf60c.war-_2ff498b3-2f56-4531-8a3f-16ec03acf60c-any-/webapp/},file:/tmp/export4406646150863988032ff498b3-2f56-4531-8a3f-16ec03acf60c.war
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xb75c9521, pid=1269, tid=3061943152
#
# JRE version: Java(TM) SE Runtime Environment (7.0_67-b01) (build 1.7.0_67-b01)
# Java VM: Java HotSpot(TM) Server VM (24.65-b04 mixed mode linux-x86 )
# Problematic frame:
# C  [libc.so.6+0x7b521]  __memcpy_ia32+0x61
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-jetty/ws/environments/servlet/tests/jetty/hs_err_pid1269.log>
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
/bin/sh: line 1:  1269 Aborted                 /qa/tools/opt/jdk1.7.0_67/jre/bin/java -jar <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-jetty/ws/environments/servlet/tests/jetty/target/surefire/surefirebooter1971247894508413012.jar> <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-jetty/ws/environments/servlet/tests/jetty/target/surefire/surefire918111474964145349tmp> <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-jetty/ws/environments/servlet/tests/jetty/target/surefire/surefire_05644985415933699345tmp>

Results :

Tests run: 3, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 28.010s
[INFO] Finished at: Tue Sep 09 03:06:52 EDT 2014
[INFO] Final Memory: 29M/297M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project weld-servlet-test-jetty: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-jetty/ws/environments/servlet/tests/jetty> && /qa/tools/opt/jdk1.7.0_67/jre/bin/java -jar <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-jetty/ws/environments/servlet/tests/jetty/target/surefire/surefirebooter1971247894508413012.jar> <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-jetty/ws/environments/servlet/tests/jetty/target/surefire/surefire918111474964145349tmp> <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-jetty/ws/environments/servlet/tests/jetty/target/surefire/surefire_05644985415933699345tmp>
[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/PluginExecutionException
Build step 'Execute shell' marked build as failure
Recording test results



More information about the weld-builds mailing list