Hi Yesterday I deploy a snapshot with the latest modifications.
I checked the problem with the archetypes, removing from my local repo and forcing to get the copy of tomahawk available on: http://people.apache.org/repo/m2-snapshot-repository/org/apache/myfaces/tomahawk/tomahawk/1.1.7-SNAPSHOT/ I use myfaces-archetype-helloworld and myfaces-archetype-helloworld-facelets (src/main/webapp/WEB-INF/tomahawk.taglib.xml are no longer necessary, so this was removed from here and from web.xml facelets.LIBRARIES) The I ran the following mvn clean jetty:run Everything works as expected. The artifacts tomahawk12 and tomahawk-sandbox12 are artifacts compiled with the new 1.2 api (thanks to myfaces-builder-plugin). Theoretically until now, tomahawk artifact could be used for 1.2 apps. The idea is that for 1.2 apps use tomahawk12 instead. I have also checked if shared_tomahawk classes in the jar available on people.apache.org was missing but everything is right regards Leonardo Uribe 2008/6/11 <[EMAIL PROTECTED]>: > > Hi, > I would like to ask Tomahawk's developers about your last activity. I've > noticed that something happend to 1.1.7-SNAPSHOT very recently, maybe even > today, because yesterday everything was running fine. > I mean - now, when I create a project by using maven archetype: *mvn > archetype:generate -DarchetypeCatalog=http://myfaces.apache.org *and > change default 1.1.6 version to 1.1.7-SNAPSHOT, > I got following errors: > > > _______________________________________________________________________________________________________________ > > HTTP ERROR: 500 > org/apache/commons/fileupload/FileUpload > RequestURI=/myapp/helloWorld.jsf > Caused by: > java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileUpload > at > org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:199) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) > at > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) > at > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) > at > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) > at > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726) > at > org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) > at > org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) > at > org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) > at > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) > at org.mortbay.jetty.Server.handle(Server.java:324) > at > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) > at > org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828) > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) > at > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) > at > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) > > _______________________________________________________________________________________________________________ > > Even when I provide commons-fileupload library, I got another error: > > > _______________________________________________________________________________________________________________ > > HTTP ERROR: 500 > Could not initialize class > org.apache.myfaces.shared_tomahawk.config.MyfacesConfig > RequestURI=/myapp/helloWorld.jsf > Caused by: > java.lang.NoClassDefFoundError: Could not initialize class > org.apache.myfaces.shared_tomahawk.config.MyfacesConfig > at > org.apache.myfaces.renderkit.html.util.AddResourceFactory.getInstance(AddResourceFactory.java:288) > at > org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:208) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) > at > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) > at > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) > at > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) > at > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726) > at > org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) > at > org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) > at > org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) > at > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) > at org.mortbay.jetty.Server.handle(Server.java:324) > at > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) > at > org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828) > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) > at > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) > at > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) > > _______________________________________________________________________________________________________________ > > I've noticed, that another artifact "tomahawk12" has arisen, and I would > like to know if it's connected with the case. When I switched to artifact > "tomahawk12", > the demo app has run smoothly. > > > Please answer, how should I configure my application if I want to run on > JSF 1.2 and tomahawk-1.1.7-SNAPSHOT version. By the way - do you know, > when approximately you are going to release the 1.1.7 version? > > Thanks in advance! > > > -- > Greetings > Paweł Czerwiński >

