sorry for hiking mid-conversation but I assume you are supporting servlet 2.3 and you are running JRun4?

thanks,

Martin-

----- Original Message ----- From: "Craig McClanahan" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Friday, January 13, 2006 1:38 AM
Subject: Re: [shale] starting server errors


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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to