You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Simon Gormley (JIRA)" <ji...@apache.org> on 2013/09/17 15:59:51 UTC

[jira] [Created] (ARIES-1117) JNDI Environment Augmentation can cause problems with JNDI providers

Simon Gormley created ARIES-1117:
------------------------------------

             Summary: JNDI Environment Augmentation can cause problems with JNDI providers
                 Key: ARIES-1117
                 URL: https://issues.apache.org/jira/browse/ARIES-1117
             Project: Aries
          Issue Type: Bug
          Components: JNDI
            Reporter: Simon Gormley
         Attachments: Unaugmentation.diff

The JNDI Environment augmentation may be used to add the BundleContext to the Map used by JNDI to store the provider url etc. If the BundleContext is left in the Map, it can cause problems with the JNDI provider if, for example, the Map is serialized and deserialized elsewhere, as BundleContext may not exist. 

A suggestion is to add an unaugmentation ability so that after Aries is done with the BundleContext, it can be removed from the Map, allowing providers to operate as though Aries wasn't involved.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira