4 Replies Latest reply on Apr 28, 2011 9:11 AM by Bogdan Mustiata

    gae archetype : FileNotFound on app-tags.taglib.xml on local

    Jérôme Jadoulle Newbie

      Hello everybody!

       

      I am trying to use the Richfaces 4 gae archetype and, so far, it is looking quite good.

      Following the help I can find on the site, I can deploy on google very easy.

       

      I just have a problem when running locally (using gae's dev_appserver executable):

      In fact, it deploys my application and I can connect to it fine but checking the console, i get this exception:

       

      21-avr.-2011 14:31:25 org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage loadLibraries

      GRAVE: Error Loading library: /WEB-INF/app-tags.taglib.xml

      java.io.FileNotFoundException: /WEB-INF/app-tags.taglib.xml

              at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.loadLibraries(FaceletViewDeclarationLanguage.java:185

              at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.createCompiler(FaceletViewDeclarationLanguage.java:14

              at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.initialize(FaceletViewDeclarationLanguage.java:1781)

              at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.<init>(FaceletViewDeclarationLanguage.java:266)

              at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguageStrategy.<init>(FaceletViewDeclarationLanguageStrategy

              at org.apache.myfaces.view.ViewDeclarationLanguageFactoryImpl.initialize(ViewDeclarationLanguageFactoryImpl.java:106)

              at org.apache.myfaces.view.ViewDeclarationLanguageFactoryImpl.getViewDeclarationLanguage(ViewDeclarationLanguageFactoryI

              at org.apache.myfaces.application.ViewHandlerImpl.getViewDeclarationLanguage(ViewHandlerImpl.java:157)

              at javax.faces.application.ViewHandlerWrapper.getViewDeclarationLanguage(ViewHandlerWrapper.java:128)

              at org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:150)

              at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:171)

              at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)

              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:189)

              at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)

              at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)

              at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

              at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)

              at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)

              at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)

              at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:70)

              at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)

              at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)

              at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:706)

              at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:677)

              at org.apache.jsp.index_jsp._jspService(index_jsp.java:59)

              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)

              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)

              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)

              at com.google.appengine.tools.development.PrivilegedJspServlet.access$101(PrivilegedJspServlet.java:23)

              at com.google.appengine.tools.development.PrivilegedJspServlet$2.run(PrivilegedJspServlet.java:59)

              at java.security.AccessController.doPrivileged(Native Method)

              at com.google.appengine.tools.development.PrivilegedJspServlet.service(PrivilegedJspServlet.java:57)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

              at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)

              at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)

              at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

              at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)

              at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)

              at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)

              at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:70)

              at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)

              at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)

              at com.google.appengine.tools.development.StaticFileUtils.serveWelcomeFileAsForward(StaticFileUtils.java:80)

              at com.google.appengine.tools.development.LocalResourceFileServlet.maybeServeWelcomeFile(LocalResourceFileServlet.java:2

              at com.google.appengine.tools.development.LocalResourceFileServlet.doGet(LocalResourceFileServlet.java:120)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

              at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)

              at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)

              at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:58)

              at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)

              at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)

              at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)

              at com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:122)

              at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)

              at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)

              at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

              at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)

              at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)

              at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)

              at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:70)

              at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

              at com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:351)

              at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

              at org.mortbay.jetty.Server.handle(Server.java:326)

              at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)

              at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)

              at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)

              at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)

              at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)

              at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)

              at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

      post construct: initialize

      21-avr.-2011 14:31:25 com.google.appengine.tools.development.LocalResourceFileServlet doGet

      ATTENTION: No file found for: /favicon.ico

      21-avr.-2011 14:31:28 com.google.appengine.tools.development.LocalResourceFileServlet doGet

      ATTENTION: No file found for: /favicon.ico

       

      I have checked in the generated project and, indeed, app-tags.taglib.xml is nowhere to be found.

       

      thank you for your help!

       

      Jérôme