Hello, first let me say, I have red the wiki page about how to use JSF with JBoss.
I use: JBoss 4.0.5 MyFaces Tomahawk EJB 3.0 I've deployed the application as an *.ear file including the ejb.jar and web.war file. There are no JSF libs within /WEB-INF/lib. anonymous wrote : When I start JBoss the ear file is deployed with | out any error, but when I try to start the webapplication I get the error: | [STDOUT] 10:32:57,814 ERROR [UIComponentTag] Faces context not found. getResponseWriter will fail. Check if the FacesServlet has been initialized at all in your web.xml. | This is a part of the application structure: | +TestEJB | +serverEJB | - TestBean | - TestRemote | +META-INF | - ejb-jar.xml | +TestWeb | +clientSrc | - TestMBean | +web | +WEB-INF | - web.xml | - faces-config.xml | -index.jsp | And this is a part of the web.xml File: | <?xml version="1.0" encoding="UTF-8"?> | <web-app xmlns="http://java.sun.com/xml/ns/j2ee" | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" | version="2.4"> | | <context-param> | <param-name>javax.faces.CONFIG_FILES</param-name> | <param-value>/WEB-INF/faces-config.xml</param-value> | </context-param> | | <filter> | <filter-name>extensionsFilter</filter-name> | <filter-class> | org.apache.myfaces.webapp.filter.ExtensionsFilter | </filter-class> | <init-param> | <param-name>uploadMaxFileSize</param-name> | <param-value>100m</param-value> | </init-param> | <init-param> | <param-name>uploadThresholdSize</param-name> | <param-value>100k</param-value> | </init-param> | | | </filter> | | <filter-mapping> | <filter-name>extensionsFilter</filter-name> | <url-pattern>*.jsf</url-pattern> | </filter-mapping> | | <filter-mapping> | <filter-name>extensionsFilter</filter-name> | <url-pattern>/faces/*</url-pattern> | </filter-mapping> | | | <servlet> | <servlet-name>faces</servlet-name> | <servlet-class> | javax.faces.webapp.FacesServlet | </servlet-class> | <load-on-startup>1</load-on-startup> | </servlet> | | <servlet-mapping> | <servlet-name>faces</servlet-name> | <url-pattern>*.jsf</url-pattern> | </servlet-mapping> | | <listener> | <listener-class> | org.apache.myfaces.webapp.StartupServletContextListener | </listener-class> | </listener> | </web-app> | | Please, can any one help me. Did I forget something to add? Thx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034433#4034433 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034433 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user