This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Tomcat and the fly likes resource ref needs to be setup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "resource ref needs to be setup" Watch "resource ref needs to be setup" New topic

resource ref needs to be setup

ralph roper

Joined: Nov 25, 2001
Posts: 25
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,
brody roper

Joined: Apr 16, 2002
Posts: 4
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.
I agree. Here's the link:
subject: resource ref needs to be setup
It's not a secret anymore!