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 2005/07/08 19:06:34 UTC

DO NOT REPLY [Bug 7360] - res-sharing-scope not supported

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=7360>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=7360


markt@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From markt@apache.org  2005-07-08 19:06 -------
<res-sharing-scope> is supported and the default value is shareable. See
o.a.c.deploy.ContextResource for confirmation.

I haven't actually done it, but writing an object factory that uses does seem
possible from a quick look at o.a.naming.factory.ResourceFactory and
o.a.naming.ResourceRef
If you need help doing this, then please use the tomcat-user mailing list.

As to Tomcat behaviour, the spec states that <res-sharing-scope> indicates if
resources *can* be shared, not that they *must* be shared. Therefore the
factories supplied with Tomcat are spec compilant if they choose to ignore this
flag and always issue non-shared resources. Of course, doing the opposite and
always issuing shared resources would be a spec violation.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org