This is almost definitely caused by the attachment not saving properly. Despite the failure to save, the cache holds the attachment for a time but eventually it is cleared and the attachment appears to vanish. The cache inconsistency is fixed as of 2.5M1.
As far as the attachment not saving properly and showing no sign, usually we start by blaming mysql max_packet_size. If you upload an attachment about the size of the largest attachment you ahve uploaded so far, check the tomcat log and you will probably see an exception trace. This will tell you what caused the problem. Caleb On 10/05/2010 02:04 PM, Ramon Gomes Brandão - SERINT wrote: > Hi, > > > > I'm facing some trouble with attachments becoming empty (zero bytes) after > some time they were uploaded. I'm using XWiki Enterprise 2.4.30451. I've > searched the mail archives and it seems to exist a bug in the cache > coherency. I could not find anything related on JIRA. > > > > My -Xms and -Xmx are both 768m. Although my max packet size on MySQL is 20Mb > for attachments, the files that are becoming empty are docs, pictures and > xls's of a few Kbytes. > > > > Can someone point me some cause and solution on this please? > > > > Regards, > > > > Ramon Gomes Brandão > > > > _______________________________________________ > users mailing list > firstname.lastname@example.org > http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ users mailing list email@example.com http://lists.xwiki.org/mailman/listinfo/users