You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Michael Bauers <Mi...@jdsu.com> on 2014/07/15 23:21:53 UTC
Help with symbolic links
We had tomcat 7 installed and were using symbolic links. A developer had apparently allowed this via allowLinking set to true in a context.xml file
I am trying to migrate to tomcat 8.0.9 and this no longer works. In fact, I get warnings in the log.
15-Jul-2014 15:14:05.484 WARNING [localhost-startStop-1] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting property 'allowLinking' to 'true' did not find a matching property.
Are symbolic links no longer supported, or is there an alternate way to enable them? It's a big issue if they are not so all help is very much appreciated.
Re: Help with symbolic links
Posted by Peter Rifel <pr...@mixpo.com>.
Are the symbolic links pointing to somewhere outside the appBase? I ran
into the same problem and adding this to my context.xml fixed the issue:
<Resources className="org.apache.catalina.webresources.StandardRoot"
allowLinking="true"/>
See http://tomcat.apache.org/tomcat-8.0-doc/config/resources.html
-Peter
On 7/15/14, 2:21 PM, "Michael Bauers" <Mi...@jdsu.com> wrote:
>We had tomcat 7 installed and were using symbolic links. A developer had
>apparently allowed this via allowLinking set to true in a context.xml file
>
>I am trying to migrate to tomcat 8.0.9 and this no longer works. In
>fact, I get warnings in the log.
>
>15-Jul-2014 15:14:05.484 WARNING [localhost-startStop-1]
>org.apache.catalina.startup.SetContextPropertiesRule.begin
>[SetContextPropertiesRule]{Context} Setting property 'allowLinking' to
>'true' did not find a matching property.
>
>Are symbolic links no longer supported, or is there an alternate way to
>enable them? It's a big issue if they are not so all help is very much
>appreciated.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Help with symbolic links
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Michael Bauers [mailto:Michael.Bauers@jdsu.com]
> Subject: Help with symbolic links
> We had tomcat 7 installed and were using symbolic links. A developer had apparently
> allowed this via allowLinking set to true in a context.xml file
> I am trying to migrate to tomcat 8.0.9
Apparently without reading the migration guide...
http://tomcat.apache.org/migration-8.html
> and this no longer works.
See the link to resources in the above page.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org