Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-1582

fileupalod issue with tomhawk

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1.9, 1.1.10
    • None
    • File Upload
    • None
    • JSF 2.0

    Description

      Hi,

      I am using Tomhawk 2.0 for JSF 2.0 for file uploading.

      Am able to upload video ,image files(all types of files other than audio files)

      But am not able to upload some files like mp3 and some other audio files.

      Let me know Tomhawk or apache-commo- file upload support all type of mime types?

      Is there any bug with the libraries?

      Am getting following exception while uploading .asx files or mp3 file

      Exception while uploading file.
      org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. \temp\upload_d900daf_12fba8f7378_8000_00000011.tmp (The system cannot find the path specified)
      at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:371)
      at org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:126)
      at org.apache.myfaces.webapp.filter.MultipartRequestWrapper.parseRequest(MultipartRequestWrapper.java:136)
      at org.apache.myfaces.webapp.filter.MultipartRequestWrapper.getParameter(MultipartRequestWrapper.java:274)
      at com.sun.faces.context.RequestParameterMap.get(RequestParameterMap.java:71)
      at com.sun.faces.context.RequestParameterMap.get(RequestParameterMap.java:52)
      at java.util.Collections$UnmodifiableMap.get(Collections.java:1282)
      at com.sun.faces.application.view.MultiViewHandler.calculateRenderKitId(MultiViewHandler.java:216)
      at javax.faces.application.ViewHandlerWrapper.calculateRenderKitId(ViewHandlerWrapper.java:136)
      at com.sun.faces.context.FacesContextImpl.isPostback(FacesContextImpl.java:206)
      at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:178)
      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
      at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:107)
      at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:286)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:349)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: java.io.FileNotFoundException: \temp\upload_d900daf_12fba8f7378_8000_00000011.tmp (The system cannot find the path specified)
      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:123)
      at org.apache.commons.io.output.ThresholdingOutputStream.checkThreshold(ThresholdingOutputStream.java:220)
      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)

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            karnakart karnakar thallapalli

            Dates

              Created:
              Updated:

              Slack

                Issue deployment