PDA

View Full Version : Multipart Upload Temp Dir


rosco
Nov 26th, 2004, 08:53 AM
Can someone please provide an example of configuring the CommonsMultipartResolver with a temp upload directory? I am using WebLogic 8.1 with a compressed EAR deployment. When I go to upload a file through a form post, I get an OutOfMemory error from WebLogic and a white page. This only happens when I upload a file data. I am guessing that its trying to write the temp file data to a non-existant temp directory (b/c the ear/war is not expanded).

Thanks

rosco
Nov 26th, 2004, 08:55 AM
Can someone please suggest the correct way to configure log4j in a WebLogic environment using a compressed EAR/WAR deployment?

I can't use the listener b/c WL doesn't load them before servlets.

I can't use the servlet b/c the web app root key is not writable when the deployed archive is not exploded.

What should I do?

Thanks