You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2009/12/14 19:14:10 UTC
DO NOT REPLY [Bug 47769] documentation on web.xml resource-ref
does'nt state optional
https://issues.apache.org/bugzilla/show_bug.cgi?id=47769
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Mark Thomas <ma...@apache.org> 2009-12-14 10:14:07 GMT ---
I took a look at this and it works as follows:
- if there is enough info in web.xml to create the resource, that is all that
is required
- if more info is needed to create the resource, then that must be provided via
a Context element
- any resource defined via a context element need not be defined in web.xml
It is a good idea to list all the resources in web.xml to document the JNDI
resource expectations of the web app.
I have updated the docs in trunk, 6.0.x and 5.5.x to try and make this clearer.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org