• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

No Suitable Driver(Urgent help required)

 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Where is the JDBC driver for your database?
 
Sree kanth
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using jdbcodbcbridgedriver
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic