James wrote:
In fact, I've just understood the problem...

one of my mailet insert a row in a table every time a mail has to be sent...
so if you write at once to 100 people, it will insert 100 row, each one by one, in the database...


and this seems to have a problem.....
it needs several seconds to get a connection... is this possible ??

Very possible if you're using some hack db like Oracle. :)


Looks like you need a connection pooler... you can either stick one within your code directly, or look at how James configures other database connection pools and maybe check out some mailets that use a pool (like JDBCAlias).

--
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]



Reply via email to