private void localLogout(Connection conn) { if (conn == null) return; try { if (s_logger.isTraceEnabled()) { s_logger.trace("Logging out of the session " + conn.getSessionReference()); } Session.localLogout(conn); } catch (Exception e) { s_logger.debug("localLogout has problem " + e.getMessage()); } finally { conn.dispose(); conn = null; } }