I am also trying something similar Jboss 4.2.1 -internal JSF 1.2 RI - Tomahawk 1.1.6 - Sandbox 1.1.7
I am getting this deploy time exception - ERROR [[/iss]] Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener javax.faces.FacesException: java.lang.ClassCastException: org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener Any suggestions how I can remove this? or what I might be doing wrong? Any help greatly appreciated. Thanks, Smita Anton Gavazuk wrote: > > Ok, next approach: > prehistory > JBoss 4.0.5 > MyFaces 1.1 + Tomahawk 1.6 - everything is fine and work > > trying > JBoss 4.2.1 - internal JSF 1.2 RI + Tomahawk 1.6 > > tiles definition > Code: > > <?xml version="1.0"?> > <!DOCTYPE tiles-definitions PUBLIC > "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN" > "http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd"> > <tiles-definitions> > <definition name="login.tiles" path="/jsp/component/mainlogin.jsp" /> > </tiles-definitions> > > > > > web.xml > Code: > > <?xml version="1.0" encoding="UTF-8"?> > <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://java.sun.com/xml/ns/javaee > http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> > <context-param> > <param-name>javax.faces.CONFIG_FILES</param-name> > <param-value> > /WEB-INF/config/faces-config.xml > </param-value> > </context-param> > <!-- Tiles ViewHandler config file --> > <context-param> > <param-name>tiles-definitions</param-name> > <param-value> > /WEB-INF/config/faces-tiles.xml > </param-value> > </context-param> > <servlet> > <servlet-name>Faces Servlet</servlet-name> > <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> > </servlet> > <servlet-mapping> > <servlet-name>Faces Servlet</servlet-name> > <url-pattern>*.jsf</url-pattern> > </servlet-mapping> > <filter> > <filter-name>richfaces</filter-name> > <filter-class>org.ajax4jsf.Filter</filter-class> > </filter> > <filter-mapping> > <filter-name>richfaces</filter-name> > <servlet-name>Faces Servlet</servlet-name> > <dispatcher>REQUEST</dispatcher> > <dispatcher>FORWARD</dispatcher> > <dispatcher>INCLUDE</dispatcher> > </filter-mapping> > <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> > > </web-app> > > > > /jsp/component/mainlogin.jsp > Code: > > <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> > <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> > 1 > <f:view> 2 > <h:form> 3 > <h:outputText value="Enter your name:"/> > </h:form> > </f:view> > > > > faces-config.xml > > Code: > > <?xml version="1.0"?> > <faces-config xmlns="http://java.sun.com/xml/ns/javaee" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://java.sun.com/xml/ns/javaee > http://java.sun.com/xml/ns/j2ee/web-facesconfig_1_2.xsd" > version="1.2"> > <application> > > <view-handler>org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl</view-handler> > </application> > </faces-config> > > > > During deployment all is fine, but when I invoke > http://localhost/app/login.jsf , I see only single "1", which are writed > before > Code: > > f:view > > tag - I assume content of the tag was not rendered. > > what is wrong? > > -- View this message in context: http://www.nabble.com/-Tomahawk--problem-with-RI-1.2-and-JBoss-4.2.1-tf4461859.html#a13657967 Sent from the MyFaces - Users mailing list archive at Nabble.com.

