Tomcat by default doesn't like symbolic links. Its a security vulnerablility. To use sym links - you must tell tomcat to use them.

http://marc.theaimsgroup.com/?l=tomcat-user&m=105159411609623&w=2

-Tim

Norris Shelton wrote:
We have some HTML files that are on another machine.  A link was
created (htmldoc).

I then modified the server.xml by adding the following to the
context definition:
<Resources
className="org.apache.naming.resources.FileDirContext"
caseSensitive="false" allowLinking="true"/>

The context will not load (no errors).  I even added an entry in
the catalina.policy:
// The permissions granted to the context WEB-INF/classes
directory
grant codeBase
"file:${catalina.home}/webapps/siteexplorer/htmldoc/-" {
};


If I remove the allowLinking resource, the app starts correctly.
Anyone have any ideas on what the problem is.


=====

Norris Shelton
Software Engineer
Sun Certified Java 1.1 Programmer
Appriss, Inc.
ICQ# 26487421
AIM NorrisEShelton
YIM norrisshelton


__________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to