Fix NPE if something tries to access resources accessed during a stop.
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 17 Aug 2009 21:40:41 +0000 (21:40 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 17 Aug 2009 21:40:41 +0000 (21:40 +0000)
commiteae45a42e62da72ec94e40c2409597ada24e8721
treeada3bf6a8d81a62072b147db27ac43507f50c0c8
parent21dc53169a29e607c4388e30625d7a7620906fc4
Fix NPE if something tries to access resources accessed during a stop.
This was seen when unpackWARs="false" and the JDBC clean up code tried to load the leak prevention class during a context stop.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@805153 13f79535-47bb-0310-9956-ffa450edef68
java/org/apache/naming/resources/WARDirContext.java