You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by David Psiuk <ps...@gmx.de> on 2005/01/21 21:30:18 UTC
problems with sending mails / mysql
Hello,
I'm running james 2.2.0 with mysql 4.x quite well.
The only problem is that I cant send massmail via james.
After sending 300 mails I get following error:
exception! javax.mail.MessagingException: Exception caught while storing
mail Co
ntainer: java.sql.SQLException: Cannot connect to MySQL server on
localhost:3306
. Is there a MySQL server running on the machine/port you are trying to
connect
to? (java.net.BindException)
Someone knows how to fix this?
Thanks.
Re: AW: problems with sending mails / mysql
Posted by Mark Swanson <ma...@ScheduleWorld.com>.
On January 22, 2005 10:47 am, David Psiuk wrote:
> Yeah, I solved the problem. Thank you all.
>
> The only thing was to change the driver to use mordred.
>
> Now I've sent about 1,5mio mails without problems :)
How were you able to do this? Whenever I try to send > 30 emails with James it
fails with:
nested exception is:
class javax.mail.SendFailedException: 552 Too many recipients
--
Free SyncML-capable J2ME & J2SE replacement for Exchange and Outlook
http://www.ScheduleWorld.com/
WAP: http://www.ScheduleWorld.com/sw/WAPToday?id=4000&tz=EST
WebDAV: http://www.ScheduleWorld.com/sw/webDAVDir/4000.ics
VFREEBUSY: http://www.ScheduleWorld.com/sw/freebusy/4000.ifb
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
AW: problems with sending mails / mysql
Posted by David Psiuk <ps...@gmx.de>.
Yes, that was the only thing ;)
-----Ursprüngliche Nachricht-----
Von: Noel J. Bergman [mailto:noel@devtech.com]
Gesendet: Samstag, 22. Januar 2005 17:02
An: James Users List
Betreff: RE: problems with sending mails / mysql
Wichtigkeit: Hoch
David Psiuk wrote:
> Yeah, I solved the problem. Thank you all.
> The only thing was to change the driver to use mordred.
> Now I've sent about 1,5mio mails without problems :)
So all you did was switch from DBCP to mordred, and it works? Hmmm ... we
should try a newer version of DBCP to see if the problem has been fixed.
--- Noel
---------------------------------------------------------------------
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
RE: problems with sending mails / mysql
Posted by "Noel J. Bergman" <no...@devtech.com>.
David Psiuk wrote:
> Yeah, I solved the problem. Thank you all.
> The only thing was to change the driver to use mordred.
> Now I've sent about 1,5mio mails without problems :)
So all you did was switch from DBCP to mordred, and it works? Hmmm ... we
should try a newer version of DBCP to see if the problem has been fixed.
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
AW: problems with sending mails / mysql
Posted by David Psiuk <ps...@gmx.de>.
Yeah, I solved the problem. Thank you all.
The only thing was to change the driver to use mordred.
Now I've sent about 1,5mio mails without problems :)
cu
-----Ursprüngliche Nachricht-----
Von: Noel J. Bergman [mailto:noel@devtech.com]
Gesendet: Samstag, 22. Januar 2005 16:28
An: James Users List
Betreff: RE: problems with sending mails / mysql
> After sending 300 mails I get following error:
> javax.mail.MessagingException: Exception caught while storing
> mail Container: java.sql.SQLException: Cannot connect to MySQL
> server on localhost:3306
I've not seen that with JAMES and MySQL. Mind you, I still use 3.23 in our
production environment. Are you using Mordred or DBCP for the connection
manager? Do you have automatic reconnect turned on for the driver?
--- Noel
---------------------------------------------------------------------
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
RE: problems with sending mails / mysql
Posted by "Noel J. Bergman" <no...@devtech.com>.
> After sending 300 mails I get following error:
> javax.mail.MessagingException: Exception caught while storing
> mail Container: java.sql.SQLException: Cannot connect to MySQL
> server on localhost:3306
I've not seen that with JAMES and MySQL. Mind you, I still use 3.23 in our
production environment. Are you using Mordred or DBCP for the connection
manager? Do you have automatic reconnect turned on for the driver?
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org