Symlinks

 
 
By default, tomcat will not follow symlinks. You can set this parameter for individual applications by editing the server xml config. Rather than edit conf/server.xml (which requires a restart) edit the piece for the indivial app in the conf/Catalina folder. It's usally under localhost/appname.xml. This will change the behavior of an app on the fly without needing a restart of tomcat (of you've got auto deploy I think it is turned on)

A sample is:

<?xml version='1.0' encoding='utf-8'?> <Context displayName="xntp info" docBase="xntp" path="/xntp" allowLinking="true" >

</Context>

Comments