Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 35338 invoked from network); 29 Jan 2007 22:45:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Jan 2007 22:45:29 -0000 Received: (qmail 15456 invoked by uid 500); 29 Jan 2007 22:45:24 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 14791 invoked by uid 500); 29 Jan 2007 22:45:22 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 14780 invoked by uid 99); 29 Jan 2007 22:45:22 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jan 2007 14:45:22 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jan 2007 14:45:13 -0800 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HBfF6-0007Uy-Np for users@tomcat.apache.org; Mon, 29 Jan 2007 14:44:52 -0800 Message-ID: <8699791.post@talk.nabble.com> Date: Mon, 29 Jan 2007 14:44:52 -0800 (PST) From: Jason Rasmussen To: users@tomcat.apache.org Subject: Re: Tomcat 6.0.8 & JSF 1.2 RI In-Reply-To: <8529370.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: Jason.Rasmussen@datatrak.net References: <8505670.post@talk.nabble.com> <8529370.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org I found that with Tomcat 6.0.8, I didn't need to initialize the JspRuntimeContext, however my ELResolver is never actually hit. I placed print outs in the constructor and all the overridden methods of my ELResolver to determine if they were ever called. Only the constructor is ever called. The following code is in the listener. It runs, because I see the constructor print out. public void contextInitialized(ServletContextEvent servletContextEvent) { ServletContext servletContext = servletContextEvent.getServletContext(); JspFactory jspFactory = JspFactory.getDefaultFactory(); JspApplicationContext jspApplicationContext = jspFactory.getJspApplicationContext(servletContext); jspApplicationContext.addELResolver(new DCELResolver()); } When the pages are rendered, the getValue method and others are never called. I was certain to make sure no resolvers are in faces-confg.xml. Is there anything else that may cause the resolver stack to get recreated as the default, and thus losing my resolver? srowen wrote: > > I am seeing the same problem, via a different route. Check this out -- it > solves this specific problem for me: > > http://issues.apache.org/bugzilla/show_bug.cgi?id=39804 > > I made a simple listener which calls > Class.forName("org.apache.jasper.compiler.JspRuntimeContext"); first > > Sean > -- View this message in context: http://www.nabble.com/Tomcat-6.0.8---JSF-1.2-RI-tf3059080.html#a8699791 Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org