This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

resource ref needs to be setup

 
ralph roper
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I have modified my Tomcat 4.0.2 server.xml and web.xml files to set up a jdbc dbc Datasource. When I go to start Tomcat I receive the message thet the resource-ref must be set up. I have checked the Tomcat doco and I get conflicting info on the tag I should use in the server.xml file. I have used the <Context> tag but on another page they say to use a <GlobalResourceNaming> tag. Do I need one or both ?
Any code examples would be much appreciated.
thanks in advance,
Ralph
 
brody roper
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
not to worry.
I have managed to discover that I had overlapped the web.xml and server.xml files when setting up my jdbc datasource.
Everything tested and working sweetly.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic