This is a bug in MyFaces 1.2 - please search the archives at
http://appfuse.org/forum/user to a workaround.

Matt

On 11/12/07, Jeremiah John Macariola <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hi,
>
>
>
>             I just created Appfuse 2.0 Basic JSF app in my local machine.
> The installation works fine and all the tutorials. But the problem started
> when I disconnected my computer from internet and try to run the app again
> using maven jetty plugin. It gives me this error:
>
>
>
> 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;
>
> <listener>
>
>
> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
>
> </listener>
>
>
>
>             at
> javax.faces.FactoryFinder.getFactory(FactoryFinder.java:90)
>
>             at
> javax.faces.webapp.FacesServlet.init(FacesServlet.java:88)
>
>             at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
>
>             at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
>
>             at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4042)
>
>             at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4348)
>
>             at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>
>             at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>
>             at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
>
>             at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
>
>             at
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
>
>             at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
>
>             at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
>
>             at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
>
>             at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
>
>             at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>
>             at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
>
>             at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>
>             at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>
>             at
> org.apache.catalina.core.StandardService.start(StandardService.java:516)
>
>             at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>
>             at
> org.apache.catalina.startup.Catalina.start(Catalina.java:566)
>
>             at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>             at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
>             at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
>             at java.lang.reflect.Method.invoke(Method.java:585)
>
>             at
> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
>
>             at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
>
>
>
>
>
>             This error also occurs whenever I deploy the app using tomcat.
> It seems that the application is trying to connect to http://sun.com and if
> you're not connected the myfaces won't be initialized, thus, will result to
> failed deployment. Any idea on how to resolve this?
>
>
>
>             Any help would be greatly appreciated. Thanks!
>
>
>
> without wax, maiah
>
>


-- 
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to