Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • 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:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Tomcat's Datasource

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm trying to use Tomcat's (5.5) Datasource using Oracle database.
I have copied oracle drivers to /common/lib directory, defined datasource to
server.xml and web.xml but still comes "Cannot create JDBC driver of class '' for connect URL 'null'"
What this actually means? How to get this working..
Cheers!
 
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Johnny,

Just write a simple program to connect to Oracle first. If it works,that proves the driver and the connection URL are correct. Then you can move on to check the bugs in the xml file.

Without viewing the data source definition, the ranchers are hard to give you good advices.

Dan
[ October 09, 2005: Message edited by: danny liu ]
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you're using JNDI Datasource..
As I know, this problem is ordinarry for Tomcat/JDBC/JNDI bundle. Try Google for "Cannot create JDBC driver of class '' for connect URL 'null'", it should help =)
 
Johnny Belab
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yep, that was the problem. But I solved it with NetBeans 4.1 documentation
like I mentioned it in topic
https://coderanch.com/t/85458/Tomcat/create-connection-pool-tomcat
 
No, tomorrow we rule the world! With this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic