} catch (NamingException e) {
logger.error(channelName+"|"+linkName+": "+e.getMessage()+"|");
} catch (JMSException e) {
logger.error(channelName+"|"+linkName+": "+e.getMessage()+"|");
} finally {
linkLocate.deregisterLinkChannel(channelName, this);
if (jndiContext != null) {
try {
jndiContext.close();
} catch (Exception e) {
logger.error(linkName+"|"+linkName+": "+e.getMessage()+"|");