Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Tomcat 5 DefaultContext allowLinking and context restarts

John Noble

2003-12-17


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@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.