-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: JDBC Driver class not found
PostPosted: Fri Sep 19, 2008 4:04 pm 
Newbie

Joined: Thu Aug 14, 2008 4:26 pm
Posts: 7
Hi All,

I get the below error when I am trying to configure type 4 db2 database.
org.hibernate.HibernateException: JDBC Driver class not found: com.ibm.db2.jcc.DB2Driver

Below is the config file
<property name="connection.driver_class">com.ibm.db2.jcc.DB2Driver</property>
<property name="connection.url">jdbc:db2://tst:500/tst;</property>
<property name="connection.username">user</property>
<property name="connection.password">pwd</property>

below is the classpath
CLASSPATH=.;C:\PROGRA~1\IBM\SQLLIB\java\db2java.zip;C:\PROGRA~1\IBM\SQLLIB\java\
db2jcc.jar;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc_license_cu.jar;C:\PROGRA~1\IBM\SQL
LIB\bin;C:\PROGRA~1\IBM\SQLLIB\java\common.jar


Everything looks fine to me...I dont understand why this error shows up.

Thanks,
Mitr


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.