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 2010/10/26 22:58:09 UTC
DO NOT REPLY [Bug 50159] JNDI context returns new datasource
instance each request
https://issues.apache.org/bugzilla/show_bug.cgi?id=50159
Mark Watson <ma...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #1 from Mark Watson <ma...@gmail.com> 2010-10-26 16:58:05 EDT ---
I just came across the issue (49978) where this was explicitly made to behave
this way. I personally require the previous behavior. I believe this is also
how Tomcat 6 behaved, so I imagine this could cause some headaches for people
upgrading. I will need to find a way to get around this (which may mean I end
up maintaining my own copy of org.apache.naming.NamingContext).
Are there backwards compatibility concerns here? I understand I can cache the
DataSource instance returned to me, however I also use 3rd party libraries that
request the DataSource (Hibernate, BIRT, etc).
--
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