-
1. Re: Problem configuring seam for myfaces
rizviatt Nov 17, 2005 7:42 PM (in response to gavin.king)I am using JBoss 4.0.3 that ships with myfaces 1.1.0. Now i would like to use myfaces tomahawk in my applications.
Q1) Shud i use tomahawk 1.1.0 or 1.1.1.
Q2) Where should i package tomahawk ..within web-inf/lib or shud i put it in C:\jboss\server\default\deploy\jbossweb-tomcat55.sar\jsf-libs.
I would appreciate a quick reply in this. -
2. Re: Problem configuring seam for myfaces
marius.oancea Nov 18, 2005 2:50 AM (in response to gavin.king)Hi. I just copied tomahawk shipped with seam in jsf-libs.
I tried at first to use WEB-INF/libs but does not work.
Somebody else tried the same with the same conclusion (just put it into jsf-libs).
I also tried to change all jsf libs to myfaces 1.1.1 but this does not work -
3. Re: Problem configuring seam for myfaces
zealot Nov 18, 2005 4:27 AM (in response to gavin.king)In my App MyFaces running well.
copy tomahawk.jar to server\default\deploy\jbossweb-tomcat55.sar\jsf-libs
and remove it from WEB-INF\lib -
4. Re: Problem configuring seam for myfaces
rizviatt Nov 18, 2005 11:57 AM (in response to gavin.king)I added tomahawk.jar 1.1.0 to web-inf/lib directory. I am using JBoss 4.0.3 which comes with myfaces 1.1.0. I just tried to display a simple imputDate component in a xhtml. It displays fine but jboss throws the fol
lowing exception
java.lang.ClassCastException: org.apache.myfaces.config.MyfacesConfig
at org.apache.myfaces.config.MyfacesConfig.getCurrentInstance(MyfacesConfig.java:45)
at org.apache.myfaces.renderkit.html.HtmlFormRendererBase.encodeEnd(HtmlFormRendererBase.java:106)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:331)
at com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:521)
at com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:518)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:447)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:95)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
any idea why this is happening -
5. Re: Problem configuring seam for myfaces
rizviatt Nov 18, 2005 12:08 PM (in response to gavin.king)I tried to put the tomahawk-1.1.0 jar file in C:\jboss\server\default\deploy\jbossweb-tomcat55.sar\jsf-libs directory
but then i get exception when i deploy my ear file and start the JBoss
the exception is like this
10:05:07,087 ERROR [StartupServletContextListener] Error initializing ServletContext
java.lang.ClassCastException: org.apache.myfaces.renderkit.html.ext.HtmlButtonRenderer
at org.apache.myfaces.config.FacesConfigurator.configureRenderKits(FacesConfigurator.java:595)
at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:131)
at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:63)
at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:46)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.apache.catalina.core.StandardContext.init(StandardContext.java:5005)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:280)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:88)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:357)
at org.jboss.web.WebModule.startModule(WebModule.java:68)
at org.jboss.web.WebModule.startService(WebModule.java:46)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:428)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy33.start(Unknown Source)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:400)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy34.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:979)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:265)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:428)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)
at org.jboss.Main.boot(Main.java:187)
at org.jboss.Main$1.run(Main.java:438)
at java.lang.Thread.run(Thread.java:595)
10:05:07,103 INFO [STDOUT] java.lang.ClassCastException: org.apache.myfaces.renderkit.html.ext.HtmlButtonRenderer
10:05:07,103 INFO [STDOUT] at org.apache.myfaces.config.FacesConfigurator.configureRenderKits(FacesConfigurator.java:595)
10:05:07,103 INFO [STDOUT] at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:131)
10:05:07,103 INFO [STDOUT] at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:63)
10:05:07,103 INFO [STDOUT] at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:46)
10:05:07,103 INFO [STDOUT] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)
10:05:07,103 INFO [STDOUT] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)
10:05:07,103 INFO [STDOUT] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
10:05:07,103 INFO [STDOUT] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
10:05:07,103 INFO [STDOUT] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
10:05:07,103 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10:05:07,103 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
10:05:07,103 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
10:05:07,103 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
10:05:07,103 INFO [STDOUT] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
10:05:07,103 INFO [STDOUT] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
10:05:07,103 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
10:05:07,103 INFO [STDOUT] at org.apache.catalina.core.StandardContext.init(StandardContext.java:5005)
10:05:07,103 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10:05:07,103 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
10:05:07,103 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
10:05:07,103 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
10:05:07,103 INFO [STDOUT] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
10:05:07,118 INFO [STDOUT] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
10:05:07,118 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
10:05:07,118 INFO [STDOUT] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:280)
10:05:07,118 INFO [STDOUT] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:88)
10:05:07,118 INFO [STDOUT] at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:357)
10:05:07,118 INFO [STDOUT] at org.jboss.web.WebModule.startModule(WebModule.java:68)
10:05:07,118 INFO [STDOUT] at org.jboss.web.WebModule.startService(WebModule.java:46)
10:05:07,118 INFO [STDOUT] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
10:05:07,118 INFO [STDOUT] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
10:05:07,118 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
10:05:07,118 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
10:05:07,118 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
10:05:07,118 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
10:05:07,118 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
10:05:07,118 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
10:05:07,118 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
10:05:07,118 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
10:05:07,118 INFO [STDOUT] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
10:05:07,118 INFO [STDOUT] at $Proxy0.start(Unknown Source)
10:05:07,118 INFO [STDOUT] at org.jboss.system.ServiceController.start(ServiceController.java:428)
10:05:07,118 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
10:05:07,118 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
10:05:07,118 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
10:05:07,118 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
10:05:07,118 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
10:05:07,118 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
10:05:07,118 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
10:05:07,118 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
10:05:07,118 INFO [STDOUT] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
10:05:07,118 INFO [STDOUT] at $Proxy33.start(Unknown Source)
10:05:07,118 INFO [STDOUT] at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:400)
10:05:07,118 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10:05:07,118 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
10:05:07,118 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
10:05:07,118 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
10:05:07,118 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
10:05:07,118 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
10:05:07,118 INFO [STDOUT] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
10:05:07,118 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
10:05:07,118 INFO [STDOUT] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
10:05:07,118 INFO [STDOUT] at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:80)
10:05:07,118 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
10:05:07,118 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
10:05:07,118 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
10:05:07,118 INFO [STDOUT] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
10:05:07,118 INFO [STDOUT] at $Proxy34.start(Unknown Source)
10:05:07,118 INFO [STDOUT] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
10:05:07,118 INFO [STDOUT] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:979)
10:05:07,118 INFO [STDOUT] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
10:05:07,118 INFO [STDOUT] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
10:05:07,118 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
10:05:07,118 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
10:05:07,118 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
10:05:07,118 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
10:05:07,118 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
10:05:07,118 INFO [STDOUT] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
10:05:07,118 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
10:05:07,118 INFO [STDOUT] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
10:05:07,118 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
10:05:07,118 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
10:05:07,118 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
10:05:07,118 INFO [STDOUT] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
10:05:07,118 INFO [STDOUT] at $Proxy6.deploy(Unknown Source)
10:05:07,118 INFO [STDOUT] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
10:05:07,118 INFO [STDOUT] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
10:05:07,118 INFO [STDOUT] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
10:05:07,118 INFO [STDOUT] at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:265)
10:05:07,134 INFO [STDOUT] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
10:05:07,134 INFO [STDOUT] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
10:05:07,134 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10:05:07,134 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
10:05:07,134 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
10:05:07,134 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
10:05:07,134 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
10:05:07,134 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
10:05:07,134 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
10:05:07,134 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
10:05:07,134 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
10:05:07,134 INFO [STDOUT] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
10:05:07,134 INFO [STDOUT] at $Proxy0.start(Unknown Source)
10:05:07,134 INFO [STDOUT] at org.jboss.system.ServiceController.start(ServiceController.java:428)
10:05:07,134 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10:05:07,134 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
10:05:07,134 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
10:05:07,134 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
10:05:07,134 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
10:05:07,134 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
10:05:07,134 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
10:05:07,134 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
10:05:07,134 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
10:05:07,134 INFO [STDOUT] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
10:05:07,134 INFO [STDOUT] at $Proxy4.start(Unknown Source)
10:05:07,134 INFO [STDOUT] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285)
10:05:07,134 INFO [STDOUT] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
10:05:07,134 INFO [STDOUT] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
10:05:07,134 INFO [STDOUT] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
10:05:07,134 INFO [STDOUT] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
10:05:07,134 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10:05:07,134 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
10:05:07,134 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
10:05:07,134 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
10:05:07,134 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
10:05:07,134 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
10:05:07,134 INFO [STDOUT] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
10:05:07,134 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
10:05:07,134 INFO [STDOUT] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
10:05:07,134 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
10:05:07,134 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
10:05:07,134 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
10:05:07,134 INFO [STDOUT] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
10:05:07,134 INFO [STDOUT] at $Proxy5.deploy(Unknown Source)
10:05:07,134 INFO [STDOUT] at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)
10:05:07,134 INFO [STDOUT] at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)
10:05:07,134 INFO [STDOUT] at org.jboss.Main.boot(Main.java:187)
10:05:07,134 INFO [STDOUT] at org.jboss.Main$1.run(Main.java:438)
10:05:07,134 INFO [STDOUT] at java.lang.Thread.run(Thread.java:595)
Please help any one
Thanks -
6. Re: Problem configuring seam for myfaces
marius.oancea Nov 21, 2005 3:38 AM (in response to gavin.king)Make sure your project does not contain any jsf or myfaces libs. The ones in jsf-libs are enough
-
7. Re: Problem configuring seam for myfaces
rizviatt Nov 21, 2005 11:34 AM (in response to gavin.king)Thanks for the reply. I have an ear file. which contains ejb3 project and war project. I have myfaces-api.jar and myfaces-impl.jar in the root level of ear file. I have these two jars in the ear file because session beans in ejb3 project are referencing FacesContext object. That is why these two files are added in the classptah for the session beans.
Is this not required.??.
Then should i put the tomahawk jar file in the web-inf/lib directory or within jsf-lib inside jboss.
Should i use tomahawk 1.1.0 or tomahawk 1.1.1. I am using jboss 4.0.3 which is using myfaces 1.1.0 version.
Please help. I have been trying to get tomahawk work in application but without any luck. -
8. Re: Problem configuring seam for myfaces
rizviatt Nov 21, 2005 1:46 PM (in response to gavin.king)OK i cud make it work.When i removed the myfaces jar files from the ear file. I had to keep the tomahawk jar in the jboss jsf-lib directory.
But when i try to keep the tomahawk jar file in the WEB-inf/lib directory of my war project and the component displays fine but it gives the following exception
java.lang.ClassCastException: org.apache.myfaces.config.MyfacesConfig
at org.apache.myfaces.config.MyfacesConfig.getCurrentInstance(MyfacesConfig.java:45)
at org.apache.myfaces.renderkit.html.HtmlFormRendererBase.encodeEnd(HtmlFormRendererBase.java:106)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:331)
at com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:521)
at com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:518)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:447)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:95)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
Could you tell me why this is happening. I wud really like to keep my tomahawk jar file in the web-inf/lib instead of jsf-lib of jboss.
Also my web-inf/lib directory has jar files for facelets. It has el-api.jar eli-ri.jar and jsf-facelets .jar.
cud this be a problem -
9. Re: Problem configuring seam for myfaces
giom Dec 1, 2005 5:36 AM (in response to gavin.king)Hi. The class MyfacesConfig is both in tomahawk.jar and myfaces-impl.jar.
I guess this is the cause of the ClassCast exception.
I removed MyfacesConfig.class from tomahawk.jar and keep it in the WEB-INF/lib of my project.
Works fine for me. -
10. Re: Problem configuring seam for myfaces
uml20 Dec 3, 2005 3:42 AM (in response to gavin.king)hard guess work!
-
11. Re: Problem configuring seam for myfaces
matthew.edwards Dec 5, 2005 1:55 PM (in response to gavin.king)This is how I got Tomahawk to work within a Seam project:
In WEB-INF/web.xml:<!-- param-value can point to any location The taglib is distributed; you don't need to create your own --> <context-param> <param-name>facelets.LIBRARIES</param-name> <param-value> /WEB-INF/jsf/tlds/tomahawk.taglib.xml; </param-value> </context-param>
Then I put the MyFaces Tomahawk jar in the following folder:
[When using just the Tomcat server]%TOMCAT_HOME%/shared/lib
[When using the JBoss server]%JBOSS_HOME%\server\default\deploy\jbossweb-tomcat55.sar\jsf-libs folder
*For the JBoss server, I added a reference to the jar in the server\default\deploy\jbossweb-tomcat55.sar\conf<!-- this was there already --> <init-param> <description>MyFaces tlds</description> <param-name>tagLibJar0</param-name> <param-value>jsf-libs/myfaces-impl.jar</param-value> </init-param> <!-- I added the following --> <init-param> <description>MyFaces tlds</description> <param-name>tagLibJar1</param-name> <param-value>jsf-libs/tomahawk.jar</param-value> </init-param>
There is another post somewhere in this forum that talks about why we put the jar in the server container instead of our projects. Something to do with the priority that the jar is called in. For that same reason we keep all of our JSF jars outside of our projects. Personally, I would rather have them within my project but it seams that the servers are a little finiky about it.
--Matt. -
12. Re: Problem configuring seam for myfaces
amarinis May 13, 2006 7:39 PM (in response to gavin.king)I think I found the reason for the
java.lang.ClassCastException: org.apache.myfaces.config.MyfacesConfig
error.
If you have a look at wiki page http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamFileUpload you will find a very concise sample for using the tomahawk libraries, thanks to Marcio. However, if you try to implement this in, for example, seam-booking, you will receive the Config error mentioned above.
After a few hours of trying to figure out the issue, I discovered that I had to remove my JBoss-App.xml file from the ear file. The jboss-app.xml looks like this<!DOCTYPE jboss-app PUBLIC "-//JBoss//DTD J2EE Application 1.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-app_4_0.dtd"> <jboss-app> <loader-repository> seam.jboss.org:loader=receipts </loader-repository> </jboss-app>
Hopefully this helps anyone with the same issues. This works without changing any server config or jsf-libs on the server -
13. Re: Problem configuring seam for myfaces
consuelofranky May 17, 2006 12:50 PM (in response to gavin.king)Configurating seam for facelets and myfaces-tomahawk :
I have added successfully some tomahawk elements to the current seam-booking example (jboss-seam-1.0.0.CR2), running in jboss-4.0.4.CR2, following these steps:
1- Obtain the file tomahawk.taglib.xml from the site of facelets:
http://wiki.apache.org/myfaces-data/attachments/Use_Facelets_with_Tomahawk/attachments/
2- Put tomahawk.taglib.xml in WEB-INF/
3- Put tomahawk.jar in WEB-INF/lib
This version of tomahawk.jar is taken from the seam-issues example
4- Add to web.xml :
<context-param>
<param-name>facelets.LIBRARIES</param-name>
<param-value>/WEB-INF/tomahawk.taglib.xml</param-value>
</context-param>
5- Add to the screen file:
xmlns:t="http://myfaces.apache.org/tomahawk"
Now you can add to the screen file elements t:
I can run the example with success testing elements as t:outputText and t:dataTable.
But I got an exception when I added the element t:dataList
The exception says:
------------------------------------------------------------------
ERROR [STDERR] 17/05/2006 11:18:16 AM com.sun.facelets.FaceletViewHandler handleRenderException
GRAVE: Error Rendering View[/pages/hotels/hotel.jsp]
java.lang.ClassCastException: java.lang.String
at org.apache.myfaces.component.html.util.HtmlComponentUtils.getClientId(HtmlComponentUtils.java:58)
at org.apache.myfaces.custom.datalist.HtmlDataList.getClientId(HtmlDataList.java:37)
at org.apache.myfaces.custom.datalist.HtmlListRenderer.encodeBegin(HtmlListRenderer.java:61)
at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:307)
at javax.faces.component.UIData.encodeBegin(UIData.java:360)
at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:232)
at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:554)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:23)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
-----------------------------------------------------------------------------
As conclusion, in this facelet example some tomahawk elements run fine and another elements fail.
I think that there are problems of compatibility between the libraries of the application and the libraries of the server.
Has anyone some solution to this problem ?
Thanks for your answers.
Maria Consuelo Franky
ConsueloFranky@cincosoft.com -
14. Re: Problem configuring seam for myfaces
elfuhrer May 21, 2006 7:31 PM (in response to gavin.king)you need to update the web.xml configuration in the jbossweb-tomcat55.sar/conf/web.xml to include the following
<init-param> <description>Tomahawk tlds</description> <param-name>tagLibJar1</param-name> <param-value>jsf-libs/tomahawk.jar</param-value> </init-param>
Make sure you update as well the MyFaces libraries to version 1.1.3 and rename them to myfaces-api.jar and myfaces-impl and tomahawk.jar. Trim off the revision number