Details

      Description

      if cfzip is running in a child thread, any other call to cfzip fails with an error message: No source/content specified

      consider the code snippet below. a Large archive (Railo src with git repo) is created in a child thread. the 2nd cfzip call fails with the error.

      <cfsetting requesttimeout="600">
      
      
      <cfthread name="#createUUID()#">
      	
      	<cfset ts = getTickCount('nano')>
      	<cfzip action="zip" file="F:/test/zipparams-#ts#.zip.tmp">
      		
      		<cfzipparam source="F:/Workspace/git/igal-getrailo">
      	</cfzip>
      
      	<cffile action="rename" source="F:/test/zipparams-#ts#.zip.tmp" destination="F:/test/zipparams-#ts#.zip">
      </cfthread>
      
      <cfset sleep( 1000 )>
      
      <cfset ts = getTickCount('nano')>
      <cfzip action="zip" file="F:/test/zipparams-#ts#.zip">
      	
      	<cfzipparam source="F:/Workspace/git/igal-getrailo/railo-cfml">
      </cfzip>
      
      
      <p>EOF
      

      stacktrace below:
      No source/content specified
      at railo.runtime.tag.Zip.actionZip(Zip.java:452):452
      at railo.runtime.tag.Zip.doEndTag(Zip.java:623):623
      at zipparams.test_cfm$cf.call(F:\Workspace\git\igal-getrailo-idea\web\zipparams\test.cfm:20):20
      at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:802):802
      at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:754):754
      at railo.runtime.listener.ClassicAppListener._onRequest(ClassicAppListener.java:36):36
      at railo.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:19):19
      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 railo.debug.loader.servlet.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:
                igal-getrailo.org Igal .
                Reporter:
                igal-getrailo.org Igal .
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: