Thanks, now dbcp is ok with my james. Since others without configuring max_wait do not seem to have that kind of problem, maybe this could be an issue with my mysql?
Rudolf -----Ursprüngliche Nachricht----- Von: Stefano Bagnara [mailto:[EMAIL PROTECTED] Gesendet: Sonntag, 27. August 2006 20:12 An: James Users List Betreff: Re: AW: Changing Connction pool from Mordred to dbcp Can you try adding a: <max_idle>25</max_idle> <max_wait>60000</max_wait> Stefano Rudolf Schmidt wrote: > Max is set to 50. > > <data-source name="maildb" > class="org.apache.james.util.dbcp.JdbcDataSource"> > <driver>com.mysql.jdbc.Driver</driver> > <dburl>jdbc:mysql://localhost/mail?autoReconnect=true</dburl> > <user>XXX</user> > <password>XXX</password> > <max>50</max> > </data-source> > > -----Ursprüngliche Nachricht----- > Von: Noel J. Bergman [mailto:[EMAIL PROTECTED] > Gesendet: Sonntag, 27. August 2006 19:31 > An: James Users List > Betreff: RE: Changing Connction pool from Mordred to dbcp > > See http://bugs.mysql.com/bug.php?id=16161 > > Do you have <max> set for the number of connections? How many? > > --- Noel --------------------------------------------------------------------- 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]
