DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12784>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12784 Tomcat 4.1.10 does not follow symlinks in a webapp Summary: Tomcat 4.1.10 does not follow symlinks in a webapp Product: Tomcat 4 Version: 4.1.10 Platform: PC OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: Unknown AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Whereas 4.0.4 did. To test: 1. shutdown Tomcat if running. 2. move $CATALINA_HOME/webapps/ROOT/index.jsp to ~/index.jsp. 3. ln -s ~/index.jsp $CATALINA_HOME/webapps/ROOT/index.jsp 4. start up Tomcat and navitage to http://localhost:8080 (or whatever) I am experiencing difficulty loading jar files from my WEBINF/lib directory which are symlinks. Here is what my logfile says: 2002-09-18 13:37:56 ContextConfig[/steeltorch] Exception processing JAR at resource path /WEB-INF/lib/jaxen-full.jar javax.servlet.ServletException: Exception processing JAR at resource path /WEB-INF/lib/jaxen-full.jar at org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:930) at org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868) at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243) *snip* ----- Root Cause ----- java.lang.IllegalArgumentException: Invalid TLD resource path /WEB-INF/lib/jaxen-full.jar at org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:898) at org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868) at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243) ----------------- This works fine if the file is *NOT* a symlink. I could not find anything that describes a "follow symlinks" directive for Tomcat, such as there is for Apache. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>