[
https://jira.jboss.org/jira/browse/JBAS-6140?page=com.atlassian.jira.plug...
]
Stan Silvert commented on JBAS-6140:
------------------------------------
I've come to the conclusion that JDK logging is royally screwed in OpenJDK. If you
look at both the pass and fail logs attached to this jira you will see:
2009-01-08 14:43:17,337 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021:
[] Configuration option 'com.sun.faces.displayConfiguration' - DISABLED
2009-01-08 14:43:17,338 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021:
[] Configuration option 'com.sun.faces.validateXml' - DISABLED
2009-01-08 14:43:17,338 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021:
[] Configuration option 'com.sun.faces.verifyObjects' - DISABLED
2009-01-08 14:43:17,338 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021:
[] Configuration option 'com.sun.faces.forceLoadConfiguration' - DISABLED
2009-01-08 14:43:17,338 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021:
[] Configuration option 'com.sun.faces.enableHtmlTagLibValidator' - DISABLED
2009-01-08 14:43:17,338 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021:
[] Configuration option 'com.sun.faces.preferXHTML' - DISABLED
2009-01-08 14:43:17,338 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021:
[] Configuration option 'com.sun.faces.compressViewState' - ENABLED
2009-01-08 14:43:17,338 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021:
[] Configuration option 'com.sun.faces.compressJavaScript' - ENABLED
2009-01-08 14:43:17,338 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021:
[] Configuration option 'com.sun.faces.externalizeJavaScript' - DISABLED
2009-01-08 14:43:17,338 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021:
[] Configuration option 'com.sun.faces.sendPoweredByHeader' - ENABLED
2009-01-08 14:43:17,338 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021:
[] Configuration option 'com.sun.faces.enableJSStyleHiding' - DISABLED
2009-01-08 14:43:17,339 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021:
[] Configuration option 'com.sun.faces.enableScriptsInAttributeValues' - ENABLED
2009-01-08 14:43:17,339 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021:
[] Configuration option 'com.sun.faces.writeStateAtFormEnd' - ENABLED
2009-01-08 14:43:17,339 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021:
[] Configuration option 'com.sun.faces.enableLazyBeanValidation' - ENABLED
2009-01-08 14:43:17,339 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021:
[] Configuration option 'com.sun.faces.enabledLoadBundle11Compatibility' -
DISABLED
2009-01-08 14:43:17,339 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021:
[] Configuration option 'com.sun.faces.enableRestoreView11Compatibility' -
DISABLED
2009-01-08 14:43:17,339 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021:
[] Configuration option 'com.sun.faces.serializeServerState' - DISABLED
2009-01-08 14:43:17,339 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021:
[] Configuration option 'com.sun.faces.enableViewStateIdRendering' - ENABLED
2009-01-08 14:43:17,339 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021:
[] Configuration option 'com.sun.faces.registerConverterPropertyEditors' -
DISABLED
2009-01-08 14:43:17,339 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021:
[] Configuration option 'com.sun.faces.developmentMode' - DISABLED
2009-01-08 14:43:17,340 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1018:
[] Configuration option 'javax.faces.STATE_SAVING_METHOD' set to 'server'
2009-01-08 14:43:17,340 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1018:
[] Configuration option 'javax.faces.DEFAULT_SUFFIX' set to '.jsp'
2009-01-08 14:43:17,340 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1018:
[] Configuration option 'com.sun.faces.numberOfViewsInSession' set to
'15'
2009-01-08 14:43:17,340 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1018:
[] Configuration option 'com.sun.faces.numberOfLogicalViews' set to '15'
2009-01-08 14:43:17,340 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1018:
[] Configuration option 'com.sun.faces.injectionProvider' set to
'org.jboss.web.jsf.integration.injection.JBossInjectionProvider'
2009-01-08 14:43:17,341 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1018:
[] Configuration option 'com.sun.faces.responseBufferSize' set to '1024'
2009-01-08 14:43:17,341 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1018:
[] Configuration option 'com.sun.faces.clientStateWriteBufferSize' set to
'8192'
2009-01-08 14:43:17,341 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1018:
[] Configuration option 'com.sun.faces.expressionFactory' set to
'com.sun.el.ExpressionFactoryImpl'
2009-01-08 14:43:17,341 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1018:
[] Configuration option 'com.sun.faces.disableUnicodeEscaping' set to
'false'
Those messages are logged to the JDK (using java.util.logging) if you set this context
param in web.xml:
<context-param>
<param-name>com.sun.faces.displayConfiguration</param-name>
<param-value>true</param-value>
</context-param>
Now look back at the first message. It reports the value for
"com.sun.faces.displayConfiguration" as DISABLED! That should never happen.
The only time you should see any of the above messages is if it is enabled with the
context param. Note again that this problem happens for both "one-test" and for
"tests-standard-unit".
BTW, I don't know the difference in running "one-test" vs. running the
"tests-standard-unit" target. What does "tests-standard-unit" do
differently?
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
Attachments: server.log, server.log-PASS
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-Test...
As noted in the parent issue,
https://jira.jboss.org/jira/browse/JBAS-5834?focusedCommentId=12433073#ac...
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