Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot create JDBC driver of class '' for connect URL 'null'

 
Meet Gaurav
Ranch Hand
Posts: 492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a shared tomcat server and my application is running in that server. I have placed my context.xml and web.xml in WEB-INF directory and while trying to create the connection from datasource JNDI name am getting the below error. please assist me to resolve.

It's MYSQL database, I placed my mysql jar in application lib directory.


Thanks
 
Gian Franco
blacksmith
Ranch Hand
Posts: 979
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Meet,

Have a look at this post on the serverside maybe
they have solved your problem already.
 
Meet Gaurav
Ranch Hand
Posts: 492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the link.. After copying my context.xml to server 'conf' folder, I got driver not found error then I copied my driver jar file to server lib then it's working fine.. But in case of shared tomcat server, we don't have access to conf folder. Also many applications were deployed on the server then how we will place the context.xml in the conf folder.

Please advice
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic