Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javax.naming.NamingException- ClassnotFoundException

 
Ravikumar Jambunathan
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
i am using tomcat4.1.
when i use org.apache.commons.dbcp.BasicDataSourceFactory parameter in my server.xml to access oralce thru JNDI, i am getting the about subject exception, what could be the problem?
your suggestions and advice would be appreciated. thanks in advance.
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It appears that commons-dbcp.jar is not on Tomcat's CLASSPATH. If you drop this jar in Tomcat's server/lib directory then things should work fine. Disclaimer: I don't use Tomcat and I might be off on this one.
Moving to the Apache/Tomcat Forum for further discussion...
 
Ravikumar Jambunathan
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks mathews,
but i do not find any specific dpcp jar file in any of tomcat directories.
could you explain on this pl.
 
Dave Jochim
Ranch Hand
Posts: 31
 
Ravikumar Jambunathan
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks dave, i will try and let you know.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic