Upgrading to Tomahawk 1.1.3

After upgrading to this new version, it cannot find the class HtmlBufferResponseWriterWrapper. After looking around myfaces wiki I've found their guide on upgrading to 1.1.3: http://wiki.apache.org/myfaces/More_tips_on_Upgrading_to_Tomahawk_1%2e1%2e3

It turns out that the path for that class has changed in the new release. While strictly follow their directions and updated to the newest jar files, I'm still getting errors that it cannot find the class in the old path. Anyone has managed to sucessfully upgraded to 1.1.3?

Here is the error trace:

00:11:49,703 ERROR [STDERR] javax.faces.FacesException: java.lang.NoClassDefFoundError: org/apache/myfaces/custom/buffer/Html

BufferResponseWriterWrapper

00:11:49,703 ERROR [STDERR]at org.apache.myfaces.shared_impl.util.ClassUtils.newInstance(ClassUtils.java:279)

00:11:49,703 ERROR [STDERR]at org.apache.myfaces.shared_impl.util.ClassUtils.newInstance(ClassUtils.java:265)

00:11:49,703 ERROR [STDERR]at org.apache.myfaces.config.FacesConfigurator.configureLifecycle(FacesConfigurator.java:652)

00:11:49,703 ERROR [STDERR]at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:144)

00:11:49,703 ERROR [STDERR]at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextLis

tener.java:69)

00:11:49,703 ERROR [STDERR]at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletC

ontextListener.java:52)

00:11:49,703 ERROR [STDERR]at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)

00:11:49,703 ERROR [STDERR]at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)

00:11:49,703 ERROR [STDERR]at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)

00:11:49,703 ERROR [STDERR]at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)

00:11:49,703 ERROR [STDERR]at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

00:11:49,703 ERROR [STDERR]at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

00:11:49,703 ERROR [STDERR]at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

00:11:49,703 ERROR [STDERR]at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

00:11:49,703 ERROR [STDERR]at java.lang.reflect.Method.invoke(Method.java:585)

00:11:49,703 ERROR [STDERR]at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

00:11:49,703 ERROR [STDERR]at org.apache.catalina.core.StandardContext.init(StandardContext.java:5116)

00:11:49,703 ERROR [STDERR]at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

00:11:49,703 ERROR [STDERR]at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

00:11:49,703 ERROR [STDERR]at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

00:11:49,703 ERROR [STDERR]at java.lang.reflect.Method.invoke(Method.java:585)

00:11:49,703 ERROR [STDERR]at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

00:11:49,703 ERROR [STDERR]at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)

00:11:49,703 ERROR [STDERR]at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)

00:11:49,703 ERROR [STDERR]at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)

00:11:49,703 ERROR [STDERR]at org.jboss.web.WebModule.startModule(WebModule.java:83)

00:11:49,703 ERROR [STDERR]at org.jboss.web.WebModule.startService(WebModule.java:61)

00:11:49,703 ERROR [STDERR]at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)

00:11:49,703 ERROR [STDERR]at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)

00:11:49,703 ERROR [STDERR]at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)

00:11:49,703 ERROR [STDERR]at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

00:11:49,703 ERROR [STDERR]at java.lang.reflect.Method.invoke(Method.java:585)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

00:11:49,703 ERROR [STDERR]at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)

00:11:49,703 ERROR [STDERR]at $Proxy0.start(Unknown Source)

00:11:49,703 ERROR [STDERR]at org.jboss.system.ServiceController.start(ServiceController.java:417)

00:11:49,703 ERROR [STDERR]at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)

00:11:49,703 ERROR [STDERR]at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

00:11:49,703 ERROR [STDERR]at java.lang.reflect.Method.invoke(Method.java:585)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

00:11:49,703 ERROR [STDERR]at $Proxy39.start(Unknown Source)

00:11:49,703 ERROR [STDERR]at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)

00:11:49,703 ERROR [STDERR]at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

00:11:49,703 ERROR [STDERR]at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

00:11:49,703 ERROR [STDERR]at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

00:11:49,703 ERROR [STDERR]at java.lang.reflect.Method.invoke(Method.java:585)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationIntercep

tor.java:142)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)

00:11:49,703 ERROR [STDERR]at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.

java:238)

00:11:49,703 ERROR [STDERR]at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:117)

00:11:49,703 ERROR [STDERR]at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInte

rceptorSupport.java:188)

00:11:49,703 ERROR [STDERR]at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

00:11:49,703 ERROR [STDERR]at $Proxy40.start(Unknown Source)

00:11:49,703 ERROR [STDERR]at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)

00:11:49,703 ERROR [STDERR]at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)

00:11:49,703 ERROR [STDERR]at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)

00:11:49,703 ERROR [STDERR]at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)

00:11:49,703 ERROR [STDERR]at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

00:11:49,703 ERROR [STDERR]at java.lang.reflect.Method.invoke(Method.java:585)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationIntercep

tor.java:142)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

00:11:49,703 ERROR [STDERR]at $Proxy6.deploy(Unknown Source)

00:11:49,703 ERROR [STDERR]at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)

