public void start() { ClassLoader old = getTccl(); try { setTccl(servletContext.getClassLoader()); try { final Map<String, SessionPersistenceManager.PersistentSession> sessionData = sessionPersistenceManager.loadSessionAttributes( deploymentName, servletContext.getClassLoader()); if (sessionData != null) { this.data.putAll(sessionData); } } catch (Exception e) { UndertowServletLogger.ROOT_LOGGER.failedtoLoadPersistentSessions(e); } this.started = true; } finally { setTccl(old); } }