Wednesday December 04, 2002
Symlinking now works in Tomcat 4.1.16! The Tomcat developers turned off the ability to create symbolic links (symlinks) in 4.1.x. This really threw a wrench in my ability to upgrade as I use symlinks to point to resources outside my webapp all the time. I don't do it for jars, but for common image or documentation directories. In Tomcat 4.1.12 (the latest release), you were supposed to be able to turn symlinks back on by adding the following to your app's context:
<Resources className="org.apache.naming.resources.FileDirContext" allowLinking="true" caseSensitive="false" />
The bad news? This didn't work! I'm happy to report that with the lastest 4.1.16 beta, this does work! So, for instance, if you want to turn on symlinks in the ROOT context, add the following to your server.xml:
<Context path="" docBase="ROOT" debug="0">
<Resources
className="org.apache.naming.resources.FileDirContext"
allowLinking="true" caseSensitive="false" />
</Context>
Posted in General
at Dec 04 2002, 09:10:54 AM MST
2 Comments
Search This Site
Recent Entries
- Wine Tasting in Napa Valley
- How to build a Shot-Ski
- Bus Project Update
- Farewell to the 2011-2012 Ski Season
- Cruising around the Western Caribbean
- Spring Break!
- A Spectacular Trip to Stockholm and Madrid
- Comparing Web Frameworks and HTML5 with Play Scala at Jfokus 2012
- Play Framework 2.0 with Peter Hilton at Jfokus
- Secure JSON Services with Play Scala and SecureSocial
Posted by Agnieszka on April 19, 2004 at 12:42 PM MDT #
Posted by Matt Raible on April 19, 2004 at 12:49 PM MDT #