Jeff I have updated the wiki page; the web.xml "as shipped" does say: <!-- Specify maximum allowed size of the upload. Defaults to 10 Mb. Set here to a very low 100 kb to allow samples to run. --> <init-param> <param-name>upload-max-size</param-name> <param-value>102400</param-value> </init-param> i.e. if it were NOT for this entry, the default *would* revert to 10Mb. As always, code has precedence over the docs. :-) Derek
>>> "Schmitz, Jeffrey A" <[EMAIL PROTECTED]> 2007/06/13 07:23:31 PM >>> Nevermind, it was the max size variable in web.xml. Docs say default is 10Mb, http://wiki.apache.org/cocoon/FileUploadsWithCocoon2.1 but then in the default web.xml file installed with cocoon, it is actually set to 100k. That's kind of misleading. Jeff -----Original Message----- From: Schmitz, Jeffrey A Sent: Wednesday, June 13, 2007 12:02 PM To: Schmitz, Jeffrey A; '[email protected]' Cc: 'Joerg Heinicke' Subject: RE: File Update with flowscript Hello, I'm still working on getting a file upload to work using flowscript per Joerg's Wiki entry: http://wiki.apache.org/cocoon/FileUploadsWithFlow But the FileUploadManagerImpl.java code is hanging in: public void upload(Part source, String destfilename) throws Exception { And more specifically, on the call to source.getInputStream(). Any ideas? The Part object (source) seems to be coming into the operation OK as the getFileName() function works correctly on it (it returns just the name, not the full path), but it just hangs when I try to get its input stream. Thanks, Jeff -----Original Message----- From: Schmitz, Jeffrey A Sent: Tuesday, June 12, 2007 12:25 PM To: '[email protected]' Subject: RE: File Update with flowscript I was able to build it myself from the source, jar it and install it and that seems to have gotten me past the class not found error. Jeff -----Original Message----- From: Schmitz, Jeffrey A Sent: Tuesday, June 12, 2007 12:08 PM To: [email protected] Subject: File Update with flowscript Hello, I was trying to follow the instructions here: http://wiki.apache.org/cocoon/FileUploadsWithFlow But am getting a class not found exception on org.apache.cocoon.components.upload.FileUploadManagerImpl I did download and install the referenced cocoon-upload.jar file. Any ideas? Thanks, Jeff --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- This message is subject to the CSIR's copyright, terms and conditions and e-mail legal notice. Views expressed herein do not necessarily represent the views of the CSIR. CSIR E-mail Legal Notice http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html CSIR Copyright, Terms and Conditions http://mail.csir.co.za/CSIR_Copyright.html For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR Legal Notice send a blank message with REQUEST LEGAL in the subject line to [EMAIL PROTECTED] This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
