[ 
https://issues.apache.org/jira/browse/DIRSHARED-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13031233#comment-13031233
 ] 

Emmanuel Lecharny commented on DIRSHARED-125:
---------------------------------------------

At the moment, I have exposed the LdapConnection.shutdown() methods that stop 
the internal OSGi container.

This is ore or less a hack. We have to find a better solution.

Doing something like :
  public static void main(String[] args) throws Exception
  {
    LdapNetworkConnection lc = new LdapNetworkConnection();

    lc.shutdown();
  }

will properly shutdown Felix

> 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

Reply via email to