I am trying to get connection pooling working with Tomcat 5.5 and DB2
v8.1. This was working under Websphere Studio Application Developer
5.x but we are trying to move onto Eclipse and Tomcat.
The datasources seem to get created correctly but I get an error when I
try to get the connection from the datasource:
org.apache.tomc at.dbcp.dbcp.SQ LNestedExceptio n: Cannot create JDBC
driver of class 'COM.ibm.db2.jd bc.app.DB2Drive r' for connect URL
'jdbc:db2:mlmst rd1'
at
org.apache.tomc at.dbcp.dbcp.Ba sicDataSource.c reateDataSource (BasicDataSourc e.java:780)
at
org.apache.tomc at.dbcp.dbcp.Ba sicDataSource.g etConnection(Ba sicDataSource.j ava:554)
Caused by: java.sql.SQLExc eption: No suitable driver
at java.sql.Driver Manager.getDriv er(DriverManage r.java:243)
at
org.apache.tomc at.dbcp.dbcp.Ba sicDataSource.c reateDataSource (BasicDataSourc e.java:773)
... 26 more
I've tried renaming the db2java.zip to db2java.jar and moving it to
common\lib. No matter what I try I get the same error.
Any help that anyone can give would be greatly appreciated.
Thanks,
Jon