You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by John Noble <jn...@somalogic.com> on 2003/12/17 18:54:52 UTC

Tomcat 5 DefaultContext allowLinking and context restarts

Howdy,
I'm playing a bit with tomcat 5 and have questions about how the
allowLinking attribute for the DefautlContext is supposed to work in regards
to context restarts / stops/starts.

Under several of my contexts, I have a symbolic link to a directory outside
of the context.
in server.xml I setup the DefaultContext like this:
<DefaultContext allowLinking="true"/>
This is great because it now allows the symbolic links in all my contexts to
work without having to turn on allowLinking for each context explicitly.

The problem I have is if I use the tomcat manager app to stop and then start
a context, my symbolic links no longer work. (tomcat won't follow the
symbolic link when access from a URL)

So is this behavior by design?  Maybe I need to do some additional config in
my contexts?
any ideas?
Thanks!
-John

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