Try setting UseJBossWebLoader to true in server/default/deploy/jboss-web.deployer/META-INF/jboss-service.xml
| -----Original Message----- | From: Michal Glowacki [mailto:[EMAIL PROTECTED] | Sent: Tuesday, November 13, 2007 7:52 AM | To: users@myfaces.apache.org | Subject: Tomahawk on JBoss 4.2.2 (JSF 1.2) | | | I'm trying for few hours run my application after moving from JBoss 4.0.5 | to | 4.2.2. It's not possible using either Sun's JSF 1.2 or MyFaces 1.2.0. The | problem is as I believe Tomahawk, I found that it's not supported under | MyFaces 1.2, couldn't find Sun's one, but probably the same. Is it right? I | need to rewrite my application so it won't use tomahawk anymore? I wanted | to | upgrade from JSF 1.1 to 1.2 as I need to use custom lifecycles. That's the | error I get: | | 13:50:02,406 ERROR [STDERR] 2007-11-13 13:50:02 | com.sun.faces.config.ConfigureLi | stener configure | SEVERE: Cant instantiate class: phase-listener: | org.apache.myfaces.renderkit.htm | l.util.ExtensionsPhaseListener. | 13:50:02,406 ERROR [STDERR] java.lang.ClassCastException: | org.apache.myfaces.ren | derkit.html.util.ExtensionsPhaseListener cannot be cast to | javax.faces.event.Pha | seListener | -- | View this message in context: http://www.nabble.com/Tomahawk-on-JBoss- | 4.2.2-%28JSF-1.2%29-tf4797532.html#a13725074 | Sent from the MyFaces - Users mailing list archive at Nabble.com.