You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Laurie Harper <la...@holoweb.net> on 2007/02/22 22:51:25 UTC

Re: Fw: FileUpload problem

I think there was a thread recently about a similar issue. That poster's 
problem turned out to be a missing ActionContextCleanUp filter. Do you 
have that configured? What order are your filters mapped in?

L.

Nagraj Rao wrote:
> Has anybody faced this problem for multiple file-uploading earlier??
> 
> Please help.
> 
> thanks & regards
> Nagraj.
> 
> ----- Original Message ----- 
> From: Nagraj Rao 
> To: Struts Users Mailing List 
> Sent: Wednesday, February 21, 2007 5:06 PM
> Subject: Fw: FileUpload problem 
> 
> 
> Also i think i'm using the right set of dependencies
> commons-io-1.3.1
> commons-collection 3.2
> commons-fileupload-1.1.1
> 
> ----- Original Message ----- 
> From: Nagraj Rao 
> To: Struts Users Mailing List 
> Sent: Wednesday, February 21, 2007 5:04 PM
> Subject: FileUpload problem 
> 
> 
> Hi 
> 
> I've recently upgraded my app to work with Struts 2.0.5. Sometimes i'm getting this problem, specially when i try to upload 2 or more files concurrently
> 
> java.lang.RuntimeException: Unable to load bean org.apache.struts2.dispatcher.multipart.MultiPartRequest () - [unknown location]
>  com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder..java:136)
>  com.opensymphony.xwork2.inject.ContainerImpl.getInstance(ContainerImpl.java:473)
>  com.opensymphony.xwork2.inject.ContainerImpl.getInstance(ContainerImpl.java:483)
>  com.opensymphony.xwork2.inject.ContainerImpl$9.call(ContainerImpl.java:514)
>  com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:539)
>  com.opensymphony.xwork2.inject.ContainerImpl.getInstance(ContainerImpl.java:512)
>  org.apache.struts2.dispatcher.Dispatcher.wrapRequest(Dispatcher.java:701)
>  org.apache.struts2.dispatcher.FilterDispatcher.prepareDispatcherAndWrapRequest(FilterDispatcher.java:327)
>  org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:390)
> 
> Any insights would be helpfull.
> 
> thanks & regards,
> Nagraj


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org