× 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.



Ashish,

I thought the connections in a connecion pool didn't get closed, they just
get returned to the pool. The connection then drops after a specified or
default time out period

That's my understanding anyway.

Cheers
Colin.W

-----Original Message-----
From: Ashish Kulkarni [mailto:kulkarni_ash1312@xxxxxxxxx] 
Sent: 01 December 2003 23:12
To: java400-l@xxxxxxxxxxxx
Subject: AS400ConnectionPool and closing connection


Hi
The connection created in AS400ConnectionPool and not
closed when i call close() method,
Here is my flow
I create AS400ConnectionPool as 
AS400ConnectionPool testPool = new
AS400ConnectionPool();
AS400 as400 = testPool.getConnection("myas400","abc","abcpass");
AS400 as4001 = testPool.getConnection("myas400","xyz","xyzpass");
testPool.close();

I see that the as400 connections created are still in
QUSRWRK subsytem and not cleared...

what may be the reason, i guess it used to work in
JTopen3.1 i upgraded to JTopen4.1 
Ashish


__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/ _______________________________________________
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.

For the latest on Bertram Books products and services and for up-to-the-minute 
book news visit www.bertrams.com


This e-mail and any attachments may contain information that is confidential 
and privileged and is solely for the use of the intended recipient. If you are 
not the intended recipient please notify the sender and delete this e-mail and 
any attachments immediately







As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.