SQLCODE925 received when connecting to DB2
 Technote (troubleshooting)
 
Problem(Abstract)
If you receive errors when you access DB2® via JDBC using IBM® WebSphere® Application Server for z/OS®, it may be because db2j2classes.zip was placed in the WebSphere Application Server directory in error.
 
Cause
servant_region_classpath contained db2j2classes.zip which caused the JDBC driver to get initialized before connection management set up properties. This caused DB2 to issue SQLCODE925 when connecting to DB2.
 
Resolving the problem
The problem is resolved by removing db2j2classes.zip from the servant_region_classpath and removing the zip file from the WebSphere Application Server directory, WebSphere/V5R0M0/AppServer/lib


Note: If DB2V7/SERVICE/usr/lpp/db2/db2710/lib is included in Java.library.path, this should also be removed.

 
 
 


Document Information


Current web document: swg21167696.html
Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server for z/OS > DB Connections/Connection Pooling
Operating system(s): z/OS
Software version: 5.0
Software edition:
Reference #: 1167696
IBM Group: Software Group
Modified date: Mar 27, 2006