Hi Pierre,
You need to add the web-facesconfig_1_0.dtd and web-facesconfig_1_1.dtd in org.apache.myfaces.resource package in myfaces-impl-1.1.2-SNAPSHOT.jar. Because you must be under proxy, and Digester goes on Net and tries to find out the DTD from the sun.com url which fails and throws the below exception
java.lang.IllegalStateException: No Factories configured for this Application. This happens if the faces-initialization does not work at all - make sure that you properly include all configuration settings necessary for a basic faces application and that all the necessary libs are included. Also check the logging output of your web application and your container for any ex ceptions!
If you did that and find nothing, the mistake might be due to the fact that you use some special web-containers which do not support registering context-listeners via TLD files and 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>
In older version of myfaces-all this dtds were present, so I guess its a problem with new build process.
Regards,
Ketan.
"Pierre Moermans" <[EMAIL PROTECTED]>
02/02/2006 02:50 CSTPlease respond to"MyFaces Discussion"
To [email protected]
cc
bcc
Subject necessary libraries for 1.1.2 snapshot
Hello,
To use the 1.1.2 snapshot instead of the 1.1.1 libraries of MyFaces, I
just replaced myfaces-all.jar with the 3 following jar files I got from
the nightly snapshot:
- myfaces-api-1.1.2-SNAPSHOT.jar
myfaces-commons-1.1.2-SNAPSHOT.jar
myfaces-impl-1.1.2-SNAPSHOT.jar
But then, I get the IllegalStateException (No Factories for...).
Is this change of jar files correct ?
What else do I need to change for it to work ?
In case it has an inpact, I use Tomcat 5.5.15
Many thanks,
Pierre
ForwardSourceID:NT0000DC0A
Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you

