As of 1.1.0, StartupServletContextListener is defined as a listener in the tld file rather than the web.xml file.
However, some containers don't handle this properly. For instance, I have the same situation under Jetty 5.1.3. What container are you using to run the examples? If it's not Jetty 5.1.3, please add it to the "Other Containers" section of http://wiki.apache.org/myfaces/Installation_and_Configuration. For now, you just need to manually add the listener to the web.xml file as per the instructions on that page. On 9/27/05, Jeffrey Porter <[EMAIL PROTECTED]> wrote: > > > > > > Hello all, > > > > Hoping you can shed some light on the following questions I have. > > > > I'm learning from the file myfaces-1.1.0-examples.zip > > > > Questions: > > > > Why is there no Listener class defined in the web.xml? > > How does the example work? > > > > I've placed simple.war into a ear file which works fine, except when I > rename simple.war to anything else e.g. billy.war > > When I do this I get the following error message⦠> > > > 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</listener-class> > </listener> > > > > (I update the application xml with the same context & file name) > > > > Thanks > > Jeff > >

