Bug 52366 - Problem with the Loader Component documentation
Problem with the Loader Component documentation
Product: Tomcat 7
Classification: Unclassified
Component: Documentation
All All
: P2 normal (vote)
: ---
Assigned To: Tomcat Developers Mailing List
Depends on:
  Show dependency tree
Reported: 2011-12-19 16:27 UTC by StasG
Modified: 2011-12-20 00:24 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description StasG 2011-12-19 16:27:26 UTC
The documentation on VirtualWebappLoader provides the following example:
virtualClasspath="${catalina_base}/myapp_config" which doesn't work and should be:
virtualClasspath="${catalina.base}/myapp_config" - mind the dot (and not underscore).
This is annoying because one can spend 2 hours not having a clue that the path is wrong because there is not validation that the path exists at class load.
It would be nice if the class verified the existence of the path at start-up and printed a warning in case it doesn't exist...
Comment 1 Rainer Jung 2011-12-20 00:24:47 UTC
Thanks for spotting that!

Fixed in r1221038 (trunk) resp. r1221043 (7.0.x).
Will be part of 7.0.24.