I think your problem come from mysql. In my.cnf, you have to add: set-variable = max_allowed_packet=xxM ( maximum size of a blob )
On Thu, 2003-08-21 at 13:33, Stuart MacPherson wrote: > Hi > > > > I managed to sort out the problems I was having with Slide inappropriately > creating a collection instead of a file. it seems it does this when there is > a problem with the file handling process, and it doesn't get the full file.. > > > > Anyway. I am getting another mysterious error when I try to upload a large > (ish) test file of around 1.53MB. > > > > It happily writes away with 2048 sized chunks, until it gets to 1537638 (the > end of the file) when it shows a 1646 sized chunk, and the DB instigates a > SQLException, inside which it says: > > > > > > com.mysql.jdbc.PacketTooBigException > > > > > > Why is it saying this at the last packet, which is smaller than all the > rest?! > > > > Does anyone know what to do to sort this i.e. do I need to change a DB > setting, or should I do something within Slide? > > > > Incidentally, the way my Servlet code handles it (for files this large) is > to write to a temporary area on the server, open an InputStream and then > pass this to the WebdavResource.putMethod() for writing to Slide. Is this > the best way. or is this in fact the root of my problems above?! > > > > Any suggestions? > > > > Many thanks > > > > Stuart > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
