I'm going to have to test latest TomEE 1.6.0 snapshot, because when I tested my app against 1.5.2 release, I remember seeing that exception, and I was like (saying to myself), why is 1.5.2 'release' telling me to add that servletcontext listener in my web.xml, when I have not had to add it...ever since I started using tomee 1.5.1 snapshot (last year)...and have never had to add that servlet context listener to my web.xml ever since I started using tomee+.
and I am deploying only WAR file and not EAR. On Tue, May 14, 2013 at 9:46 AM, hwaastad <[email protected]> wrote: > ear yes, > browser output when opening on of the wars context root: > ava.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> > > javax.faces.FactoryFinder._getFactory(FactoryFinder.java:286) > javax.faces.FactoryFinder.getFactory(FactoryFinder.java:206) > javax.faces.webapp.FacesServlet.init(FacesServlet.java:116) > org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45) > > > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581) > > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) > > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) > > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) > > > org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1008) > > > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) > > > org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) > > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > java.lang.Thread.run(Thread.java:722) > > I will try to drill down to see if I can find the issue. > > br hw > > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/Last-1-6-0-Snapshot-exception-tp4662940p4662942.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >
