-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 f
> 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
Web
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 onl
-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 shou
"Christopher Schultz" 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 theme -- symlinks
> 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
> symb
-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 t
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 Inpu
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 h
> 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
--
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 =
th
11 matches
Mail list logo