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 20:04:26 GMT
I would guess it's coming from the JDBC driver. 

> -----Original Message-----
> From: J Malcolm [mailto:techstuff@malcolms.com] 
> Sent: Wednesday, June 02, 2004 3:01 PM
> To: 'James Users List'; cmeans@intfar.com
> Subject: RE: Where is max_allowed_packet set?
> 
> Thanks for the quick response, Chris.  Is the text of this 
> message generated in the jdbc driver or in James?  If it's 
> generated in James, might I suggest that "...from the server 
> configuration" be changed to "...from the REPOSITORY 
> configuration"?  The term "server" is way to generic in 
> environments like I run to be used in error msgs (IMHO).
> 
> Thanks again.
> 
> Jerry
> 
> -----Original Message-----
> From: Chris Means [mailto:cmeans@intfar.com]
> Sent: Wednesday, June 02, 2004 2:23 PM
> To: 'James Users List'
> Subject: RE: Where is max_allowed_packet set?
> 
> 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
> 
> 


---------------------------------------------------------------------
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