[jboss-jira] [JBoss JIRA] Updated: (JBAS-7600) Parse errors from JSF when initializing admin-console

Stan Silvert (JIRA) jira-events at lists.jboss.org
Fri Jan 8 09:17:30 EST 2010


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

Stan Silvert updated JBAS-7600:
-------------------------------

    Attachment: jboss-jsfunit-examples-ajax4jsf.war


The attached JSFUnit WAR recreates the problem.  Just deploy and hit http://localhost:8080/jboss-jsfunit-examples-ajax4jsf/

The problem is that the legacy Facelets scans the whole classpath looking for files with *.taglib.xml.  It finds some in the JSF2 impl jars and is unable to parse them.  This should not cause any operation problems because applications that use legacy Facelets should not be using tags from the JSF2 Facelets libraries anyway.

The new JSF Deployer would fix this problem if I ever had time to work on it.  Perhaps we can find some workaroud for the time being.



> Parse errors from JSF when initializing admin-console
> -----------------------------------------------------
>
>                 Key: JBAS-7600
>                 URL: https://jira.jboss.org/jira/browse/JBAS-7600
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JSF
>            Reporter: Shelly McGowan
>            Assignee: Stan Silvert
>             Fix For: JBossAS-6.0.0.M2
>
>         Attachments: jboss-jsfunit-examples-ajax4jsf.war
>
>
> Initializing he admin-console.war built using the latest EMBJOPR trunk (with workaround noted in EMBJOPR-269) fails due with parse errors from .xml file in jsf-impl.jar:
> 17:46:47,428 SEVERE [facelets.compiler] Error Loading Library: vfszip:/work/TRUNK/trunk/build/output/jboss-6.0.0-SNAPSHOT/server/all/deploy/jbossweb.sar/jsf-libs/jsf-impl.jar/com/sun/faces/metadata/taglib/composite.taglib.xml: java.io.IOException: Error parsing [vfszip:/work/TRUNK/trunk/build/output/jboss-6.0.0-SNAPSHOT/server/all/deploy/jbossweb.sar/jsf-libs/jsf-impl.jar/com/sun/faces/metadata/taglib/composite.taglib.xml]: 
>         at com.sun.facelets.compiler.TagLibraryConfig.create(TagLibraryConfig.java:410)
> Caused by: org.xml.sax.SAXException: Error Handling [vfszip:/work/TRUNK/trunk/build/output/jboss-6.0.0-SNAPSHOT/server/all/deploy/jbossweb.sar/jsf-libs/jsf-impl.jar/com/sun/faces/metadata/taglib/composite.taglib.xml at 41,29]
>         at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.error(TagLibraryConfig.java:376)
> Full trace here: 
> http://pastebin.com/m85eee91

-- 
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