As I said, Serge, thanks to Noel I solved the problem. I had to set the
max-allowed-packet variable in the .ini file.

Thanks,

Marco
----- Original Message ----- 
From: "Serge Knystautas" <[EMAIL PROTECTED]>
To: "James Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, October 14, 2003 12:30 AM
Subject: Re: Usual encoding problem + size limit.


> Marco Tedone wrote:
> > Serge, thank you for your reply. I deleted the specification of the
maximum
> > packet allowed, I also upgraded the jdbc connector for MySQL to
3.0.6-stable
> > but I get the following exception:
> >
> > java.sql.SQLException: Communication link failure:
> > com.mysql.jdbc.PacketTooBigEx
> > ception
> >         at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:882)
> >         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:945)
> >         at com.mysql.jdbc.Connection.execSQL(Connection.java:1809)
> >         at
> > com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1276)
> >
> >         at
> > org.apache.james.mailrepository.JDBCMailRepository.store(JDBCMailRepo
> > sitory.java:792)
> > <!-- BLA...BLA -->
>
> Marco,
>
> You're now getting a specific MySQL JDBC driver exception, so I would
> bet it's either the driver or something in MySQL.  Unfortunately I'm not
> a MySQL expert, but maybe that community can give you some insights on
> that exception.
>
> -- 
> Serge Knystautas
> President
> Lokitech >>> software . strategy . design >> http://www.lokitech.com
> p. 301.656.5501
> e. [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to