You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Colin <co...@ntlworld.com> on 2006/03/09 18:14:18 UTC

Symbolic Link Contents not Updating

I have a web site which has been running a while and which uses a custom tag 
to display the contents of a set of folders. If I add a new directory or file 
the tag correctly displays the new content the next time the browser is 
refreshed.

What I would like to do is move the folder contents from the webapps directory 
onto a different partition (due to space problems). So I created a symbolic 
link to the new location and modified server.xml to allow linking. This works 
fine and my web application continues to work, except for a small problem: 
The contents of the directory (now accessed through the symbolic link) never 
gets updated by the custom tag when new data is added. In fact the only way I 
can get the tag to show new contents is by removing the link and recreating 
it.

How could this happen? Surely accessing the directory through a symbolic link 
or directly should always give the same results?

Thanks for any help.

Tomcat 5.5.15 with JDK 1.5.0_06 on Mandriva Linux.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org