https://issues.apache.org/bugzilla/show_bug.cgi?id=52044
Philippe Mouawad <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Depends on| |51997 --- Comment #4 from Philippe Mouawad <[email protected]> 2011-10-18 20:42:27 UTC --- >From this issue, the only one I reproduce is: stramge error for "JMS Subscriber - 001" - Response message: > javax.naming.NamingException: Something already bound at Elite_To_MorphoTrak; The other one is duplicate of bug 51997. The first one (Shutdown blocking is regular) and works when Stop is used. I investigated this issue "javax.naming.NamingException: Something already bound". I created a simple test case and tried not to cache Context and it works fine. and in fact it is due to the fact that we cache Context and use it by many threads. >From this: http://download.oracle.com/javase/jndi/tutorial/beyond/misc/sync.html I conclude we should not do caching as it is not mandatory that context is Thread Safe (and it's not the case for AMQ one). -- 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: [email protected] For additional commands, e-mail: [email protected]
