Bug 52366

Summary: Problem with the Loader Component documentation
Product: Tomcat 7 Reporter: StasG <M8R-iplj311>
Component: DocumentationAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   

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.

Regards,

Rainer