This isn't a James issue. This is a configuration item for MySQL. http://www.mail-archive.com/james-user@;jakarta.apache.org/msg01670.html
This probably belongs in the FAQ and the Using JDBC sections. One thing that you won't find documented elsewhere is this: http://www.mail-archive.com/james-dev@;jakarta.apache.org/msg03415.html --- Noel -----Original Message----- From: JRC [mailto:postmaster@;neonkiwi.com] Sent: Monday, October 21, 2002 16:37 To: james-user Subject: Packet is larger than max_allowed_packet WinXP JDK1.3.1_04 James 2.0a2 + POP3Handler.java 2.1a1-2002-08-18 I've recently switched from file to database for inbox repository and am encountering the following issue. database will not accept files larger than around 500K-800K. where do i make the needed changes to allow larger files? config.xml is <maxmessagesize>0</maxmessagesize> Phoenix 3.1a1-dev James 2.0a2 Started POP3 Server plain:110 Started SMTP Server plain:25 Started NNTP Server plain:119 java.lang.IllegalArgumentException: Packet is larger than max_allowed_packet fro m server configuration of 1048576 bytes at org.gjt.mm.mysql.Buffer.ensureCapacity(Buffer.java:398) at org.gjt.mm.mysql.Buffer.writeBytesNoNull(Buffer.java:386) at org.gjt.mm.mysql.PreparedStatement.execute(PreparedStatement.java:103 6) at org.apache.james.mailrepository.JDBCMailRepository.store(JDBCMailRepo sitory.java:423) at org.apache.james.James.storeMail(James.java:435) at java.lang.reflect.Method.invoke(Native Method) at org.apache.avalon.phoenix.components.application.BlockInvocationHandl er.invoke(BlockInvocationHandler.java:88) at $Proxy9.storeM....................................................etc., etc. regards, -- To unsubscribe, e-mail: <mailto:james-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:james-user-help@;jakarta.apache.org>