• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

SQLNestedException: Cannot create JDBC driver of class'' for connect URL

 
Ranch Hand
Posts: 47
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am trying to deploy an web application in Tomcat 6.0.18.

Here is the xml files snap shots are as follows:

META-INF/context.xml file


WEB-INF/web.xml file


jsp file


When i deploy the war file of this application i.e. employees.war, Tomcat reads the file META-INF/context.xml file and copies it into the folder /conf/Catalina/localhost/employees.xml file.

But when i access the jsp file it gives me error "org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class'' for connect URL"

If i put the


in /conf/context.xml file in tomcat then my jsp file retrieves data from mysql normally.

What could be the problem ?

Regards
vijay







 
Marshal
Posts: 7402
1423
IntelliJ IDE jQuery Eclipse IDE Postgres Database Tomcat Server Chrome Google App Engine
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
More related to Tomcat. Moving to Tomcat forum.
 
Saloon Keeper
Posts: 28654
211
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think maybe it's because you said "<context>". XML is case sensitive. It should be "<Context>".
 
vijay dadhwal
Ranch Hand
Posts: 47
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks a ton Tim,

My p/b is resolved. This had kept me mad for a day.

Thanks a ton again.

Regards
vijay
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I like this forum.
 
reply
    Bookmark Topic Watch Topic
  • New Topic