On 04/08/2010 08:25, vinay basavanal wrote:
> hi,
> 
>    i downloaded an application from java world which has jsf and spring and
> myfaces but when i deploy application on tomcat i get this
> 
> http://www.javaworld.com/javaworld/jw-04-2008/jw-04-acegi-jsf.html

Anything unclear about the exception message below?
Seems to have a LARGE CLEAR TEXT explanation in it.


p

> Aug 4, 2010 12:32:48 PM org.apache.catalina.core.ApplicationContext log
> INFO: Closing Spring root WebApplicationContext
> Aug 4, 2010 12:32:48 PM org.apache.catalina.core.StandardContext
> listenerStop
> SEVERE: Exception sending context destroyed event to listener instance of
> class org.apache.myfaces.webapp.StartupServletContextListener
> 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>
> 
>     at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:172)
>     at
> org.apache.myfaces.context.servlet.FacesContextImplBase.getApplication(FacesContextImplBase.java:131)
>     at

Attachment: 0x62590808.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to