| Author |
Cannot create JDBC driver of class '' for connect URL 'null'
|
Meet Gaurav
Ranch Hand
Joined: Oct 08, 2008
Posts: 492
|
|
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
Joined: Dec 16, 2003
Posts: 975
|
|
Hi Meet,
Have a look at this post on the serverside maybe
they have solved your problem already.
|
"Eppur si muove!"
|
 |
Meet Gaurav
Ranch Hand
Joined: Oct 08, 2008
Posts: 492
|
|
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
|
 |
 |
|
|
subject: Cannot create JDBC driver of class '' for connect URL 'null'
|
|
|