aspose file tools*
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
JavaRanch » Java Forums » Products » Tomcat
Bookmark "resource ref needs to be setup" Watch "resource ref needs to be setup" New topic
Author

resource ref needs to be setup

ralph roper
Greenhorn

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

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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: resource ref needs to be setup