In your Context tag.
Erik Weibust wrote:
Dwayne,
Where do I set the allowLinking attribute?
Erik
--- Dwayne Ghant <[EMAIL PROTECTED]> wrote:
Hope this helps.
----------------------------------
Server Configuration Reference
The Context Container
--allowLinking--
If the value of this flag is true, symlinks will be allowed inside
the
web application,
pointing to resources outside the web application base path. If not
specified,
the default value of the flag is false.
Erik Weibust wrote:
I'm having a problem getting a webapp running in my instance of
tomcat.
I have attached all the relevant info below.
What I'm trying to do is use a sym link in a dir that points to a
"generic" version of my app. That way I can have numerous versions
of
that app on my machine and instead of having to edit the server.xml
every time I want to switch from one version of the app to another I
can just change my sym link. When I do this I get a "Resources
start
failed" error in my log files.
Any ideas? Do I need to provide more info? Will Tomcat not allow a
sym link in the docBase of a Context element?
Thanks...
Erik
from catalina.out
StandardContext[/mondev_ng]: Resources start failed:
java.lang.IllegalArgumentException: Document base
C:\cygwin\home\efw\cvs\MonDev_NG does not exist or is not a readable
directory at
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:193)
from server.xml
<Context path="/mondev_ng" reloadable="true"
docBase="C:\cygwin\home\efw\cvs\MonDev_NG">
<Logger className="org.apache.catalina.logger.SystemOutLogger"/>
</Context>
[EMAIL PROTECTED] ~/cvs$ ls -l
total 1
lrwxrwxrwx 1 efw mkgroup-l-d 18 Jan 5 12:02 MonDev_NG ->
MonDev_NG_20050105/
drwxr-xr-x+ 14 efw mkgroup-l-d 0 Jan 5 11:57 MonDev_NG_20050103/
drwxr-xr-x+ 14 efw mkgroup-l-d 0 Jan 5 11:32 MonDev_NG_20050105/
=====
Erik Weibust
http://erik.weibust.net
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Dwayne A. Ghant
Application Developer
Temple University
215.204.5555
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
=====
Erik Weibust
http://erik.weibust.net
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Dwayne A. Ghant
Application Developer
Temple University
215.204.5555
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]