[
https://issues.apache.org/jira/browse/DIRSHARED-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13031072#comment-13031072
]
Emmanuel Lecharny commented on DIRSHARED-125:
---------------------------------------------
As suggested by Dniel :
public class Test
{
public static void main(String[] args) throws Exception
{
LdapNetworkConnection lc = new LdapNetworkConnection();
// uncomment to fix
//StandaloneLdapCodecService cs =
// (StandaloneLdapCodecService) lc.getCodecService();
//cs.shutdown();
}
}
we have to provide some way to shut down Felix properly. It's not convenient to
have to explicitly get the StandaloneLdapCodecService instance to do that.
> Felix not properly shutdown
> ---------------------------
>
> Key: DIRSHARED-125
> URL: https://issues.apache.org/jira/browse/DIRSHARED-125
> Project: Directory Shared
> Issue Type: Bug
> Affects Versions: 1.0.0-M3
> Reporter: Daniel Fisher
> Fix For: 1.0.0-M4
>
>
> The LdapNetworkConnection initializes an instance of Felix but never shuts it
> down.
> See the thread at:
> http://mail-archives.apache.org/mod_mbox/directory-api/201105.mbox/thread
> You may also want to review the LdapCodecServiceFactory class for thread
> safety.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira