commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "karnakar thallapalli (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FILEUPLOAD-192) Commons fileuploading error for audio files
Date Wed, 04 May 2011 11:02:03 GMT
Commons fileuploading error for audio files
-------------------------------------------

                 Key: FILEUPLOAD-192
                 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-192
             Project: Commons FileUpload
          Issue Type: Bug
    Affects Versions: 1.2.1
         Environment: apache myfaces tomhawk 
            Reporter: karnakar thallapalli


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)



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message