You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2007/06/12 10:12:25 UTC

[jira] Closed: (GERONIMO-3175) jndi lookup of connection factories and urls is supposed to return a new instance each time

     [ https://issues.apache.org/jira/browse/GERONIMO-3175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jencks closed GERONIMO-3175.
----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.0-M6)
                   2.0-M7

Cleanup unused code in rev 546411.  Right now there is no proxying of connection factoryies, and no way to avoid getting a new one on each lookup, but we do check that the connection factory implements all the interfaces specified -- the specified interface and additional interfaces.

> jndi lookup of connection factories and urls is supposed to return a new instance each time
> -------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-3175
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3175
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: connector
>    Affects Versions: 2.0-M6
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: 2.0-M7
>
>
> We should think about whether we want a flag to turn off this "feature" and enable caching.
> Things that are needed to implement this:
> - ManagedConnectionFactoryWrapper.$getResource needs to return a new connection factory each time.
> - jndi tree needs to stop caching the first lookup (I'm not certain if it is actually doing this now)
> - we need a URL reference that when looked up returns a new URL.  ResourceRefBuilder needs to install these in the jndi tree instead of the URL itself.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.