tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: tomcat6 and allowLinking problems
Date Tue, 22 Sep 2009 16:12:43 GMT
Hash: SHA1


On 9/21/2009 8:23 PM, Daniel Blumenthal wrote:
> I'm trying to use symlinks during development, but for some reason the
> allowLinking attribute doesn't seem to be working for me.  I'm using Tomcat6
> on a Mac Mini.
> First, I added it to my application's META-INF/context.xml file:
> <Context allowLinking="true">

This is the proper way to do this, so focus on this solution.

Shut down Tomcat, and make sure there is no file in
conf/Catalina/[hostname]/yourapp.xml. If one exists, Tomcat will prefer
that one instead of the one packaged in your webapp's META-INF/context.xml.

> That didn't work, so I added it to $CATALINA_HOME/conf/context.xml.

Yeah, don't do that: it will enable linking in ALL your webapps (but
apparently doesn't work in your case for some reason). There's rarely a
reason to modify conf/context.xml.

> Finally, I made sure that $CATALINA_HOME/conf/Catalina/localhost/myapp.xml
> had it.

Hmm... you DID re-start, right?

> Still no luck.

What are you trying to do (obviously use symlinks, but please be
specific) and what does Tomcat do rather than what you expect?

- -chris
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla -


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message