aspose file tools*
The moose likes Servlets and the fly likes No Suitable Driver(Urgent help required) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "No Suitable Driver(Urgent help required)" Watch "No Suitable Driver(Urgent help required)" New topic
Author

No Suitable Driver(Urgent help required)

Sree kanth
Ranch Hand

Joined: Feb 02, 2005
Posts: 53
Hi

I'm using j2sdkee1.2.1. Recently all my servlets with JDBC Connectivity are showing the exception "No suitable Dirver found"

What may be reason
Urgent help required

Rgds,
Sree


Sree
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Have you changed anything?
It sounds like your app can't find your jdbc driver.

Have you moved it, replaced it, upgraded anything else?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Have you updated your JVM recently? I'm wondering if you've placed your driver in the jre/lib/ext directory and haven't moved it to the new version. (I usually advise against doing this, but it's largely a matter of taste)

Either way, this doesn't sound like a Servlet question, I'm just waiting for more information then it will probably be moved to either the JDBC or one of the Java in General forums.

Dave
Sree kanth
Ranch Hand

Joined: Feb 02, 2005
Posts: 53
The same JDBC statement is working properly if I am putting in a normal java program. The problem arise only if i use servlets,jsp or EJB.
I haven't changed anything But I dont know if anybody else has changed anything. If any body has changed id what should i do to rectify the problem. I reinstalled JAVA and j2ee also. Still the same problem is there and it is working in normal java

rgds
sree
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Where is the JDBC driver for your database?
Sree kanth
Ranch Hand

Joined: Feb 02, 2005
Posts: 53
I am using jdbcodbcbridgedriver
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Have you changed from using the Sun JVM to another provider eg IBM? They don't usually include the 'optional' packages.
 
wood burning stoves
 
subject: No Suitable Driver(Urgent help required)