my dog learned polymorphism*
The moose likes Tomcat and the fly likes URGENT - connection using JdbcOdbcDriver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply locked New topic
Author

URGENT - connection using JdbcOdbcDriver

Augg Stine
Greenhorn

Joined: Mar 24, 2004
Posts: 27
Hi
i'm using a datasource object to get a connection. But it gives me 'No Suitable Driver'. Following is a part of server.xml in Tomcat 4.1.
******************************************************************
<parameter>
<name>url</name>
<value>jdbc dbc:TeamDataSource</value>
</parameter>
<parameter>
<name>driverClassName</name>
<value>sun.jdbc.odbc.JdbcOdbcDriver</value>
</parameter>
*********************************************************************

But if i use DriverManager.getConnection with the same Database URL & the Driver, i'm able to get the Connection ...

Please help
Thank you in Advance
regards,
Augg
Jessica Sant
Sheriff

Joined: Oct 17, 2001
Posts: 4313

Augg Augg-
Please don't post the same thread in multiple forums -- it's a bit confusing a wastes people time. Please continue the discussion in the original thread in JDBC.
Also, Welcome to the JavaRanch! We like to keep a nice professional lookin' image... (we don't want anyone to show up the Moose). So, can you please adjust your displayed name to match the JavaRanch Naming Policy? Basically it should be a believeable and not obviously fictitious first and last name.
You can change it here.
Thanks! and again welcome to the JavaRanch!


- Jess
Blog:KnitClimbJava | Twitter: jsant | Ravelry: wingedsheep
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: URGENT - connection using JdbcOdbcDriver
 
Similar Threads
Problem with JdbcOdbcDriver
URGENT: problem with JdbcOdbcDriver
Context in Virtual Hosts
Tomcat Connection Pooling Help required
URGENT: problem with JdbcOdbcDriver