Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JDBC Drivers - No Suitable Driver - NIGHTMARE !!  RSS feed

 
Steven Briggs
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm having a nightmare trying to use JDBC 2.0 drivers for SQL Server. I'm
using JRun, and understand that the drivers must go into the class path,
which is <JRun home dir>/lib/ext, or <approot>/WEB-INF/lib, or
<approot>/WEB-INF/classes etc however, even when I put the driver jar files
into one of these directories, I still get the error "No Suitable Driver".
I've tried a number of different drivers (all 30 day trial ones), the only
ones I can get to work are ones that I can undo the jar file and put the
class directory into the same directory as my application - even this only
works if those jar files are self reliant and ond't require other classes.
The other I can get to work using JDBC test utilites, I know the problem
lies in the JRun classpath, but I don't know what.
Any ideas, I'm getting desperate. The JDBC-ODBC driver just isn't up to what I want
to do.
Thanks
 
Dorj Galaa
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
copy rt.jar to JRUN classpath
 
Steven Briggs
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'll try that, but what and where is rt.jar?
Thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!