× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



    Hi Etienne,

> 2. Does JT400 have the capability to detect orphaned connections?

    The answer is yes.

The com.ibm.as400.access.AS400JDBCConnectionPool has a 
setMaxUseTime(long maxUseTime) method inherited from the 
ConnectionPool class:

"Sets the maximum amount of time a connection can be in use before it is
closed and returned to the pool. The default value is -1 indicating that
there is no limit.

Parameters:
maxUseTime - Number of milliseconds."


                                                  Joe Sam

Joe Sam Shirah -        http://www.conceptgo.com
conceptGO         -        Consulting/Development/Outsourcing
Java Filter Forum:       http://www.ibm.com/developerworks/java/
Just the JDBC FAQs: http://www.jguru.com/faq/JDBC
Going International?    http://www.jguru.com/faq/I18N
Que Java400?             http://www.jguru.com/faq/Java400


----- Original Message -----
From: "Richards, Etienne (EM, PTL)" <Etienne.Richards@xxxxxxxxxx>
To: "'Java Programming on and around the iSeries / AS400'"
<java400-l@xxxxxxxxxxxx>
Sent: Friday, March 26, 2004 8:32 AM
Subject: WebSphere Connection Pool


> All,
>
> In WebSphere 4.0 for a connection pool you can setup an orphan time-out
for
> the connection.
>
> I can not find such a setting in WebSphere 5.x.
>
> 1. Does WebSphere 5.x have the capability to set an orphan time-out?
> 2. Does JT400 have the capability to detect orphaned connections?
>
> Etienne
>




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.