File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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.
 
jQuery in Action, 2nd edition
 
subject: resource ref needs to be setup
 
Similar Threads
Setting up Website without the context element in Server.xml
javax.mail.Session and DataSource (Apache Tomcat)
javax.mail.Session and DataSource (Apache Tomcat)
javax.mail.session and DataSource(Apache Tomcat)
how to configure connection pool in tomcat