See
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-...
Changes:
[Jozef Hartinger] WELD-1633 extend.xml documentation fixes
[Jozef Hartinger] WELD-1641 Weld SPI chapter documentation review for Weld 2.2
------------------------------------------
[...truncated 2110 lines...]
SEVERE: Error listenerStart
Apr 02, 2014 9:39:55 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/8ee9c0b1-596d-4ea7-a5b8-a4bbceed9ed9] startup failed due to previous
errors
Apr 02, 2014 9:39:55 AM javax.faces.FactoryFinder$FactoryManager getFactory
SEVERE: Application was not properly initialized at startup, could not find Factory:
javax.faces.application.ApplicationFactory. Attempting to find backup.
Apr 02, 2014 9:39:55 AM com.sun.faces.config.ConfigureListener contextDestroyed
SEVERE: Unexpected exception when attempting to tear down the Mojarra runtime
java.lang.IllegalStateException: Could not find backup for factory
javax.faces.application.ApplicationFactory.
at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:1010)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:342)
at com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext.java:141)
at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:314)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5014)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5659)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1073)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Running org.jboss.weld.environment.servlet.test.crosscontext.CrossContextForwardTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.573 sec
Apr 02, 2014 9:39:55 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive
/tmp/tomcat-embedded-75852507707056988944.tmp/webapps/0601f462-de4c-4116-b6ea-e1e6c27f36d1.war
Apr 02, 2014 9:39:56 AM org.jboss.weld.environment.servlet.EnhancedListener onStartup
INFO: Initialize Weld using ServletContainerInitializer
Apr 02, 2014 9:39:56 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.
Apr 02, 2014 9:39:56 AM org.jboss.weld.environment.tomcat.TomcatContainer initialize
INFO: Tomcat 7+ detected, CDI injection will be available in Servlets, Filters and
Listeners.
Apr 02, 2014 9:39:56 AM org.jboss.weld.environment.servlet.Listener contextInitialized
INFO: org.jboss.weld.environment.servlet.EnhancedListener used for ServletContext
notifications
Apr 02, 2014 9:39:56 AM org.jboss.weld.environment.servlet.EnhancedListener
contextInitialized
INFO: org.jboss.weld.environment.servlet.Listener used for ServletRequest and HttpSession
notifications
Apr 02, 2014 9:39:56 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive
/tmp/tomcat-embedded-75852507707056988944.tmp/webapps/e9803efb-9d29-4f2e-9666-6dcd91e6c0a9.war
Apr 02, 2014 9:39:57 AM org.jboss.weld.environment.servlet.EnhancedListener onStartup
INFO: Initialize Weld using ServletContainerInitializer
Apr 02, 2014 9:39:57 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.
Apr 02, 2014 9:39:57 AM org.jboss.weld.environment.tomcat.TomcatContainer initialize
INFO: Tomcat 7+ detected, CDI injection will be available in Servlets, Filters and
Listeners.
Running
org.jboss.weld.environment.servlet.test.bootstrap.duplicates.DuplicateBeansXmlMergingTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.196 sec
Apr 02, 2014 9:39:57 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive
/tmp/tomcat-embedded-75852507707056988944.tmp/webapps/1b62d16a-582d-4b7f-b3fc-8dc5c8125fa6.war
Apr 02, 2014 9:39:57 AM org.jboss.weld.environment.servlet.EnhancedListener onStartup
INFO: Initialize Weld using ServletContainerInitializer
Apr 02, 2014 9:39:58 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.
Apr 02, 2014 9:39:58 AM org.jboss.weld.environment.tomcat.TomcatContainer initialize
INFO: Tomcat 7+ detected, CDI injection will be available in Servlets, Filters and
Listeners.
Apr 02, 2014 9:39:58 AM org.jboss.weld.environment.servlet.Listener contextInitialized
INFO: org.jboss.weld.environment.servlet.EnhancedListener used for ServletContext
notifications
Apr 02, 2014 9:39:58 AM org.jboss.weld.environment.servlet.EnhancedListener
contextInitialized
INFO: org.jboss.weld.environment.servlet.Listener used for ServletRequest and HttpSession
notifications
Running org.jboss.weld.environment.servlet.test.bootstrap.enhanced.EnhancedListenerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.224 sec
Apr 02, 2014 9:39:58 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive
/tmp/tomcat-embedded-75852507707056988944.tmp/webapps/401c205c-0f0b-4016-ab45-27b61831aa44.war
Apr 02, 2014 9:39:58 AM org.jboss.weld.environment.servlet.EnhancedListener onStartup
INFO: Initialize Weld using ServletContainerInitializer
Apr 02, 2014 9:39:58 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.
Apr 02, 2014 9:39:58 AM org.jboss.weld.environment.tomcat.TomcatContainer initialize
INFO: Tomcat 7+ detected, CDI injection will be available in Servlets, Filters and
Listeners.
Apr 02, 2014 9:39:58 AM org.jboss.weld.environment.servlet.Listener contextInitialized
INFO: org.jboss.weld.environment.servlet.EnhancedListener used for ServletContext
notifications
Apr 02, 2014 9:39:58 AM org.jboss.weld.environment.servlet.EnhancedListener
contextInitialized
INFO: org.jboss.weld.environment.servlet.Listener used for ServletRequest and HttpSession
notifications
Running org.jboss.weld.environment.servlet.test.bootstrap.BootstrapOrderingTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.19 sec
Apr 02, 2014 9:39:59 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive
/tmp/tomcat-embedded-75852507707056988944.tmp/webapps/7646c518-dbe0-4223-9171-bcdb9a250300.war
Apr 02, 2014 9:39:59 AM org.jboss.weld.environment.servlet.EnhancedListener onStartup
INFO: Initialize Weld using ServletContainerInitializer
Apr 02, 2014 9:39:59 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.
Apr 02, 2014 9:39:59 AM org.jboss.weld.environment.tomcat.TomcatContainer initialize
INFO: Tomcat 7+ detected, CDI injection will be available in Servlets, Filters and
Listeners.
Apr 02, 2014 9:39:59 AM org.jboss.weld.environment.servlet.Listener contextInitialized
INFO: org.jboss.weld.environment.servlet.EnhancedListener used for ServletContext
notifications
Apr 02, 2014 9:39:59 AM org.jboss.weld.environment.servlet.EnhancedListener
contextInitialized
INFO: org.jboss.weld.environment.servlet.Listener used for ServletRequest and HttpSession
notifications
Running org.jboss.weld.environment.servlet.test.provider.CDIProviderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.192 sec
Apr 02, 2014 9:40:00 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive
/tmp/tomcat-embedded-75852507707056988944.tmp/webapps/6217f6c3-b28d-45f3-bac4-9670de868336.war
Apr 02, 2014 9:40:00 AM org.jboss.weld.environment.servlet.EnhancedListener onStartup
INFO: Initialize Weld using ServletContainerInitializer
Apr 02, 2014 9:40:00 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.
Apr 02, 2014 9:40:00 AM org.jboss.weld.environment.tomcat.TomcatContainer initialize
INFO: Tomcat 7+ detected, CDI injection will be available in Servlets, Filters and
Listeners.
Apr 02, 2014 9:40:00 AM org.jboss.weld.environment.servlet.Listener contextInitialized
INFO: org.jboss.weld.environment.servlet.EnhancedListener used for ServletContext
notifications
Apr 02, 2014 9:40:00 AM org.jboss.weld.environment.servlet.EnhancedListener
contextInitialized
INFO: org.jboss.weld.environment.servlet.Listener used for ServletRequest and HttpSession
notifications
Running org.jboss.weld.environment.servlet.test.provider.CustomCDIProviderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.208 sec
Running org.jboss.weld.environment.servlet.test.libraries.LibrariesDiscoveredTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.214 sec
Running org.jboss.weld.environment.servlet.test.el.JsfTest
Apr 02, 2014 9:39:55 AM com.gargoylesoftware.htmlunit.WebClient printContentIfNecessary
INFO: statusCode=[404] contentType=[]
Apr 02, 2014 9:39:55 AM com.gargoylesoftware.htmlunit.WebClient printContentIfNecessary
INFO:
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.049 sec <<<
FAILURE!
testELWithParameters(org.jboss.weld.environment.servlet.test.el.JsfTest) Time elapsed:
0.003 sec <<< ERROR!
com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 404 Not Found for
http://localhost:8080/charlie.jsf
at
com.gargoylesoftware.htmlunit.WebClient.throwFailingHttpStatusCodeExceptionIfNecessary(WebClient.java:525)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:328)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:384)
at
org.jboss.weld.environment.servlet.test.el.JsfTestBase.testELWithParameters(JsfTestBase.java:56)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.jboss.arquillian.junit.Arquillian$6$1.invoke(Arquillian.java:270)
at
org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at
org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
at
org.jboss.arquillian.container.test.impl.execution.ClientTestExecuter.execute(ClientTestExecuter.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at
org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at
org.jboss.arquillian.container.test.impl.client.ContainerEventController.createContext(ContainerEventController.java:142)
at
org.jboss.arquillian.container.test.impl.client.ContainerEventController.createTestContext(ContainerEventController.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at
org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:102)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at
org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:84)
at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at
org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:65)
at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
at
org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:111)
at org.jboss.arquillian.junit.Arquillian$6.evaluate(Arquillian.java:263)
at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:226)
at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:240)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:185)
at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:199)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:147)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:24)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:62)
at
org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:139)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Apr 02, 2014 9:40:01 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-8080"]
Apr 02, 2014 9:40:01 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service arquillian-tomcat-embedded-7
Apr 02, 2014 9:40:01 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-8080"]
Results :
Tests in error:
testELWithParameters(org.jboss.weld.environment.servlet.test.el.JsfTest): 404 Not Found
for
http://localhost:8080/charlie.jsf
Tests run: 18, Failures: 0, Errors: 1, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 29.204s
[INFO] Finished at: Wed Apr 02 09:40:01 EDT 2014
[INFO] Final Memory: 34M/347M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test
(default-test) on project weld-servlet-test-tomcat: There are test failures.
[ERROR]
[ERROR] Please refer to
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-int-servlet-...
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
Build step 'Execute shell' marked build as failure
Recording test results