I tried this and it doesn't work:

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


Shawn
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig
McClanahan
Sent: Friday, January 13, 2006 12:39 AM
To: Struts Users Mailing List
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

**************************************************************************** 
This email may contain confidential material. 
If you were not an intended recipient, 
Please notify the sender and delete all copies. 
We may monitor email to and from our network. 
****************************************************************************

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

Reply via email to