00:11:49,703 ERROR [STDERR]at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)

00:11:49,703 ERROR [STDERR]at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploy

mentScanner.java:263)

00:11:49,703 ERROR [STDERR]at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScan

ner.java:336)

00:11:49,703 ERROR [STDERR]at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)

00:11:49,703 ERROR [STDERR]at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)

00:11:49,703 ERROR [STDERR]at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

00:11:49,703 ERROR [STDERR]at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

00:11:49,703 ERROR [STDERR]at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

00:11:49,703 ERROR [STDERR]at java.lang.reflect.Method.invoke(Method.java:585)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

00:11:49,703 ERROR [STDERR]at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

00:11:49,703 ERROR [STDERR]at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)

00:11:49,703 ERROR [STDERR]at $Proxy0.start(Unknown Source)

00:11:49,703 ERROR [STDERR]at org.jboss.system.ServiceController.start(ServiceController.java:417)

00:11:49,703 ERROR [STDERR]at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

00:11:49,718 ERROR [STDERR]at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

00:11:49,718 ERROR [STDERR]at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

00:11:49,718 ERROR [STDERR]at java.lang.reflect.Method.invoke(Method.java:585)

00:11:49,718 ERROR [STDERR]at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

00:11:49,718 ERROR [STDERR]at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

00:11:49,718 ERROR [STDERR]at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

00:11:49,718 ERROR [STDERR]at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

00:11:49,718 ERROR [STDERR]at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

00:11:49,718 ERROR [STDERR]at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

00:11:49,718 ERROR [STDERR]at $Proxy4.start(Unknown Source)

00:11:49,718 ERROR [STDERR]at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)

00:11:49,718 ERROR [STDERR]at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)

00:11:49,718 ERROR [STDERR]at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)

00:11:49,718 ERROR [STDERR]at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)

00:11:49,718 ERROR [STDERR]at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)

00:11:49,718 ERROR [STDERR]at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

00:11:49,718 ERROR [STDERR]at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

00:11:49,718 ERROR [STDERR]at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

00:11:49,718 ERROR [STDERR]at java.lang.reflect.Method.invoke(Method.java:585)

00:11:49,718 ERROR [STDERR]at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

00:11:49,718 ERROR [STDERR]at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

00:11:49,718 ERROR [STDERR]at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

00:11:49,718 ERROR [STDERR]at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

00:11:49,718 ERROR [STDERR]at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationIntercep

tor.java:142)

00:11:49,718 ERROR [STDERR]at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

00:11:49,718 ERROR [STDERR]at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

00:11:49,718 ERROR [STDERR]at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

00:11:49,718 ERROR [STDERR]at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

00:11:49,718 ERROR [STDERR]at $Proxy5.deploy(Unknown Source)

00:11:49,718 ERROR [STDERR]at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)

00:11:49,718 ERROR [STDERR]at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)

00:11:49,718 ERROR [STDERR]at org.jboss.Main.boot(Main.java:200)

00:11:49,718 ERROR [STDERR]at org.jboss.Main$1.run(Main.java:464)

00:11:49,718 ERROR [STDERR]at java.lang.Thread.run(Thread.java:595)

00:11:49,718 ERROR [STDERR] Caused by: java.lang.NoClassDefFoundError: org/apache/myfaces/custom/buffer/HtmlBufferResponseWri

terWrapper

00:11:49,718 ERROR [STDERR]at java.lang.Class.getDeclaredConstructors0(Native Method)

00:11:49,718 ERROR [STDERR]at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)

00:11:49,718 ERROR [STDERR]at java.lang.Class.getConstructor0(Class.java:2640)

00:11:49,718 ERROR [STDERR]at java.lang.Class.newInstance0(Class.java:321)

00:11:49,718 ERROR [STDERR]at java.lang.Class.newInstance(Class.java:303)

00:11:49,718 ERROR [STDERR]at org.apache.myfaces.shared_impl.util.ClassUtils.newInstance(ClassUtils.java:274)

00:11:49,718 ERROR [STDERR]... 142 more

Thanks a lot.

[16733 byte] By [gtguia] at [2007-10-3 0:27:24]
# 1
I have the same problem, are there already any solutions?
Markus1982a at 2007-7-14 17:20:02 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Also have this problem, if someone has a solution please post it
linberta at 2007-7-14 17:20:02 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
I had the same problem: solved removing the old sandbox.jar from the classpath.
agoriaa at 2007-7-14 17:20:02 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4

jep "works" but now i have a problem with the tiles maybe someone has a solution...

javax.faces.FacesException: The absolute uri: http://myfaces.apache.org/extensions cannot be resolved in either web.xml or the jar files deployed with this application

org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:422)

org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl.dispatch(JspTilesViewHandlerImpl.java:233)

org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl.renderView(JspTilesViewHandlerImpl.java:219)

org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)

javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)

org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)

linberta at 2007-7-14 17:20:02 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5
ok my fault (i am new in jsf :)), not tiles, exadel imports false library... it works, for the first step it's enough, thx!
linberta at 2007-7-14 17:20:02 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...