Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-36136

Missing tmp folder leads to Failed import

    XMLWordPrintable

    Details

    • 2.9 Status:
      Resolved
    • Previous Issue Keys:
      SAM-1537

      Description

      1) In a clean install try import an xml file
      2) Upload fails with the following error:

      caused by: java.io.FileNotFoundException: /usr/local/sakai/sakai/samigo/answerUploadRepositoryPath/upload_34c5bf50_13460500502_7fd3_00005136.tmp (No such file or directory)
      at java.io.FileOutputStream.open(Native Method)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
      at org.apache.commons.io.output.DeferredFileOutputStream.thresholdReached(DeferredFileOutputStream.java:165)
      at org.apache.commons.io.output.ThresholdingOutputStream.checkThreshold(ThresholdingOutputStream.java:221)
      at org.apache.commons.io.output.ThresholdingOutputStream.write(ThresholdingOutputStream.java:127)
      at org.apache.commons.fileupload.util.Streams.copy(Streams.java:103)
      at org.apache.commons.fileupload.util.Streams.copy(Streams.java:66)
      at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:366)
      at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:310)
      at com.corejsf.UploadFilter.doFilter(UploadFilter.java:125)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:598)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:659)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:457)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:395)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:311)
      at org.sakaiproject.jsf.util.SamigoJsfTool.dispatch(SamigoJsfTool.java:301)
      at org.sakaiproject.jsf.util.JsfTool.doPost(JsfTool.java:256)

      Looking at the instalation [tomcat]/sakai/samigo doesn't exist. Samigo should check it exists first

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                ktsao Karen Tsao
                Reporter:
                dhorwitz David Horwitz
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration