Avoid doing anything if the endpoint is not running (avoids possible NPE with the caches (?) ) and create caches first in start (just in case).
Note: I still don't see much real benefit in these caches, and their configuration is even more questionable (but it is there and documented).

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1608737 13f79535-47bb-0310-9956-ffa450edef68