I've been writing a mailet for a commercial MLM (as some of you might
know)
I seem to be having a problem whereby my mailet's DB connection is being
closed after a period of about 5 minutes. 5 minutes is NOT a long time
when you are sending an email to 50000 users...
So, is there any way I can alter the timeouts in James (or Avalon) to
prevent timeouts from happening, or am I looking at re-writing my code?
I have altered the config.xml file to be the following:
<driver>org.gjt.mm.mysql.Driver</driver>
<dburl>jdbc:mysql://localhost/spider</dburl>
<pool-controller min="10" max="50"
connection-class="org.apache.james.util.mordred.PoolConEntry">
<keep-alive disable="false">select 1</keep-alive>
</pool-controller>
<user>user</user>
<password>password</password>
-- Jason
--
To unsubscribe, e-mail: <mailto:james-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:james-dev-help@;jakarta.apache.org>