-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
On 7/14/2009 5:25 PM, Mark Thomas wrote:
Christopher Schultz wrote:
They are not implemented in StandardContext: they are implemented in
FileDirContext and therefore should only affect content being served by
the web server, not JAR files
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Konstantin,
On 7/13/2009 10:06 PM, Konstantin Kolinko wrote:
See how allowLinking and caseSensitive options are implemented in
StandardContext.
They are not implemented in StandardContext: they are implemented in
FileDirContext and therefore
Christopher Schultz wrote:
Konstantin,
On 7/13/2009 10:06 PM, Konstantin Kolinko wrote:
See how allowLinking and caseSensitive options are implemented in
StandardContext.
They are not implemented in StandardContext: they are implemented in
FileDirContext and therefore should only affect
Again, wrong. allowLinking applies to any web-app resources. Only internal
Tomcat file access (bin, lib, logs etc) goes directly to the file system.
And for what it's worth, allowLinking appears to have fixed it :)
It manifested itself really silently and I didn't see anything about it in
Tomcat 6.0.16
Linux 2.6.18
JDK 1.6.0_05
Imagine a webapp like this:
/index.jsp
/WEB-INF
-web.xml (of course)
-/classes
--ConfigFile.txt
-/lib
--MyConfigLoader.class
If I want to load ConfigFile.txt into an InputStream from inside my
webapp, all I have to do is this:
InputStream configStream =
Tomcat 6.0.16
Linux 2.6.18
JDK 1.6.0_05
Imagine a webapp like this:
/index.jsp
/WEB-INF
-web.xml (of course)
-/classes
--ConfigFile.txt
-/lib
--MyConfigLoader.class
... and imagine that .class file is inside a .jar file :) Sorry about that.
John
John Willemin wrote:
Tomcat 6.0.16
Linux 2.6.18
JDK 1.6.0_05
Imagine a webapp like this:
/index.jsp
/WEB-INF
-web.xml (of course)
-/classes
--ConfigFile.txt
-/lib
--MyConfigLoader.class
If I want to load ConfigFile.txt into an InputStream from inside my
webapp, all I have to do is
David Smith wrote:
John Willemin wrote:
Tomcat 6.0.16
Linux 2.6.18
JDK 1.6.0_05
Imagine a webapp like this:
/index.jsp
/WEB-INF
-web.xml (of course)
-/classes
--ConfigFile.txt
-/lib
--MyConfigLoader.class
If I want to load ConfigFile.txt into an InputStream from inside my
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
On 7/13/2009 8:50 PM, David Smith wrote:
If you look at all the third party repackages of tomcat that fail,
you'll see a theme -- symlinks cause problems in java. I would highly
recommend you find a way to maintain that config file via the
While I agree with your recommendation for using a more sophisticated
build/deployment process, I disagree with your reasoning. Java and/or
Tomcat should not have any problem reading files via symlinks. As far as
I know, Java's I/O API does not have the ability to distinguish between
symbolic
Christopher Schultz ch...@christopherschultz.net wrote in message
news:4a5be03c.7050...@christopherschultz.net...
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
On 7/13/2009 8:50 PM, David Smith wrote:
If you look at all the third party repackages of tomcat that fail,
you'll see a
11 matches
Mail list logo