• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

driver class problem

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm trying to run an application on Tomcat. It fails to run, throwing a null driver class exception. I've already copied a jar file with a Db2 driver class into Tomcat's /common/lib directory. But it still throws the same exception. What might be the problem here? (I would appreciate a detailed explanation).
The exception is:
java.sql.SQLException Cannot load JDBC driver class 'null'
at org.apache.commons.dbpc.BasicDataSource.createDataSource(...)
at org.apache.commons.dbpc.BasicDataSource.getConnection(...)
etc...
--------------------
 
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
which version of Db2?
Which version of JDBC?
If JDBC2.0, did you move your JDBC2.0 using useJdbc2.0 command script?
 
reply
    Bookmark Topic Watch Topic
  • New Topic