Uploaded image for project: 'Railo'
  1. Railo
  2. RAILO-2284

cfapplication tag fails when called template are only present as compiled classes

    Details

      Description

      when the called cfm tempates are only present as compiled classes inside a railo archive (.ras), the tag cfapplication fails with the following exception.
      this problems occurs with the railo admin, when the railo-context.ra does not contain the source code.

      exception statcktrace:
      file or directory zip:///Users/mic/Projects/Railo/webroot/WEB-INF/railo/context/railo-context.ra!/admin/web.cfm not exist
      at railo.commons.io.res.util.ResourceUtil.toResourceExisting(ResourceUtil.java:171):171
      at railo.runtime.PageSourceImpl.getResourceTranslated(PageSourceImpl.java:785):785
      at railo.commons.io.res.util.ResourceUtil.getResource(ResourceUtil.java:1311):1311
      at railo.runtime.tag.Application.doStartTag(Application.java:338):338
      at admin.web_cfm$cf.call(/Users/mic/Projects/Railo/Source/railo/railo-cfml/railo-admin/admin/web.cfm:11):11
      at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:773):773
      at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:754):754
      at railo.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:183):183
      at railo.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:18):18
      at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2256):2256
      at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2223):2223
      at railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:315):315
      at aservlet.CFMLServlet.service(CFMLServlet.java:32):32
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853):853
      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:354):354
      at org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:657):657
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567):567
      at org.mortbay.http.HttpContext.handle(HttpContext.java:1808):1808
      at org.mortbay.http.HttpContext.handle(HttpContext.java:1758):1758
      at org.mortbay.http.HttpServer.service(HttpServer.java:879):879
      at org.mortbay.http.HttpConnection.service(HttpConnection.java:790):790
      at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:952):952
      at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807):807
      at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:197):197
      at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289):289
      at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:501):501

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                micstriit Michael Offner
                Reporter:
                micstriit Michael Offner
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: