Increase (or add) the "max" setting in your data-source, it works like a
dream, I find 10-20 cures in most cases :-)

<data-source name="maildb"
                     class="org.apache.james.util.mordred.JdbcDataSource">
            <driver>org.gjt.mm.mysql.Driver</driver>
            <dburl>jdbc:mysql://192.168.0.1/mail</dburl>
            <user>u</user>
            <password>p</password>
            <max>20</max>
        </data-source>


> Using James 2.0a3 on RH Linux 7.2 (JDK 1.4) with MySQL 3.23.49a:
>
> I am seeing a problem fairly frequently where I get
> "SQLException: Giving up... no connections available."


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

Reply via email to