commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From karnakar t <karnaka...@gmail.com>
Subject Fileuplaoding issue
Date Wed, 04 May 2011 10:48:08 GMT
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*)





*Warm Regards,*

* *

*Karnakar Goud Thallapalli
*Senior Engineer

*Virtusa (India) Pvt Ltd.*

Sy No.115, Nanakramguda Village, Serilingampally Mandal,

Ranga Reddy District, Hyderabad - 19, AP India

*Phone:  *+91 40 44528000 *Ext:  63207*

[image: cid:image011.jpg@01CB08A4.F95CFA30] <http://www.virtusa.com/> [image:
cid:image012.gif@01CB08A4.F95CFA30] <http://www.virtusa.com/blog/> [image:
cid:image004.gif@01CB08A4.F95CFA30] <https://twitter.com/VirtusaCorp> [image:
cid:image005.gif@01CB08A4.F95CFA30]<http://www.linkedin.com/companies/virtusa>
 [image: cid:image006.gif@01CB08A4.F95CFA30]<http://www.facebook.com/VirtusaCorp>
 [image: cid:image007.gif@01CB08A4.F95CFA30]<http://www.youtube.com/virtusacorporation>
 [image: cid:image008.gif@01CB08A4.F95CFA30]<http://www.flickr.com/photos/virtusa>


-- 
Thanks&regards
Karnakar.t
09820907092

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message