|
| Problem | The "com.ibm.ejs.cm.exception.IllegalConnectionUseException: Connection is being used in a way that violates the architecture" error message is received in WebSphere® Application Server 3.5.5 or higher and WebSphere Application Server 4.0.x. | | | | Solution | When this error message is received from WebSphere Application Server, it means that multi-threaded access of a database connection is being attempted. This is forbidden in the J2EE™ 1.2 (section 4.2.1) and 1.3 (section 4.1.4) specifications. Typically, this can mean that a user's database connection code is caching connections or storing JDBC™ connection objects in static fields; this includes declaring them in the init() method of servlets. The error message was added into the WebSphere Connection Manager code in version 4.0 and later fix packs of version 3.5. | |
| |
| |
|
Product categories: Software, Application Servers, Distributed Application & Web Servers, WebSphere Application Server, DB Connections/Connection Pooling Operating system(s): Multi-Platform Software version: 3.5.5, 3.5.6, 3.5.7, 4.0 Software edition: Advanced, Single Server Reference #: 1052771 IBM Group: Software Group Modified date: 2004-09-07
(C) Copyright IBM Corporation 2000, 2004. All Rights Reserved.
|