[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu
KoniKoni
do-not-reply at jboss.com
Mon Apr 16 10:40:40 EDT 2007
Hello, i get the same exception:
| 16:40:42,818 ERROR [STDERR] 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>
| 16:40:42,818 ERROR [STDERR] at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:90)
| 16:40:42,818 ERROR [STDERR] at org.jboss.seam.mock.MockFacesContext.<init>(MockFacesContext.java:62)
| 16:40:42,819 ERROR [STDERR] at org.jboss.seam.ui.facelet.FaceletsRenderer$Context.wrap(FaceletsRenderer.java:59)
| 16:40:42,819 ERROR [STDERR] at org.jboss.seam.ui.facelet.FaceletsRenderer.render(FaceletsRenderer.java:110)
| 16:40:42,819 ERROR [STDERR] at kk.rentform.session.mailprocessor.AsynchronousMailProcessor.scheduleSend(AsynchronousMailProcessor.java:20)
| 16:40:42,819 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 16:40:42,819 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 16:40:42,819 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 16:40:42,819 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 16:40:42,819 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
| 16:40:42,819 ERROR [STDERR] at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
| 16:40:42,819 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:57)
| 16:40:42,819 ERROR [STDERR] at org.jboss.seam.interceptors.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:34)
| 16:40:42,819 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
| 16:40:42,819 ERROR [STDERR] at org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27)
| 16:40:42,819 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
| 16:40:42,819 ERROR [STDERR] at org.jboss.seam.interceptors.AsynchronousInterceptor.aroundInvoke(AsynchronousInterceptor.java:37)
| 16:40:42,819 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
| 16:40:42,819 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
| 16:40:42,819 ERROR [STDERR] at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:151)
| 16:40:42,820 ERROR [STDERR] at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:87)
| 16:40:42,820 ERROR [STDERR] at kk.rentform.session.mailprocessor.AsynchronousMailProcessor_$$_javassist_89.scheduleSend(AsynchronousMailProcessor_$$_javassist_89.java)16:40:42,820 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 16:40:42,820 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 16:40:42,820 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 16:40:42,820 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 16:40:42,820 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
| 16:40:42,820 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:123)
|
I use jboss 4.0.5GA + Jboss Seam build tonight.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037578#4037578
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037578
More information about the jboss-user
mailing list