myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <>
Subject [jira] Commented: (MYFACES-2134) org.apache.myfaces.CONFIG_REFRESH_PERIOD != 0 causes a myfaces failure
Date Sat, 17 Jan 2009 02:35:59 GMT


Leonardo Uribe commented on MYFACES-2134:

 From my point of view (personal opinion), this is not a blocker issue, because this only
happens with a specific configuration (myfaces 1.2.x + trinidad). 

 There are several possible ways:

1. Do nothing, since it is a myfaces specific feature.
2. Create a method purgeRenderKit on trinidad renderkit.
3. Log a message when NoSuchMethodException is thrown, and continue processing, but it is
ignored if some side effect occur.

Since this is a myfaces specific feature, and a valid workaround is present, I'll lower the
priority to major.

> org.apache.myfaces.CONFIG_REFRESH_PERIOD != 0 causes a myfaces failure
> ----------------------------------------------------------------------
>                 Key: MYFACES-2134
>                 URL:
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 1.2.5
>         Environment: Linux, JDK 1.5, Tomcat 6
>            Reporter: Felix Becker
>            Priority: Blocker
> When the context param org.apache.myfaces.CONFIG_REFRESH_PERIOD is != 0 (which seems
to be the default) the second page request causes a 
> javax.faces.FacesException: Undefined component type javax.faces.ViewRoot Exception.
> In FacesConfigurator.class method void update()  the method purgeConfiguration() is called.
This method throws an NoSuchMethodException. In the catch block for this Exception there is
a return; - so the configure(); below isn't called. 
> It looks like RenderKitFactory and / or CoreRenderKitFactory (trinidad) doesn't implement
the purgeRenderKit method which is called by reflection from the purgeConfiguration() method
- so the Exception rises up.
> Setting the context param org.apache.myfaces.CONFIG_REFRESH_PERIOD to 0 works because
the purgeConfiguration() is never called then.
> Regards from Felix @itemis Bonn

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

View raw message