Here is a modified JdbcDataSource.java. It compiles, but has had zero testing. That's as much as I have had time for today. Jason can try it, and let us know if it helps. Otherwise I'll play with it when I have more time later.
--- Noel
-----Original Message-----
From: Serge Knystautas [mailto:sergek@;lokitech.com]
Sent: Thursday, October 17, 2002 12:34
To: James Developers List
Subject: Re: JDBC timeouts
Noel J. Bergman wrote:
>>is there any way I can alter the timeouts in James (or Avalon) to
>>prevent timeouts from happening
>
>
> Not yet. A change would be to remove the static final from the time limit
> members of the class, and add additional statements to the configure
method:
>
> active_conn_time_limit =
> configuration.getChild("active-time-limit").getValueAsInteger(60000);
> conn_idle_limit =
> configuration.getChild("idle-time-limit").getValueAsInteger(600000);
>
> such that we can say:
>
> <active-time-limit>xxxx</active-time-limit>
> <idle-time-limit>yyyy</idle-time-limit>
>
> This is pretty straightforward. Do you want to affect the change on your
> end, test it, and submit it?
>
> --- Noel
Yeah, Mordred isn't great (embarassingly enough, I wrote it)...would be
nice to replace it with DBCP now that it's released, but that isn't
happening anytime soon.
I think that (those) extra configuration settings would be great,
specifically the active-time-limit. That'd be a great patch if you can
submit it.
--
Serge Knystautas
Loki Technologies - Unstoppable Websites
http://www.lokitech.com
--
To unsubscribe, e-mail: <mailto:james-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:james-dev-help@;jakarta.apache.org>
JdbcDataSource.java
Description: Binary data
-- To unsubscribe, e-mail: <mailto:james-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:james-dev-help@;jakarta.apache.org>
