confluence 4.3 + mysql 5.5 + apache 2.2 on windows server 2008 r2
Attachment storage = database
Attachment max size = 20.00 MB
There is a reqular and from time to time reproducible problem (but sometimes it's uploaded correctly) while uploading pdf file about 900kb:
System Error
A system error has occurred — our apologies!
For immediate troubleshooting, consult our knowledge base for a solution.
If you would like to receive support from Atlassian's support team, ask your Confluence administrator to create a support issue on Atlassian's support system with the following information:
a description of your problem and what you were doing at the time it occurred
a copy of the error and system information found below
a copy of the application logs (if possible).
Your Confluence administrator can use the support request form to create a support ticket which will include this information.
We will respond as promptly as possible.
Thank you!
Return to site homepage…
Cause
java.lang.RuntimeException: There was a problem evicting or flushing an AttachmentData object:
at com.atlassian.confluence.pages.persistence.dao.hibernate.HibernateAttachmentDataDao.save(HibernateAttachmentDataDao.java:68)
caused by: net.sf.hibernate.exception.GenericJDBCException: could not insert: [com.atlassian.confluence.pages.AttachmentData#8323583]
at net.sf.hibernate.exception.ErrorCodeConverter.handledNonSpecificException(ErrorCodeConverter.java:90)
caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 47 milliseconds ago. The last packet sent successfully to the server was 47 milliseconds ago.
at sun.reflect.GeneratedConstructorAccessor605.newInstance(Unknown Source)
caused by: java.net.SocketException: Connection reset by peer: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)