tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ja...@hookom.net
Subject Re: Custom Faces servlet support in Tomcat 6.0.2 (JSF 1.2)
Date Thu, 30 Nov 2006 22:39:56 GMT
Logic could have very well changed in the JSF 1.2 API implementation of the FacesServlet, I
would first compare your code to the source distribution of JSF 1.2 available at Java.net.


>I guess it would help to specify what kind of problem I am experiencing!!! 
>;-)
>
>Here is the exception stack trace that gets thrown when the controller
>tries to process the first JSF page:
>
>Nov 30, 2006 10:08:31 PM org.apache.catalina.core.ApplicationContext log
>SEVERE: StandardWrapper.Throwable
>java.lang.IllegalStateException: Application was not properly
>initialized at startup, could not find Factory:
>javax.faces.context.FacesContextFactory
>        at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:263)
>        at javax.faces.webapp.FacesServlet.init(FacesServlet.java:142)
>        at myapp.CustomFacesServlet.init(CustomFacesServlet.java:36)
>        at 
>org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
>
>        at 
>org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
>        at 
>org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:404
>4)
>        at 
>org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
>...
>
>I don't know why the system can't find the FacesContextFactory. Any
>configuration I should be doing or subclass I need to create?
>
>Martin
>
>On 11/30/06, jacob@hookom.net <jacob@hookom.net> wrote:
>> What's not working specifically?
>>
>> >My Web application relies on a custom Faces servlet to handle server
>> >errors. This custom Faces servlet used to work well inside Tomcat
>> >5.5.16 but not anymore in Tomcat 6.0.2. I do not know if this problem
>> >is a limitation of Tomcat 6.0.2 or a change in the way JSF works.
>> >Could someone tell me? If this is a known problem, is there a
>> >workaround or are there any plans to fix it?
>> >
>> >Martin
>> >
>> >---------------------------------------------------------------------
>> >To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
>> >For additional commands, e-mail: dev-help@tomcat.apache.org
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: dev-help@tomcat.apache.org
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: dev-help@tomcat.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message