Are you behind a proxy server? MyFaces 1.2.0 has a bug where it won't run if it can't connect to the internet.
Matt On 9/20/07, Irshad Buchh <[EMAIL PROTECTED]> wrote: > > Hi, > > Just heard about the final AppFuse 2.0, couldn't wait to try it. This is > what I did: > > mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes > -DarchetypeArtifactId=appfuse-basic-jsf > -DremoteRepositories=http://static.appfuse.org/releases > -DarchetypeVersion=2.0 -DgroupId=edu.ksu -DartifactId=appfuse2-jsf > > It created appfuse basic project nicely and then in the appfuse2-jsf dir I > tried: > > mvn > > It gave the following errors: > > [INFO] [talledLocalContainer] SEVERE: StandardWrapper.Throwable > [INFO] [talledLocalContainer] 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! > [INFO] [talledLocalContainer] 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. > [INFO] [talledLocalContainer] A typical config looks like this; > [INFO] [talledLocalContainer] <listener> > [INFO] [talledLocalContainer] > <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class> > [INFO] [talledLocalContainer] </listener> > [INFO] [talledLocalContainer] > [INFO] [talledLocalContainer] at > javax.faces.FactoryFinder.getFactory(FactoryFinder.java:90) > [INFO] [talledLocalContainer] at > javax.faces.webapp.FacesServlet.init(FacesServlet.java:88) > [INFO] [talledLocalContainer] at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161) > [INFO] [talledLocalContainer] at > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981) > [INFO] [talledLocalContainer] at > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4045) > [INFO] [talledLocalContainer] at > org.apache.catalina.core.StandardContext.start(StandardContext.java:4351) > [INFO] [talledLocalContainer] at > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) > [INFO] [talledLocalContainer] at > org.apache.catalina.core.StandardHost.start(StandardHost.java:719) > [INFO] [talledLocalContainer] at > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) > [INFO] [talledLocalContainer] at > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) > [INFO] [talledLocalContainer] at > org.apache.catalina.core.StandardService.start(StandardService.java:516) > [INFO] [talledLocalContainer] at > org.apache.catalina.core.StandardServer.start(StandardServer.java:710) > [INFO] [talledLocalContainer] at > org.apache.catalina.startup.Catalina.start(Catalina.java:566) > [INFO] [talledLocalContainer] at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > [INFO] [talledLocalContainer] at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > [INFO] [talledLocalContainer] at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > [INFO] [talledLocalContainer] at > java.lang.reflect.Method.invoke(Method.java:585) > [INFO] [talledLocalContainer] at > org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) > [INFO] [talledLocalContainer] at > org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) > [INFO] [talledLocalContainer] Sep 20, 2007 3:31:44 PM > org.apache.catalina.core.StandardContext loadOnStartup > [INFO] [talledLocalContainer] SEVERE: Servlet /appfuse2-jsf-1.0-SNAPSHOT > threw load() exception > [INFO] [talledLocalContainer] 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! > [INFO] [talledLocalContainer] 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. > [INFO] [talledLocalContainer] A typical config looks like this; > [INFO] [talledLocalContainer] <listener> > [INFO] [talledLocalContainer] > <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class> > [INFO] [talledLocalContainer] </listener> > [INFO] [talledLocalContainer] > [INFO] [talledLocalContainer] at > javax.faces.FactoryFinder.getFactory(FactoryFinder.java:90) > [INFO] [talledLocalContainer] at > javax.faces.webapp.FacesServlet.init(FacesServlet.java:88) > [INFO] [talledLocalContainer] at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161) > [INFO] [talledLocalContainer] at > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981) > [INFO] [talledLocalContainer] at > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4045) > [INFO] [talledLocalContainer] at > org.apache.catalina.core.StandardContext.start(StandardContext.java:4351) > [INFO] [talledLocalContainer] at > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) > [INFO] [talledLocalContainer] at > org.apache.catalina.core.StandardHost.start(StandardHost.java:719) > [INFO] [talledLocalContainer] at > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) > [INFO] [talledLocalContainer] at > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) > [INFO] [talledLocalContainer] at > org.apache.catalina.core.StandardService.start(StandardService.java:516) > [INFO] [talledLocalContainer] at > org.apache.catalina.core.StandardServer.start(StandardServer.java:710) > [INFO] [talledLocalContainer] at > org.apache.catalina.startup.Catalina.start(Catalina.java:566) > [INFO] [talledLocalContainer] at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > [INFO] [talledLocalContainer] at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > [INFO] [talledLocalContainer] at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > [INFO] [talledLocalContainer] at > java.lang.reflect.Method.invoke(Method.java:585) > [INFO] [talledLocalContainer] at > org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) > [INFO] [talledLocalContainer] at > org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) > [INFO] [talledLocalContainer] Sep 20, 2007 3:31:44 PM > org.apache.catalina.startup.HostConfig deployWAR > [INFO] [talledLocalContainer] INFO: Deploying web application archive > cargocpc.war > [INFO] [talledLocalContainer] Sep 20, 2007 3:31:44 PM > org.apache.coyote.http11.Http11Protocol start > [INFO] [talledLocalContainer] INFO: Starting Coyote HTTP/1.1 on http-8081 > [INFO] [talledLocalContainer] Sep 20, 2007 3:31:44 PM > org.apache.catalina.startup.Catalina start > [INFO] [talledLocalContainer] INFO: Server startup in 49797 ms > [INFO] [talledLocalContainer] Tomcat 5.x started on port [8081] > [INFO] [antrun:run {execution: default}] > [INFO] Executing tasks > [delete] Deleting: > C:\appfuse2-jsf\target\webtest-data\web-tests-result.xml > [echo] Testing 'appfuse2-jsf-1.0-SNAPSHOT' with locale 'en' > > Login: > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Error executing ant tasks > > Embedded error: The following error occurred while executing this line: > C:\appfuse2-jsf\src\test\resources\login.xml:1: Step[invoke "get Login Page" > (1/6)]: HTTP error 407, at: invoke > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 2 minutes 8 seconds > [INFO] Finished at: Thu Sep 20 15:31:54 GMT+03:00 2007 > [INFO] Final Memory: 22M/40M > [INFO] > ------------------------------------------------------------------------ > > I tried it many times, but I get the same errors. > > --Irshad. > > > -- > View this message in context: > http://www.nabble.com/Error-with-Latest-AppFuse-2.0-tf4487284s2369.html#a12796347 > Sent from the AppFuse - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
