470,591 Members | 1,520 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,591 developers. It's quick & easy.

What's the best way to move from one DB2 server to another?

Hi. I'm in a jam... I restored a DB2 database from one win 2003 DB2 8
server system to another DB2 8 server system now I can't connect.

I'm trying to connect my tomcat app server to the remote DB2 database.
It was initially configured to work against the local DB2 database.

I can remotely connect via the DB2 command line, but my tomcat app
server is failing with:

109 IBatisDogearTransactionManager.perform: Error getting person for
email: mi**@yahoo.com.ibatis.dao.client.DaoException: Error getting
person for email: mi**@yahoo.com
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create
JDBC driver of class 'COM.ibm.db2.jdbc.app.DB2Driver' for connect URL

Caused by: java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getDriver(DriverManager.jav a:264)
org.apache.commons.dbcp.BasicDataSource.createData Source(BasicDataSource.java:773)
... 45 more
Cannot create JDBC driver of class 'COM.ibm.db2.jdbc.app.DB2Driver' for
connect URL 'jdbc:db2://reg3:50000/DOGEARO'
java.sql.SQLException: No suitable driver
Any suggestions would be much appreciated?


May 11 '06 #1
2 2966

First of all you are using deprecated jdbc driver

This driver is only Type-2, which means, that you have to install DB2
Client on tomcat server, and properly catalog remote database (check
also url and user and password).

I would suggest also to try DB2 Universal JDBC Driver
(com.ibm.db2.jcc.DB2Driver; Type-2 or Type-4).

-- Artur Wronski

May 11 '06 #2
Thanks Artur, for your reponse. I'm going to give your suggestions a

Thanks again,

May 11 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

145 posts views Thread by Mark Johnson | last post: by
47 posts views Thread by Neal | last post: by
5 posts views Thread by =?Utf-8?B?Q2hyaXM=?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.