• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Context in Virtual Hosts

 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there! I'm trying to get a context to work with a tomcat 5.0.28 with virtual hosts configured.
My virtual host is named mycompany.com and is located at conf/Catalina/mycompany.com the doc base is webapps/mycompany
I'd like to configure 2 datasources that would be globally avaible. My ROOT.xml inside the virtual host directory looks like this:


My web.xml has references for both resources. But they're not accessible. When I try to access on of the datasources it says
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

What am I doing wrong???

Thanks
 
reply
    Bookmark Topic Watch Topic
  • New Topic