[jboss-jira] [JBoss JIRA] Commented: (JBAS-4175) JSF: Logging

Stan Silvert (JIRA) jira-events at lists.jboss.org
Mon Mar 5 10:03:17 EST 2007


    [ http://jira.jboss.com/jira/browse/JBAS-4175?page=comments#action_12354980 ] 
            
Stan Silvert commented on JBAS-4175:
------------------------------------

I don't understand your issue.  First, JBoss 4.2 has NOT been integrated with JSF 1.2_04RC1.  We don't even have that in our repository.  See http://repository.jboss.org/sun-jsf/

Second, JSF is integrated with Log4J.  Even if you turn on all the debugging for the JSF implementation, you get:

09:31:54,017 INFO  [TomcatDeployer] deploy, ctxPath=/hellojsf, warUrl=.../deploy
/hellojsf.war/
09:31:54,107 INFO  [config] JSF1021: [/hellojsf] Configuration option 'com.sun.f
aces.displayConfiguration' - ENABLED
09:31:54,107 INFO  [config] JSF1021: [/hellojsf] Configuration option 'com.sun.f
aces.validateXml' - DISABLED
09:31:54,107 INFO  [config] JSF1021: [/hellojsf] Configuration option 'com.sun.f
aces.verifyObjects' - DISABLED
09:31:54,107 INFO  [config] JSF1021: [/hellojsf] Configuration option 'com.sun.f
aces.forceLoadConfiguration' - DISABLED
09:31:54,107 INFO  [config] JSF1021: [/hellojsf] Configuration option 'com.sun.f
aces.disableVersionTracking' - DISABLED
09:31:54,107 INFO  [config] JSF1021: [/hellojsf] Configuration option 'com.sun.f
aces.enableHtmlTagLibValidator' - DISABLED
09:31:54,107 INFO  [config] JSF1021: [/hellojsf] Configuration option 'com.sun.f
aces.preferXHTML' - DISABLED
09:31:54,117 INFO  [config] JSF1021: [/hellojsf] Configuration option 'com.sun.f
aces.compressViewState' - ENABLED
09:31:54,117 INFO  [config] JSF1021: [/hellojsf] Configuration option 'com.sun.f
aces.compressJavaScript' - ENABLED
09:31:54,127 INFO  [config] JSF1021: [/hellojsf] Configuration option 'com.sun.f
aces.externalizeJavaScript' - DISABLED
09:31:54,127 INFO  [config] JSF1021: [/hellojsf] Configuration option 'com.sun.f
aces.sendPoweredByHeader' - ENABLED
09:31:54,137 INFO  [config] JSF1021: [/hellojsf] Configuration option 'com.sun.f
aces.enableJSStyleHiding' - DISABLED
09:31:54,137 INFO  [config] JSF1018: [/hellojsf] Configuration option 'javax.fac
es.STATE_SAVING_METHOD' set to 'server'
09:31:54,147 INFO  [config] JSF1018: [/hellojsf] Configuration option 'javax.fac
es.DEFAULT_SUFFIX' set to '.jsp'
09:31:54,147 INFO  [config] JSF1018: [/hellojsf] Configuration option 'com.sun.f
aces.numberOfViewsInSession' set to '15'
09:31:54,147 INFO  [config] JSF1018: [/hellojsf] Configuration option 'com.sun.f
aces.numberOfLogicalViews' set to '15'
09:31:54,147 INFO  [config] JSF1018: [/hellojsf] Configuration option 'com.sun.f
aces.injectionProvider' set to 'org.jboss.web.jsf.integration.injection.JBossInj
ectionProvider'
09:31:54,157 INFO  [config] JSF1018: [/hellojsf] Configuration option 'com.sun.f
aces.responseBufferSize' set to '4096'
09:31:54,157 INFO  [config] JSF1018: [/hellojsf] Configuration option 'com.sun.f
aces.clientStateWriteBufferSize' set to '8192'
09:31:54,167 INFO  [config] JSF1018: [/hellojsf] Configuration option 'com.sun.f
aces.expressionFactory' set to 'com.sun.el.ExpressionFactoryImpl'
09:31:54,177 INFO  [config] Initializing Sun's JavaServer Faces implementation (
1.2_03-b09-FCS) for context '/hellojsf'

Perhaps you are bundling JSF with your WAR?  You should not do that in JBoss 4.2 or JBoss 5.0. 

See:
http://jsf.jboss.org
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWithJSFCDDL

Stan

> JSF: Logging
> ------------
>
>                 Key: JBAS-4175
>                 URL: http://jira.jboss.com/jira/browse/JBAS-4175
>             Project: JBoss Application Server
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: JavaServerFaces
>    Affects Versions: JBossAS-4.2.0.CR1
>         Environment: JBoss-4.2.0CR1 (SVN tag) with JDK-1.5.0_11
>            Reporter: Jesper Pedersen
>         Assigned To: Stan Silvert
>            Priority: Optional
>
> Currently the JSF-1.2 implementation isn't configured by default to use the JBoss logging framework.
> 09:12:16,946 ERROR [STDERR] Mar 5, 2007 9:12:16 AM com.sun.faces.config.ConfigureListener contextInitialized
> INFO: Initializing Sun's JavaServer Faces implementation (1.2_04-b01-RC1) for context '/guess'
> 09:12:20,487 INFO  [EARDeployer] Started J2EE application: file:/home/jboss/jboss-4.2.0.CR1/server/default/deploy/guess.ear
> It would be great if this could be included such that each application doesn't have to it.
> Please note that the JSF-1.2 implementation have been switched with the JSF-1.2_04RC1 release, but the same is true for the shipped JSF-1.2_03 release.

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

        



More information about the jboss-jira mailing list