Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 57402 invoked from network); 17 Jan 2009 02:36:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Jan 2009 02:36:25 -0000 Received: (qmail 20859 invoked by uid 500); 17 Jan 2009 02:36:23 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 20810 invoked by uid 500); 17 Jan 2009 02:36:23 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 20796 invoked by uid 99); 17 Jan 2009 02:36:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jan 2009 18:36:23 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Jan 2009 02:36:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A0B97234C48B for ; Fri, 16 Jan 2009 18:35:59 -0800 (PST) Message-ID: <682521914.1232159759657.JavaMail.jira@brutus> Date: Fri, 16 Jan 2009 18:35:59 -0800 (PST) From: "Leonardo Uribe (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Commented: (MYFACES-2134) org.apache.myfaces.CONFIG_REFRESH_PERIOD != 0 causes a myfaces failure In-Reply-To: <1991916364.1232025899835.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MYFACES-2134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664790#action_12664790 ] 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: https://issues.apache.org/jira/browse/MYFACES-2134 > 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.