james-server-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Means" <cme...@intfar.com>
Subject RE: Where is max_allowed_packet set?
Date Wed, 02 Jun 2004 19:22:39 GMT
It's a MySQL setting, probably in the c:\my.cnf (if DOS/Windows) on the
machine where MySQL is running.

> -----Original Message-----
> From: J Malcolm [mailto:techstuff@malcolms.com] 
> Sent: Wednesday, June 02, 2004 2:13 PM
> To: James Users List
> Subject: Where is max_allowed_packet set?
> 
> I'm getting the following error in my log files.  Where is 
> max_allowed_packet defined/set? It's not in the config.xml 
> file.  Can someone explain this error?
> 
> 01/06/04 00:01:21 ERROR smtpserver: Unknown error occurred 
> while processing DATA.
> javax.mail.MessagingException: Exception spooling message: 
> Exception caught while storing mail Container: 
> java.lang.IllegalArgumentException:
> Packet is larger than max_allowed_packet from server configuration of
> 1048576 bytes;
>   nested exception is:
>         class javax.mail.MessagingException: Exception caught 
> while storing mail Container: 
> java.lang.IllegalArgumentException: Packet is larger than 
> max_allowed_packet from server configuration of 1048576 bytes
>         at org.apache.james.James.sendMail(James.java:467)
>         at 
> sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at
> org.apache.avalon.phoenix.components.application.BlockInvocati
> onHandler.
> invoke(BlockInvocationHandler.java:92)
>         at $Proxy9.sendMail(Unknown Source)
>         at
> org.apache.james.smtpserver.SMTPHandler.processMail(SMTPHandle
> r.java:144
> 3)
>         at
> org.apache.james.smtpserver.SMTPHandler.doDATA(SMTPHandler.java:1287)
>         at
> org.apache.james.smtpserver.SMTPHandler.parseCommand(SMTPHandl
> er.java:58
> 9)
>         at
> org.apache.james.smtpserver.SMTPHandler.handleConnection(SMTPH
> andler.jav
> a:358)
>         at
> org.apache.james.util.connection.ServerConnection$ClientConnec
> tionRunner
> .run(ServerConnection.java:417)
>         at
> org.apache.james.util.thread.ExecutableRunnable.execute(Execut
> ableRunnab
> le.java:55)
>         at
> org.apache.james.util.thread.WorkerThread.run(WorkerThread.java:90)
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Mime
View raw message