• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Type 4 Driver Problem

 
pradeep jaladi
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

I had simple program by using the oracle type 4 thin driver it is working fine . " Which is run from command prompt"

But in the Case of Our Own Build in tool which is used for connection pooling the class.forName(oracle.jdbc.driver.OracleDriver) is displaying error "No Such driver found " Which is compiled by tomcat Server .

I Setted all the path, Environment Variables Exactly how they required.

No problem with them.

Previously the code worked also. after a long time we reused that code today itself.
"So How to solve It"

Thanks in Advance,
Regards ,
Pradeep.Jaladi.
 
Rajendar Goud
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pradeep,
Are you sure that your build had copied the respective driver into the tomcat_home/common/lib folder?
for the database connection pooling the oracle driver should be in that folder.


Thanks
raj
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic