i am a newbie on Geronimo and tried to get a JSF2 webapp up and running,
but it seems that i have some troubles with the Geronimo provided MyFaces
yesterday i found a page where one wrote that the MyFaces components
in Geronimo should be deactivated because they are JSF 1.2 based.
But due to my deactivated browser history i can not find this page again
and so i tried to stop the system modules from the Geronimo console:
Unfortunately i get another exception from Geronimo when i try to deploy
2011-06-26 21:32:47,432 ERROR [web]] StandardWrapper.Throwable
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 exceptions!
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;
I dont know how to deal with that issue now...
Maybe the problem results from the way i deploy the webapp to Geronimo?
I use Eclipse 3.6.2 and the Geronimo 2.2.1 server adapter for deploying the
webapp. The webapp is a Maven based project which i imported to Eclipse
and then i set the facet Dynamic web module to the project.
If i look at the directory $WORKSPACE/.plugins/org.apache.geronimo.st.v21.core then i find
a war file but there are no libs in the folder WEB-INF/lib...
Are they not deployed to Geronimo? Does Geronimo get the projects classpath
then i deploy the webapp to it?
Or am i wrong and i have another issue with Geronimo and JSF 2?
thanks in advance