PQ83298: WEBSPHERE CONNECTION CLOSE THROWS EXCEPTION ON SECOND CLOSE

 A fix may be available

Obtain the fix for this APAR



APAR status
Closed as program error.

Error description
Customer is using procedures documented in ibm zos redbooks
for websphere to code a double close of jdbc connection objects.
Following some of the samples, he is expecting the close to
treat an attempt to close an already closed connection to be
a no-op, but it currently throws a sqlexception.  Since he does
not catch that, it stops the application.  He does not wish to
change the hundreds of places in  his apps to add a catch block.
He did in one case just to verify it gets him passed the problem
Local fix
Modify application to catch and ignore the exception sent by
the close connection method.
Problem summary
****************************************************************
* USERS AFFECTED: All users of WebSphere Application Server    *
*                 version 4.0.1 for z/OS and OS/390            *
****************************************************************
* PROBLEM DESCRIPTION: SQLException thrown when closing an     *
*                      already closed DB2 JDBC Connection      *
*                      (i.e. issuing Connection.close() ).     *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
SQLException thrown back to application after Connection.close()
with the following error text:

"close() attempted on already closed connection."
Problem conclusion
Changed WAS z/OS V4 behavior to ignore close() on an already
closed Connection, bringing WAS z/OS behavior in line with
WAS V5 behavior.

APAR PQ83298 is associated with SERVICE LEVEL W401609 of
WebSphere Application Server version 4.0.1 for z/OS and OS/390.
Temporary fix Comments
APAR information
APAR number PQ83298
Reported component name WASKBASE
Reported component ID 5655A9801
Reported release 401
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2004-01-15
Closed date 2004-02-13
Last modified date 2004-03-03

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
BBOUBINF          

Fix information
Fixed component name WASKBASE
Fixed component ID 5655A9801

Applicable component levels
R401 PSY UQ85155    UP04/02/19 P F402

  Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server for z/OS
Operating system(s):
Software version: 401
Software edition:
Reference #: PQ83298
IBM Group: Software Group
Modified date: Mar 3, 2004