Return-Path: X-Original-To: apmail-myfaces-users-archive@www.apache.org Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3DA5810EA3 for ; Sat, 2 Nov 2013 03:03:15 +0000 (UTC) Received: (qmail 95341 invoked by uid 500); 2 Nov 2013 03:03:11 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 94790 invoked by uid 500); 2 Nov 2013 03:03:09 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 94782 invoked by uid 99); 2 Nov 2013 03:03:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Nov 2013 03:03:07 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URIBL_GREY X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of smithh032772@gmail.com designates 74.125.82.49 as permitted sender) Received: from [74.125.82.49] (HELO mail-wg0-f49.google.com) (74.125.82.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Nov 2013 03:03:01 +0000 Received: by mail-wg0-f49.google.com with SMTP id x12so241663wgg.4 for ; Fri, 01 Nov 2013 20:02:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=NZ4PsZ44X8+w7aa3CkKJxUIsa07H5x7F94gL8FbehCo=; b=0XgG8yCBNsJ86UhRjdppODmlCoQGZMEPmdZF1ah7ejtcRXEFBjPNCNAIEsiNvpK3/u j7F0qzwLPVY2vckRqrIAGkOID2Pg0eWqs8lHn7P8+tJsZKJUitqDKD1kyh/TM8r4dYGw xdIVkckRZp/arCoFCnxq5vPirRrCL6rKgUWF9ibeyN/jVGnmfHUXYRVcOUSLI8U01mqU /hetn5zVgS//ak4/las2AUMUPyMR6LbpB/QjZ71F88QpiZ3enS+KXGNlKWA3NzB9Tgza ilVe0gQL1xJYdYRVlVGKM4mQspmDk1ceYDV7dEJevdZvrMtd7zXwPViT++6lrF0OQl+P VnvQ== MIME-Version: 1.0 X-Received: by 10.180.74.240 with SMTP id x16mr4590791wiv.44.1383361360833; Fri, 01 Nov 2013 20:02:40 -0700 (PDT) Received: by 10.227.208.7 with HTTP; Fri, 1 Nov 2013 20:02:40 -0700 (PDT) In-Reply-To: References: Date: Fri, 1 Nov 2013 23:02:40 -0400 Message-ID: Subject: Re: Performance params From: "Howard W. Smith, Jr." To: MyFaces Discussion Content-Type: multipart/alternative; boundary=f46d043c08bc8233a404ea28ea93 X-Virus-Checked: Checked by ClamAV on apache.org --f46d043c08bc8233a404ea28ea93 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable and with that said, an answer[1] to a question on stackoverflow, org.apache.myfaces.EXPRESSION_FACTORY com.sun.el.ExpressionFactoryImpl com.sun.faces.expressionFactory com.sun.el.ExpressionFactoryImpl [1] http://stackoverflow.com/a/5538539/933054 On Fri, Nov 1, 2013 at 7:13 PM, Thomas Andraschko < andraschko.thomas@gmail.com> wrote: > http://lmgtfy.com/?q=3Dtomcat+ExpressionFactoryImpl > > > 2013/11/1 Jos=E9 Luis Cetina > > > I use tomee with the "default" EL > > > > > > 2013/11/1 Thomas Andraschko > > > > > It depends on your AS or EL Implementation. > > > If you use JUEL, its: de.odysseus.el.ExpressionFactoryImpl > > > > > > > > > 2013/11/1 Jos=E9 Luis Cetina > > > > > > > And what is the value of org.apache.myfaces.EXPRESSION_FACTORY ? > > > > > > > > > > > > 2013/11/1 Thomas Andraschko > > > > > > > > > AFAIR you must set "org.apache.myfaces.EXPRESSION_FACTORY" becaus= e > > the > > > EL > > > > > Factory can't be extraced from JSP anymore. > > > > > > > > > > > > > > > 2013/11/1 Jos=E9 Luis Cetina > > > > > > > > > > > I didnt have any of this performance parameters in my webapps, > now > > im > > > > > > trying to use them (i have any other params), im trying one by > one > > > and > > > > > when > > > > > > i set > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.myfaces.SUPPORT_JSP_AND_FACES_EL > > > > > > false > > > > > > > > > > > > > > > > > > and try to access to my app i get an > > > > > > > > > > > > SEVERE - StandardWrapper.Throwable > > > > > > java.lang.IllegalStateException: No Factories configured for th= is > > > > > > Application. This happens if the faces-initialization does not > work > > > at > > > > > all > > > > > > - make sure that you properly include all configuration setting= s > > > > > necessary > > > > > > for a basic faces application and that all the necessary libs a= re > > > > > included. > > > > > > Also check the logging output of your web application and your > > > > container > > > > > > for any exceptions! > > > > > > If you did that and find nothing, the mistake might be due to t= he > > > fact > > > > > that > > > > > > you use some special web-containers which do not support > > registering > > > > > > context-listeners via TLD files and a context listener is not > setup > > > in > > > > > your > > > > > > web.xml. > > > > > > A typical config looks like this; > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.myfaces.webapp.StartupServletContextListener > > > > > > > > > > > > > > > > > > I dont have the > > > org.apache.myfaces.webapp.StartupServletContextListener > > > > > > listener in my web.xml, im using an ear, what im doing wrong? > > > > > > > > > > > > > > > > > > 2013/11/1 Kito Mann > > > > > > > > > > > > > Thanks for the link, Howard. Mark is definitely an "outstandi= ng > > > > Apache > > > > > > > Committer" ;-). > > > > > > > > > > > > > > At any rate, this client isn't using CDI, so that isn't an > > option. > > > I > > > > > > would > > > > > > > definitely consider it for clients that are using CDI, though= . > I > > > > always > > > > > > > felt like OpenWebBeans was more stable than Weld. > > > > > > > > > > > > > > ___ > > > > > > > > > > > > > > Kito D. Mann | @kito99 | Author, JSF in Action > > > > > > > Virtua, Inc. | http://www.virtua.com | JSF/Java EE training > and > > > > > > consulting > > > > > > > http://www.JSFCentral.com | @jsfcentral > > > > > > > +1 203-998-0403 > > > > > > > > > > > > > > * Listen to the Enterprise Java Newscast: > > > > > > > *http://w > > > > > > > ww.enterprisejavanews.com* > > > > > > > * JSFCentral Interviews Podcast: > > > > > > > http://www.jsfcentral.com/resources/jsfcentralpodcasts/ > > > > > > > * Sign up for the JSFCentral Newsletter: > > > > > > > http://oi.vresp.com/?fid=3Dac048d0e17 > > > > > > > > > > > > > > > > > > > > > On Fri, Nov 1, 2013 at 9:48 AM, Howard W. Smith, Jr. < > > > > > > > smithh032772@gmail.com > > > > > > > > wrote: > > > > > > > > > > > > > > > Kito, > > > > > > > > > > > > > > > > On Thu, Oct 31, 2013 at 7:46 PM, Howard W. Smith, Jr. < > > > > > > > > smithh032772@gmail.com> wrote: > > > > > > > > > > > > > > > > > See comments, and the URLs provided below as well. One of > the > > > > > > > outstanding > > > > > > > > > Apache/PrimeFaces committers wrote the blog, and I am > always > > > > happy > > > > > to > > > > > > > > share > > > > > > > > > and/or pass along. Hope it helps. > > > > > > > > > > > > > > > > > > > > > > > > Also, I couldn't help myself in saying this, another > > outstanding > > > > > Apache > > > > > > > > committer wrote this blog with the following question, > > > > > > > > > > > > > > > > Why is OpenWebBeans so fast?[1] > > > > > > > > > > > > > > > > I hope your client is willing to use OpenWebBeans + JUEL + > > > MyFaces. > > > > > > that > > > > > > > is > > > > > > > > a happy stack which will make for happy > campers/endusers/etc... > > > > > > > > > > > > > > > > > > > > > > > > [1] > > > > > > > > > > > > http://struberg.wordpress.com/2012/03/20/why-is-openwebbeans-so-fast/ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > ------------------------------------------------------------------- > > > > > > *SCJA. Jos=E9 Luis Cetina* > > > > > > > ------------------------------------------------------------------- > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > ------------------------------------------------------------------- > > > > *SCJA. Jos=E9 Luis Cetina* > > > > ------------------------------------------------------------------- > > > > > > > > > > > > > > > -- > > ------------------------------------------------------------------- > > *SCJA. Jos=E9 Luis Cetina* > > ------------------------------------------------------------------- > > > --f46d043c08bc8233a404ea28ea93--