log.error("Unable to find name " + location + " in initial context", e);
throw e;
    private Object lookup(String location) {        try {            InitialContext context = new InitialContext();            try {                return context.lookup(location);            } catch (NamingException e) {                //ok, couldn't find it, look in env                return context.lookup("java:comp/env/" + location);            }        } catch (NamingException e) {            log.error("Unable to find name " + location + " in initial context", e);        }        return null;    }