DO NOT REPLY [Bug 49994] NamingContext Possible Bug

2010-11-04 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49994 --- Comment #3 from Mark Thomas 2010-11-04 14:03:17 EDT --- Note this behaviour will be configurable from 7.0.5 onwards and will default to the previous behaviour of returning the same object for each lookup. -- Configure bugmail: https:/

DO NOT REPLY [Bug 49994] NamingContext Possible Bug

2010-10-08 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49994 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

DO NOT REPLY [Bug 49994] NamingContext Possible Bug

2010-09-24 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49994 --- Comment #1 from Gurkan Erdogdu 2010-09-24 08:00:08 EDT --- Comments from David Jencks: For reference, the EE 6 platform spec explains that usually a new instance should be returned on each lookup in section 5.2.4 page 67 "Sharing of E

DO NOT REPLY [Bug 49994] New: NamingContext Possible Bug

2010-09-24 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49994 Summary: NamingContext Possible Bug Product: Tomcat 7 Version: trunk Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2

Re: NamingContext Possible Bug

2010-09-24 Thread Gurkan Erdogdu
(removing caching statements) this does not break anything. I will open an issue. Regards; --Gurkan - Original Message From: Konstantin Kolinko To: Tomcat Developers List Sent: Fri, September 24, 2010 2:36:46 AM Subject: Re: NamingContext Possible Bug 2010/9/21 Gurkan Erdogdu

Re: NamingContext Possible Bug

2010-09-23 Thread Konstantin Kolinko
2010/9/21 Gurkan Erdogdu : > Hello folks, > > In NamingContext implementation, if "lookup()" is a Reference, current > implementation caches the result of the NamingManager # getObjectInstance via > following statements and changes the type of the entry. In the following > lookups, same object is r

Re: NamingContext Possible Bug

2010-09-23 Thread Mark Thomas
On 22/09/2010 23:48, David Jencks wrote: > For reference, the EE 6 platform spec explains that usually a new instance > should be returned on each lookup in section 5.2.4 page 67 "Sharing of > Environment Entries". The servlet 3.0 spec section 15.2.2 page 174 indicates > that this applies to se

Re: NamingContext Possible Bug

2010-09-22 Thread David Jencks
ce/ResourceRef" binding. Therefore each lookup > to > "MyResource" must return a "ResourceRef". Becuase it is a reference, context > must call NamingManager.getObjectInstance again to create a new instance. > > If this is a bug, I will open an issue. >

Re: NamingContext Possible Bug

2010-09-22 Thread Gurkan Erdogdu
;ResourceRef". Becuase it is a reference, context must call NamingManager.getObjectInstance again to create a new instance. If this is a bug, I will open an issue. Thanks; --Gurkan - Original Message From: Gurkan Erdogdu To: dev@tomcat.apache.org Sent: Tue, September 21, 2010

Re: NamingContext Possible Bug

2010-09-21 Thread Gurkan Erdogdu
Sorry but skip the question! Thanks; --Gurkan - Original Message From: Gurkan Erdogdu To: dev@tomcat.apache.org Sent: Tue, September 21, 2010 6:30:43 PM Subject: NamingContext Possible Bug Hello folks, In NamingContext implementation, if "lookup()" is a Referenc

NamingContext Possible Bug

2010-09-21 Thread Gurkan Erdogdu
Hello folks, In NamingContext implementation, if "lookup()" is a Reference, current implementation caches the result of the NamingManager # getObjectInstance via following statements and changes the type of the entry. In the following lookups, same object is returned. I would like to write Obje