File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

db2 connection with tomcat and jdk1.4 ?

 
Greg Brzezinski
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I successfully managed to connect to a db2 database from a servlet running in tomcat 4.x and with jdk 1.3. All components are running on Solaris servers. I'm also using Struts and the commons-dbcp library.
If I switch from jdk 1.3 to jdk 1.4 I get the following:
java.sql.SQLException: Cannot create JDBC driver of class 'COM.ibm.db2.jdbc.app.DB2Driver'
All the settings are exactly the same, except for JAVA_HOME, which is pointing to the JDK 1.4 instead of JDK 1.3
Any suggestions are greatly appreciated!
Greg
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic