Railo
  1. Railo
  2. RAILO-1317

Can't delete sourcefiles after <cfpdf action="merge"

    Details

    • Type: Bug Bug
    • Status: Coding In Progress (View Workflow)
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Windows 2003 Server, Apache, Resin
    • Workaround Description:
      Hide

      Restart Railo and delete files manually

      Show
      Restart Railo and delete files manually
    • Similar Issues:
      Show 10 results 

      Description

      I tried to delete the sourcefiles after merging some pdf-files with
      <cfpdf action="merge" source="#listfiles#"
      destination="#pdf2pfad#ML22990_Visit_#zp#_#URL.ID#.pdf"
      overwrite="true">
      But all files where blocked by RAILO (Railo 3.2.2.002 final). I have
      to restart railo to delete the files.

      Stacktrace:
      Railo 3.3.0.011 Error (application)
      Message can't delete file [D:\Inetpub\wwwroot\ML22990\Arzt_PDFs\ML22990_Visit_x_0001t2.pdf]
      Stacktrace The Error Occurred in D:\Inetpub\wwwroot\ML22990\ML22990\patdruckvx.cfm: line 135
      Java Stacktrace can't delete file [D:\Inetpub\wwwroot\ML22990\Arzt_PDFs\ML22990_Visit_x_0001t2.pdf]
      at railo.runtime.tag.FileTag.actionDelete(FileTag.java:488):488
      at railo.runtime.tag.FileTag.doStartTag(FileTag.java:318):318
      at ml22990.ml22990.patdruckvx_cfm$cf.call(D:\Inetpub\wwwroot
      \ML22990\ML22990\patdruckvx.cfm:135):135
      at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:727):727
      at
      railo.runtime.listener.ClassicAppListener._onRequest(ClassicAppListener.java:35):35
      at
      railo.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:24):24
      at railo.runtime.PageContextImpl.execute(PageContextImpl.java:1973):1973
      at
      railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:282):282
      at railo.loader.servlet.CFMLServlet.service(CFMLServlet.java:32):32
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:91):91
      at
      com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103):103
      at
      com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:187):187
      at
      com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:265):265
      at
      com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:273):273
      at com.caucho.server.port.TcpConnection.run(TcpConnection.java:682):682
      at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:743):743
      at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:662):662
      at java.lang.Thread.run(Unknown Source):-1

        Gliffy Diagrams

          Activity

          Hide
          Michael Offner added a comment -

          testcase (working on MacOSX) attached

          Show
          Michael Offner added a comment - testcase (working on MacOSX) attached

            People

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

              Dates

              • Created:
                Updated:

                Development