Hi <br><br>I am facing the following error when deploying the 2 war :<br><h1 class="ha"><font size="2"><span id=":2d" class="hP">myfaces-example-simple20-1.1.11.war and tiles 1.1.11</span></font></h1>files in jboss 5.1.0 : <br>
<br>obs: the same is happening in JBoss 6.0 Final<br><br>SEVERE [org.apache.myfaces.shared_impl.webapp.webxml.WebXmlParser] (main) Unable to parse web.xml<br>
java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to javax.xml.parsers.DocumentBuilderFactory<br><br>...<br><br>Caused by: java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to javax.xml.parsers.DocumentBuilderFactory<br>
<br>...<br><br>ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/myfaces-example-simple20-1.1.11]] (main) Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener<br>
<br>...<br><br>Caused by: java.lang.InstantiationException: org.apache.myfaces.webapp.filter.TomahawkFacesContextFactory<br><br>I have copied the 2 JSF jar files (myfaces-api-2.0.4.jar and myfaces-impl-2.0.4.jar) to jsf-libs in JBOSS_HOME/SERVER/DEFAULT/DEPLOY/jbossweb.sar as it is described in : <br>
<br>1. <a href="http://community.jboss.org/wiki/upgradejbossastojsf2" target="_blank">http://community.jboss.org/wiki/upgradejbossastojsf2</a><br><br>2. <a href="http://community.jboss.org/wiki/JBoss5AndMyFaces" target="_blank">http://community.jboss.org/wiki/JBoss5AndMyFaces</a><br>
<br>I have added in both applications web.xml the context parameter : <br><br><context-param><br> <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name><br> <param-value>true</param-value><br>
</context-param><br><br><br>Can you guys help me out on this ? I need to copy/paste the other common jar files that come along with myfaces binaries ? <br><br>Also is there any configuration for TomaHawk ?<br><br>Thks&Regards<br>
Érico<br>