Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

where should i down load

 
ramesh kothakonda
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi javaranchers,
I am getting below error when i am doing connection pooling in sturts using tomcat5.0 server.

java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSource

I searched in net but i did not get any related jar file.
thanking you sir,
k.ramesh.
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You will find it in the commons-dbcp-1.x.x.jar file avaialable here.

Having said that, it is my strong belief that it is not a good idea to use the Struts DataSource utility. You are better off defining your DataSource as a JNDI resource using Tomcat's interface and then doing a JNDI lookup for the DataSource in your code.
 
ramesh kothakonda
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for giving response.
I have to try it.

with regards,
k.ramesh
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic