-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Daniel,

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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkq493sACgkQ9CaO5/Lv0PDU1wCfekyojARcc9heHdMT7FxgY6YP
JPYAmwZdA+vKWHKyGjLZNQyzqLe9/mgc
=SHyK
-----END PGP SIGNATURE-----

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

Reply via email to