[jboss-jira] [JBoss JIRA] Updated: (JBAS-6140) org.jboss.test.web.test.JSFIntegrationUnitTestCase.testJSFIntegrated

Shelly McGowan (JIRA) jira-events at lists.jboss.org
Thu Jan 8 15:08:04 EST 2009


     [ https://jira.jboss.org/jira/browse/JBAS-6140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shelly McGowan updated JBAS-6140:
---------------------------------


I've started looking into this issue again so we can certify the next EAP CP.  The test will pass with OpenJDK 6 when the test is run outside of the test framework either using one-test or manually deploying the .war and hitting the browser.  When the test passes, the following is seen in the server.log:
2009-01-08 14:43:35,141 DEBUG [javax.enterprise.resource.webcontainer.jsf.timing]  [TIMING] - [310ms] : Parse jar:file:/home/smcgowan2/workspace4/Branch_4_2/build/output/jboss-4.2.4.GA/server/all/tmp/deploy/tmp23644jsf-impl.jar!/com/sun/faces/jsf-ri-runtime.xml
2009-01-08 14:43:35,144 DEBUG [javax.enterprise.resource.webcontainer.jsf.timing]  [TIMING] - [27ms] : Parse jndi:/localhost/jbosstest-jsf/WEB-INF/faces-config.xml
2009-01-08 14:43:35,209 DEBUG [javax.enterprise.resource.webcontainer.jsf.lifecycle] Created Default Lifecycle
2009-01-08 14:43:35,244 DEBUG [javax.enterprise.resource.webcontainer.jsf.lifecycle] getLifecycle: DEFAULT com.sun.faces.lifecycle.LifecycleImpl at 182ab3e
2009-01-08 14:43:35,246 DEBUG [javax.enterprise.resource.webcontainer.jsf.lifecycle] addPhaseListener(ANY 0,com.sun.faces.lifecycle.ELResolverInitPhaseListener)
2009-01-08 14:43:35,248 DEBUG [javax.enterprise.resource.webcontainer.jsf.lifecycle] getLifecycle: DEFAULT com.sun.faces.lifecycle.LifecycleImpl at 182ab3e
2009-01-08 14:43:35,249 DEBUG [javax.enterprise.resource.webcontainer.jsf.lifecycle] addPhaseListener(RESTORE_VIEW 1,com.sun.faces.renderkit.JsfJsResourcePhaseListener)
2009-01-08 14:43:35,436 DEBUG [javax.enterprise.resource.webcontainer.jsf.timing]  [TIMING] - [1107ms] : Initialization of context /jbosstest-jsf
2009-01-08 14:43:35,437 DEBUG [org.jboss.web.tomcat.filters.ReplyHeaderFilter] Adding header name: X-Powered-By='Servlet 2.4; JBoss-4.2.4.GA (build: SVNTag=JBoss_4_2_4_GA date=200901081411)/JBossWeb-2.0'
2009-01-08 14:43:35,440 DEBUG [javax.enterprise.resource.webcontainer.jsf.lifecycle] getLifecycle: DEFAULT com.sun.faces.lifecycle.LifecycleImpl at 182ab3e

However, when the test fails,  there is no lifecycle created:
2009-01-08 15:00:38,172 DEBUG [javax.enterprise.resource.webcontainer.jsf.timing]  [TIMING] - [32ms] : Parse jar:file:/home/smcgowan2/workspace4/Branch_4_2/build/output/jboss-4.2.4.GA/server/all/tmp/deploy/tmp14116jsf-impl.jar!/com/sun/faces/jsf-ri-runtime.xml
2009-01-08 15:00:38,185 DEBUG [javax.enterprise.resource.webcontainer.jsf.timing]  [TIMING] - [45ms] : Parse jndi:/localhost/jbosstest-jsf/WEB-INF/faces-config.xml
2009-01-08 15:00:38,542 DEBUG [javax.enterprise.resource.webcontainer.jsf.timing]  [TIMING] - [1236ms] : Initialization of context /jbosstest-jsf
2009-01-08 15:00:38,543 DEBUG [org.jboss.web.tomcat.filters.ReplyHeaderFilter] Adding header name: X-Powered-By='Servlet 2.4; JBoss-4.2.4.GA (build: SVNTag=JBoss_4_2_4_GA date=200901081411)/JBossWeb-2.0'
2009-01-08 15:00:38,551 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] Initialized: {WebApplication: /home/smcgowan2/workspace4/Branch_4_2/build/output/jboss-4.2.4.GA/server/all/tmp/deploy/tmp14178jbosstest-jsf-exp.war/, URL: file:/home/smcgowan2/workspace4/Branch_4_2/build/output/jboss-4.2.4.GA/server/all/tmp/deploy/tmp14178jbosstest-jsf-exp.war/, classLoader: java.net.FactoryURLClassLoader at 1ae9565:28218725} jboss.web:j2eeType=WebModule,name=//localhost/jbosstest-jsf,J2EEApplication=none,J2EEServer=none


> org.jboss.test.web.test.JSFIntegrationUnitTestCase.testJSFIntegrated
> --------------------------------------------------------------------
>
>                 Key: JBAS-6140
>                 URL: https://jira.jboss.org/jira/browse/JBAS-6140
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: JSF
>            Reporter: Shelly McGowan
>            Assignee: Shelly McGowan
>             Fix For: JBossAS-4.2.4.GA
>
>
> This test case is the only remaining failure when run against OpenJDK 6. 
> http://hudson.qa.jboss.com/hudson/view/JBoss%20AS/job/JBoss-AS-4.2.x-TestSuite-openjdk6/lastBuild/testReport/
> As noted in the parent issue, 
> https://jira.jboss.org/jira/browse/JBAS-5834?focusedCommentId=12433073#action_12433073
> this failure occurs when the test is run as part of the overall test target but not with one-test.  Can you take a closer look as to the root cause as OpenJDK 6 is targeted for certification with EAP 4.3.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list