Try loading the resource from the loader class as follows:
ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); if (classLoader == null) { classLoader = getClass().getClassLoader(); } InputStream stream = classLoader.getResourceAsStream(name);
Your approach assumes an absolute path, and this may not be true when the server is deployed. The bank can be in another JAR (WAR) or a temporary directory.
Zz coder
source share