return new URL
("jndi", "", 0, getJNDIUri(hostName, fullPath),
new DirContextURLStreamHandler(resources));
- } catch (Exception e) {
+ } catch (NamingException e) {
// Ignore
+ } catch (Exception e) {
+ // Unexpected
+ log(sm.getString("applicationContext.lookup.error", path,
+ getContextPath()), e);
}
}
Object resource = resources.lookup(normalizedPath);
if (resource instanceof Resource)
return (((Resource) resource).streamContent());
- } catch (Exception e) {
+ } catch (NamingException e) {
// Ignore
+ } catch (Exception e) {
+ // Unexpected
+ log(sm.getString("applicationContext.lookup.error", path,
+ getContextPath()), e);
}
}
return (null);
applicationContext.setSessionTracking.ise=The session tracking modes for context {0} cannot be set whilst the context is running
applicationContext.setSessionTracking.iae.invalid=The session tracking mode {0} requested for context {1} is not supported by that context
applicationContext.setSessionTracking.iae.ssl=The session tracking modes requested for context {1} included SSL and at least one other mode. SSL may not be configured with other modes.
+applicationContext.lookup.error=Failed to locate resource [{0}] in context [{1}]
applicationDispatcher.allocateException=Allocate exception for servlet {0}
applicationDispatcher.deallocateException=Deallocate exception for servlet {0}
applicationDispatcher.forward.ise=Cannot forward after response has been committed