myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Freedman (JIRA)" <...@myfaces.apache.org>
Subject [jira] Updated: (PORTLETBRIDGE-59) faces-config.xml - Can't parse configuration file
Date Thu, 29 Jan 2009 23:23:59 GMT

     [ https://issues.apache.org/jira/browse/PORTLETBRIDGE-59?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Freedman updated PORTLETBRIDGE-59:
------------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0
                   1.0.0
           Status: Resolved  (was: Patch Available)

Added schemaLocation references to thethe public URL of the  jsf 1.2 xsd so the faces-config.xml
can now be validated.

> faces-config.xml - Can't parse configuration file
> -------------------------------------------------
>
>                 Key: PORTLETBRIDGE-59
>                 URL: https://issues.apache.org/jira/browse/PORTLETBRIDGE-59
>             Project: MyFaces Portlet Bridge
>          Issue Type: Bug
>          Components: Impl
>    Affects Versions: 1.0.0-beta
>         Environment: Glassfish 2.1 https://glassfish.dev.java.net
> Portlet Container 2.0_01 https://portlet-container.dev.java.net/
>            Reporter: Sascha GroƟ
>             Fix For: 1.0.0, 2.0.0
>
>         Attachments: PORTLETBRIDGE-59.patch
>
>
> I get following Exception under Glassfish with Portlet Container if i deploy portlet-bridge-demo-1.0.0-beta.war
> [#|2009-01-28T13:02:06.973+0100|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=Timer-7;_RequestID=fc1e76ca-6e37-4173-90da-9209fae37994;|WebModule[/portlet-bridge-demo-1.0.0-beta]PWC1275:
Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
> javax.faces.FacesException: Can't parse configuration file: jar:file:..../glassfish/domains/domain1/applications/j2ee-modules/portlet-bridge-demo-1.0.0-beta/WEB-INF/lib/portlet-bridge-impl-1.0.0-beta.jar!/META-INF/faces-config.xml:
Error at line 21 column 81: cvc-elt.1: Cannot find the declaration of element 'faces-config'.
> 	at com.sun.faces.config.ConfigureListener.parse(ConfigureListener.java:1438)
> 	at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:348)
> The Problem will be solved using JSF 1.2 with xsi:schemaLocation. in the faces-config.xml
> Patch will be added.
> 	

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message