[
https://issues.apache.org/jira/browse/ARIES-1117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simon Gormley updated ARIES-1117:
---------------------------------
Attachment: Unaugmentation.diff
Suggested fix for the problem
> 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