myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From José Luis Cetina <maxtorz...@gmail.com>
Subject Re: Performance params
Date Fri, 01 Nov 2013 19:07:16 GMT
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

<context-param>
        <param-name>org.apache.myfaces.SUPPORT_JSP_AND_FACES_EL</param-name>
        <param-value>false</param-value>
    </context-param>

and try to access to my app i get an

SEVERE - StandardWrapper.Throwable
java.lang.IllegalStateException: No Factories configured for this
Application. This happens if the faces-initialization does not work at all
- make sure that you properly include all configuration settings necessary
for a basic faces application and that all the necessary libs are 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 the 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;
<listener>

<listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
</listener>

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 <kito.mann@virtua.com>

> Thanks for the link, Howard. Mark is definitely an "outstanding 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<http://blogs.jsfcentral.com/JSFNewscast/>
> ww.enterprisejavanews.com*
> * JSFCentral Interviews Podcast:
> http://www.jsfcentral.com/resources/jsfcentralpodcasts/
> * Sign up for the JSFCentral Newsletter:
> http://oi.vresp.com/?fid=ac048d0e17
>
>
> 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é Luis Cetina*
-------------------------------------------------------------------

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message