You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Roland Glenn McIntosh <ro...@steeltorch.com> on 2002/09/18 20:00:11 UTC

Tomcat 4.1.10 doesn't follow symlinks?

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12784
I may have filed this bug too early, without checking here first.

I noticed that if any of my .jar files in my WEBINF/lib directory are symlinks, I can't start my webapp with this new version of tomcat.  Has anyone experienced similar problems?  Is there an equivalent for the Apache "follow symlinks" directive that I have not stumbled across yet?
Why did this work in 4.0.4?

-Roland Glenn McIntosh



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Sun 1.4.0_02/Linux and Tomcat/Linux startup parameters

Posted by Nome real <we...@cienciapura.com.br>.
Hi all,

I see in the documentation that we need to use the following parameters to start Tomcat 4.1.10, if you are using 
Linux 2.4.x

ulimit -s 2048
export LD_ASSUME_KERNEL=2.2.5
export J2SE_PREEMPTCLOSE=1

Well, I also start Tomcat with -Xmx850m, but I keep having errors like "unable to create new native thread" 
when, I know there is plenty of memory available. 

I just commented out the 3 lines above, and everything worked back again !! Can someone confirm that with 
Sun JDK 1.4 we don't need these 'workarounds' anymore or this is just a fatality ?

Thanks
Renato.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


FOUND - Re: Tomcat 4.1.10 doesn't follow symlinks?

Posted by Roland Glenn McIntosh <ro...@steeltorch.com>.
This issue is discussed in the following bugs:
  http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11501
  http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12076
  http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12784

It is apparently a "tightening" of security.  A fix is not available at the moment, as I understand it.  Eventually, the security check that enforces this particular issue will be optional, but no one has contributed code to this effect.

-rgm

At 12:06 PM 09.18.2002 -0600, you wrote:
>I have the same problem when I try to include following a symbolic
>link.  Worked in 4.0.4, not now.
>
>Man it is making me very upset.  If I find something I will let you
>know.
>
>-Erick




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Tomcat 4.1.10 doesn't follow symlinks?

Posted by Nathan Smith <na...@labpro2000.com>.
This is an excerpt from the Tomcat 4.1 Relese Notes that might help.

    --------------------------------------
    Symlinking static resources
    --------------------------------------
    Unix symlinks will not work when used in a web application to link
resources
    located outside the web application root directory.

    This behaviour will be made optional in an upcoming version of Tomcat
4.1, but
    will be the default one.

Hope this helps,

Nathan.


----- Original Message -----
From: "Erick Todd" <er...@coloradosprings.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Thursday, September 19, 2002 6:06 AM
Subject: Re: Tomcat 4.1.10 doesn't follow symlinks?


> I have the same problem when I try to include following a symbolic
> link.  Worked in 4.0.4, not now.
>
> Man it is making me very upset.  If I find something I will let you
> know.
>
> -Erick
>
> On Wed, 2002-09-18 at 12:00, Roland Glenn McIntosh wrote:
> > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12784
> > I may have filed this bug too early, without checking here first.
> >
> > I noticed that if any of my .jar files in my WEBINF/lib directory are
symlinks, I can't start my webapp with this new version of tomcat.  Has
anyone experienced similar problems?  Is there an equivalent for the Apache
"follow symlinks" directive that I have not stumbled across yet?
> > Why did this work in 4.0.4?
> >
> > -Roland Glenn McIntosh
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> > For additional commands, e-mail:
<ma...@jakarta.apache.org>
> >
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Tomcat 4.1.10 doesn't follow symlinks?

Posted by Erick Todd <er...@coloradosprings.com>.
I have the same problem when I try to include following a symbolic
link.  Worked in 4.0.4, not now.

Man it is making me very upset.  If I find something I will let you
know.

-Erick

On Wed, 2002-09-18 at 12:00, Roland Glenn McIntosh wrote:
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12784
> I may have filed this bug too early, without checking here first.
> 
> I noticed that if any of my .jar files in my WEBINF/lib directory are symlinks, I can't start my webapp with this new version of tomcat.  Has anyone experienced similar problems?  Is there an equivalent for the Apache "follow symlinks" directive that I have not stumbled across yet?
> Why did this work in 4.0.4?
> 
> -Roland Glenn McIntosh
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>