File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Cannot create JDBC driver of class '' for connect URL 'null' Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "Cannot create JDBC driver of class Watch "Cannot create JDBC driver of class New topic
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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Cannot create JDBC driver of class '' for connect URL 'null'
 
Similar Threads
Struts 1.1 database connection exception
Mqsql DB connection Issue
I am creating a object of actionform in action class ..but error is showing that due to another form
Call servlet from action class
SQL Error suring server startup