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

 

Reply via email to