PQ83298: WEBSPHERE CONNECTION CLOSE THROWS EXCEPTION ON SECOND CLOSE | |||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||
![]() 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 problemLocal 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 is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
|
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
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.