private void init() {

		Context env = null;
		try {
			env = (Context) new InitialContext().lookup(JNDI_CONTEXT);
			pool = (DataSource) env.lookup(JNDI_DB_POOL);
			if(pool == null) {
                throw new ServletException(DB_CANNOT_CONNECT_MESSAGE);
            }			
		} catch (NamingException|ServletException e) {
			// TODO: add logger.error
			System.out.println(e);
		}
	}