• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

No Suitable Driver(Urgent help required)

 
Sree kanth
Ranch Hand
Posts: 53
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you changed anything?
It sounds like your app can't find your jdbc driver.

Have you moved it, replaced it, upgraded anything else?
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 53
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where is the JDBC driver for your database?
 
Sree kanth
Ranch Hand
Posts: 53
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using jdbcodbcbridgedriver
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you changed from using the Sun JVM to another provider eg IBM? They don't usually include the 'optional' packages.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic