Created a little admin app to do just that, and it worked perfectly.
All the connections being shown as "busy" cleared right out, and only
the minimum number of idle / available connections remained.
Thanks much.
On 1/10/07, Varley, Roger <[EMAIL PROTECTED]> wrote:
>
> I agree that is probably
In server.xml, within GlobalNamingResources, include something like this:
Within the context.xml in your application's META-INF folder, include
this underneath the element:
Within your appilcation code, include something like this:
InitialContext initCtx = new InitialContext();
Context ctx
David,
Any chance you could share with me your connection pool configuration? I've
been struggling with trying to setup my own connection to our DB2 using the
jt400 jar and have not been able to find any documentation for doing this
with a DB2 connection.
Thanks,
Greg
On 1/10/07, David Uctaa <[
Possible. I'll give it a try...
On 1/10/07, Varley, Roger <[EMAIL PROTECTED]> wrote:
>
> I agree that is probably what is happening, since the application has
> gone idle. However, with garbage collection, while it will only
> reclaim memory when necessary, there is a way to force garbage
> c
>
> I agree that is probably what is happening, since the application has
> gone idle. However, with garbage collection, while it will only
> reclaim memory when necessary, there is a way to force garbage
> collection. I am looking for a similar process with abandoned
> database connections.
>
I agree that is probably what is happening, since the application has
gone idle. However, with garbage collection, while it will only
reclaim memory when necessary, there is a way to force garbage
collection. I am looking for a similar process with abandoned
database connections.
On 1/10/07, ED
It is possible that whatever procedure is responsible for checking for
abandoned connections only does so when there is actual need for a
connection, similar to how a garbage collector works to reclaim memory. If
there is no seeming stress on the connection resources then it would make
sense not t
Perhaps I was unclear what it is I'm trying to do. I have a
connection pool set up under Tomcat 5.5, connecting to DB2 on an
iSeries box using Tomcat's DBCP. It is set up for 30 connections. I
am using Lambda Probe (a great open source Tomcat monitoring app) to
monitor the datasources. It is s
Tomcat provides the removeAbandoned and removeAbandonedTimeout
parameters when setting up data sources in server.xml. But according
to the documentation I've read, abandoned connections only get closed
and recycled when available connections run low and new connections
are requested.
Is there a