On 1/12/06, Garner, Shawn <[EMAIL PROTECTED]> wrote:
>
> Googled and couldn't find anything and not sure what to try and still have
> this error:
>
> 01/12 16:16:18 error Error loading class for Filter shale: Filter is
> disabled.
> java.lang.IllegalStateException: No Factories configured for this
> Application - typically this is because a context listener is not setup in
> your web.xml.
> A typical config looks like this;
> <listener>
>
> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener
> </lis
> tener-class>
> </listener>
>
>         at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:84)
>
> Any help?


Sounds like JRun is not obeying the spec requirements about recognizing a
<listener> element inside a TLD that is inside a JAR file.  Both the JSF RI
and MyFaces implementations rely on this to implicitly register their
servlet context listener implementations that do the configuration step.

Temporary workaround is to declare the appropriate listener class in your
web.xml.

Permanent solution is to bug the JRun guys to obey the specs.

Craig

Reply via email to