access symbolic link

2005-08-18 Thread Sade
i am using apache tomcat 5.0.28.
how to access symbolic link using the apache tomcat 5.0.28 web server?
I have modified the context in server.xml as follow; still does not work

Context path=/edoc reloadable=true docBase=/edoc
workDir=/edoc/work 
Logger className=org.apache.catalina.logger.SystemOutLogger
verbosity=4 timestamp=true/
   Resources className=org.apache.naming.resources.FileDirContext
allowLinking=true/
/Context



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



access symbolic link

2005-08-18 Thread Sade
i am using apache tomcat 5.0.28.
how to access symbolic link using the apache tomcat 5.0.28 web server?
I have modified the context in server.xml as follow; still does not work

Context path=/edoc reloadable=true docBase=/edoc
workDir=/edoc/work 
Logger className=org.apache.catalina.logger.SystemOutLogger
verbosity=4 timestamp=true/
   Resources className=org.apache.naming.resources.FileDirContext
allowLinking=true/
/Context

TIA - sade



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: access symbolic link

2005-08-18 Thread Peter Miller
Hi Sade,

try
docBase=edoc

don't use the '/'  in the docBase param
Regards,
Peter


Sade schrieb:

i am using apache tomcat 5.0.28.
how to access symbolic link using the apache tomcat 5.0.28 web server?
I have modified the context in server.xml as follow; still does not work

Context path=/edoc reloadable=true docBase=/edoc
workDir=/edoc/work 
   Logger className=org.apache.catalina.logger.SystemOutLogger
verbosity=4 timestamp=true/
   Resources className=org.apache.naming.resources.FileDirContext
allowLinking=true/
/Context



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


  


-- 
Mit freundlichen Grüssen,

Peter Miller
Brockhaus/Commission - EDV
Kreidlerstrasse 9
70806 Kornwestheim
Tel.: 07154 / 1327-95
mobil: 0151 / 11 63 68 25
www.brocom.de


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: access symbolic link

2005-08-18 Thread Ben Ricker
So how do you point to content outside of a war? I have the same
problem with 5.0.28 pointing to static content outside of a war. Even
a symlink included in the war (and setting followsymlinks=true in
the context) does not work.

Ben Ricker

On 8/18/05, Peter Miller [EMAIL PROTECTED] wrote:
 Hi Sade,
 
 try
 docBase=edoc
 
 don't use the '/'  in the docBase param
 Regards,
 Peter
 
 
 Sade schrieb:
 
 i am using apache tomcat 5.0.28.
 how to access symbolic link using the apache tomcat 5.0.28 web server?
 I have modified the context in server.xml as follow; still does not work
 
 Context path=/edoc reloadable=true docBase=/edoc
 workDir=/edoc/work 
Logger className=org.apache.catalina.logger.SystemOutLogger
 verbosity=4 timestamp=true/
Resources className=org.apache.naming.resources.FileDirContext
 allowLinking=true/
 /Context
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 --
 Mit freundlichen Grüssen,
 
 Peter Miller
 Brockhaus/Commission - EDV
 Kreidlerstrasse 9
 70806 Kornwestheim
 Tel.: 07154 / 1327-95
 mobil: 0151 / 11 63 68 25
 www.brocom.de
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 
Ben Ricker
He's just this guy, you know?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: access symbolic link

2005-08-18 Thread Sade
Peter,

BUT, docbase indicates a directory, doesn't it?

rgds - sade

 So how do you point to content outside of a war? I have the same
 problem with 5.0.28 pointing to static content outside of a war. Even
 a symlink included in the war (and setting followsymlinks=true in
 the context) does not work.

 Ben Ricker

 On 8/18/05, Peter Miller [EMAIL PROTECTED] wrote:
 Hi Sade,

 try
 docBase=edoc

 don't use the '/'  in the docBase param
 Regards,
 Peter


 Sade schrieb:

 i am using apache tomcat 5.0.28.
 how to access symbolic link using the apache tomcat 5.0.28 web server?
 I have modified the context in server.xml as follow; still does not
 work
 
 Context path=/edoc reloadable=true docBase=/edoc
 workDir=/edoc/work 
Logger className=org.apache.catalina.logger.SystemOutLogger
 verbosity=4 timestamp=true/
Resources
 className=org.apache.naming.resources.FileDirContext
 allowLinking=true/
 /Context
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 

 --
 Mit freundlichen Grüssen,

 Peter Miller
 Brockhaus/Commission - EDV
 Kreidlerstrasse 9
 70806 Kornwestheim
 Tel.: 07154 / 1327-95
 mobil: 0151 / 11 63 68 25
 www.brocom.de


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




 --
 Ben Ricker
 He's just this guy, you know?

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Symbolic link

2004-08-28 Thread Jitendra Agrawal
Hi,

How can I allow symbolic links in tomcat.

I have a directory /home/jiten/images/.

There are several programs updating this images folder and accessing
it. If I move it or make it symbolic link, they will break.

I am supposed to show the images in this directory from tomcat. What
is the best way? I tried making symbolic link in webapps directory as
well as in my jsp application directory. I get a 404 error in both
cases. I guess symbolic links are not allowed by default.

Thanks in advance,
Jitendra Agrawal

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Symbolic link

2004-08-28 Thread Big Chiz
can be permission problem? allow the user running tomcat to have
access to that folder

On Sat, 28 Aug 2004 13:54:57 +0530, Jitendra Agrawal [EMAIL PROTECTED] wrote:
 Hi,
 
 How can I allow symbolic links in tomcat.
 
 I have a directory /home/jiten/images/.
 
 There are several programs updating this images folder and accessing
 it. If I move it or make it symbolic link, they will break.
 
 I am supposed to show the images in this directory from tomcat. What
 is the best way? I tried making symbolic link in webapps directory as
 well as in my jsp application directory. I get a 404 error in both
 cases. I guess symbolic links are not allowed by default.
 
 Thanks in advance,
 Jitendra Agrawal
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Symbolic link

2004-08-28 Thread QM
On Sat, Aug 28, 2004 at 01:54:57PM +0530, Jitendra Agrawal wrote:
: I have a directory /home/jiten/images/.
: There are several programs updating this images folder and accessing
: it. If I move it or make it symbolic link, they will break.

Specifically, what are you trying to do?  Are you trying to serve those
images via Tomcat, i.e. through IMG tags in HTML?

This question came up recently.  To recap:

Java webapps they are meant to be self-contained applications.  Serving
files outside of the context area will take more than a symlink. =)
Specifically, the servlet spec doesn't deal with symlinks because
they're OS-specific and there's no way to follow them from inside a WAR
file.

If the images are static and you're in a development cycle, just get
used to all apps having copies of the images.  You'll spare yourself the
headache of trying to get around this limitation of the spec.

Addendum:

If the images are being dynamically updated, say, by an external
program: you could a servlet that loads the images from outside the
context area.  That would involve:

1/ having all relevant IMG tags refer to this servlet

2/ setting up the servlet to know where the images are on-disk

3/ having the servlet set the content-type and other related headers,
then open the file and stream it out to the client.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



symbolic link with a jar file

2004-03-31 Thread Christophe LECONTE
I want to authorize Tomcat to use symbolic link with a jar file.
I'm trying to use this following instruction in the server.xml file :

Context path=/voicexmlpageserver docBase=voicexmlpageserver debug=0
  Resources className=org.apache.naming.resources.FileDirContext
allowLinking=true caseSensitive=true /
/Context


But in fact it doesn't work. When I look the log files I don't see any error
but.
I use Tomcat4.1.30, JSDK1.4.2 and Solaris
Have you already used this instruction ? Can you help me or give some
informations.

Thanks.

Christophe.





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



problem : symbolic link with a jar file

2004-03-25 Thread Christophe LECONTE
Hi,

I want to do a symbolic link with my file.jar, but I don't understand why I
fail. I followed this instruction
:http://jakarta.apache.org/tomcat/faq/misc.html#symlink , but I have this
error :


2004-03-24 18:27:26 ContextConfig[/voicexmlpageserver] Exception processing
JAR at resource path /WEB-INF/lib/toto.jar
javax.servlet.ServletException: Exception processing JAR at resource path
/WEB-INF/lib/toto.jar
at
org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:930)
at
org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868
.
- Root Cause -
java.lang.IllegalArgumentException: Invalid TLD resource path
/WEB-INF/lib/toto.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)

1)toto.jar is the symbolic link on my file.jar. file.jar and toto.jar are
located in the same directory : /WEB-INF/lib/.
2) I wrote this instruction in the server.xml file :
  Context path=/voicexmlpageserver docBase=voicexmlpageserver
debug=0
Ressources classNamme=org.apache.naming.resources.FileDirContext
allowLinking=true/
  /Context

I think that I forgot something. But what ? Can you help me.

Thanks.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Directory Symbolic link between 2 webapps ??

2003-11-06 Thread GL
Hi,

i have 2 webapps, webapp1  webapp2.

In webapp1, i have a directory img/.

I want the same directory in webapp2 , so i made a symbolic link like this :
ln -s /home/server/webapp1/img  img

When i try to acess http://webapp2/img , i have a 404 error.

Why ? Is it a security problem ? How can i do this ?

Thanx


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Pb with symbolic link

2003-09-10 Thread Samuel Le Berrigaud
Hi everyone,

I have a problem upgrading my Tomcat from 4.0.6 to 4.1.27.  I had a 
symbolic link in a webapp context referencing some place outside this 
context, and had no probleme with tomcat 4.0 to access the files under 
the referenced folder. I upgraded my tomcat, every thing works fine 
except I can no longer access the files of the referenced directory ! 
Has anyone encontered the same problem ? Is there any solution to access 
those files ?

Thanks,

SaM

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Pb with symbolic link

2003-09-10 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/misc.html#symlink ??

-Tim

Samuel Le Berrigaud wrote:

Hi everyone,

I have a problem upgrading my Tomcat from 4.0.6 to 4.1.27.  I had a 
symbolic link in a webapp context referencing some place outside this 
context, and had no probleme with tomcat 4.0 to access the files under 
the referenced folder. I upgraded my tomcat, every thing works fine 
except I can no longer access the files of the referenced directory ! 
Has anyone encontered the same problem ? Is there any solution to access 
those files ?

Thanks,

SaM
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Pb with symbolic link

2003-09-10 Thread Brandon M. Blank
In your context definition, add the following:

Resources allowLinking=true/

Good Luck!

-Original Message-
From: Samuel Le Berrigaud [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 10, 2003 8:30 AM
To: Tomcat Users List
Subject: Pb with symbolic link

Hi everyone,

I have a problem upgrading my Tomcat from 4.0.6 to 4.1.27.  I had a 
symbolic link in a webapp context referencing some place outside this 
context, and had no probleme with tomcat 4.0 to access the files under 
the referenced folder. I upgraded my tomcat, every thing works fine 
except I can no longer access the files of the referenced directory ! 
Has anyone encontered the same problem ? Is there any solution to access

those files ?

Thanks,

SaM


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Pb with symbolic link

2003-09-10 Thread Brandon M. Blank
Sure, 

In your server.xml configuration, your context is defined by default as
follows:

Context path= docBase=ROOT debug=0/ 

To allow the use of symlinks, use this:

Context path= docBase=ROOT debug=0
Resources allowLinking=true
/Context

Obviously change parameters as necessary for your deployment.

BB


-Original Message-
From: Thomas Hehl [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 10, 2003 9:42 AM
To: Tomcat Users List
Subject: RE: Pb with symbolic link

Could you put your context remark in context (:) for us newbies? Will
this go in the web.xml file? Under which tags?

Please forgive my ignorance;)

--- Brandon M. Blank [EMAIL PROTECTED] wrote:
In your context definition, add the following:

Resources allowLinking=true/

Good Luck!

-Original Message-
From: Samuel Le Berrigaud [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 10, 2003 8:30 AM
To: Tomcat Users List
Subject: Pb with symbolic link

Hi everyone,

I have a problem upgrading my Tomcat from 4.0.6 to 4.1.27.  I had a 
symbolic link in a webapp context referencing some place outside this 
context, and had no probleme with tomcat 4.0 to access the files under 
the referenced folder. I upgraded my tomcat, every thing works fine 
except I can no longer access the files of the referenced directory ! 
Has anyone encontered the same problem ? Is there any solution to
access

those files ?

Thanks,

SaM


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Pb with symbolic link

2003-09-10 Thread Brandon M. Blank
Oops.. small typo in my last post:

Don't forget to add the closing / in the Resources directive.

Eg:

Resources allowLinking=true

should be

Resources allowLinking=true/

-Original Message-
From: Brandon M. Blank [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 10, 2003 9:48 AM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Pb with symbolic link

Sure, 

In your server.xml configuration, your context is defined by default as
follows:

Context path= docBase=ROOT debug=0/ 

To allow the use of symlinks, use this:

Context path= docBase=ROOT debug=0
Resources allowLinking=true
/Context

Obviously change parameters as necessary for your deployment.

BB


-Original Message-
From: Thomas Hehl [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 10, 2003 9:42 AM
To: Tomcat Users List
Subject: RE: Pb with symbolic link

Could you put your context remark in context (:) for us newbies? Will
this go in the web.xml file? Under which tags?

Please forgive my ignorance;)

--- Brandon M. Blank [EMAIL PROTECTED] wrote:
In your context definition, add the following:

Resources allowLinking=true/

Good Luck!

-Original Message-
From: Samuel Le Berrigaud [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 10, 2003 8:30 AM
To: Tomcat Users List
Subject: Pb with symbolic link

Hi everyone,

I have a problem upgrading my Tomcat from 4.0.6 to 4.1.27.  I had a 
symbolic link in a webapp context referencing some place outside this 
context, and had no probleme with tomcat 4.0 to access the files under 
the referenced folder. I upgraded my tomcat, every thing works fine 
except I can no longer access the files of the referenced directory ! 
Has anyone encontered the same problem ? Is there any solution to
access

those files ?

Thanks,

SaM


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Pb with symbolic link

2003-09-10 Thread Samuel Le Berrigaud
Hi,

this doesn't work . My webapp is , for example, called foo.war and 
deployed in $CATALINA_BASE/webapps and I would like 
$CATALINA_BASE/webapps/foo/bar to be a sym link to /home/foo/bar.

What then exactly should be in server.xml ?

Thanks in advance,

SaM

Brandon M. Blank wrote:

Oops.. small typo in my last post:

Don't forget to add the closing / in the Resources directive.

Eg:

Resources allowLinking=true

should be

Resources allowLinking=true/

-Original Message-
From: Brandon M. Blank [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 10, 2003 9:48 AM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Pb with symbolic link

Sure, 

In your server.xml configuration, your context is defined by default as
follows:
Context path= docBase=ROOT debug=0/ 

To allow the use of symlinks, use this:

Context path= docBase=ROOT debug=0
Resources allowLinking=true
/Context
Obviously change parameters as necessary for your deployment.

BB

-Original Message-
From: Thomas Hehl [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 10, 2003 9:42 AM
To: Tomcat Users List
Subject: RE: Pb with symbolic link

Could you put your context remark in context (:) for us newbies? Will
this go in the web.xml file? Under which tags?
Please forgive my ignorance;)

--- Brandon M. Blank [EMAIL PROTECTED] wrote:
 

In your context definition, add the following:

Resources allowLinking=true/

Good Luck!

-Original Message-
From: Samuel Le Berrigaud [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 10, 2003 8:30 AM
To: Tomcat Users List
Subject: Pb with symbolic link

Hi everyone,

I have a problem upgrading my Tomcat from 4.0.6 to 4.1.27.  I had a 
symbolic link in a webapp context referencing some place outside this 
context, and had no probleme with tomcat 4.0 to access the files under 
the referenced folder. I upgraded my tomcat, every thing works fine 
except I can no longer access the files of the referenced directory ! 
Has anyone encontered the same problem ? Is there any solution to
   

access
 

those files ?

Thanks,

SaM

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Pls Help~ apache tomcat symbolic link

2003-07-21 Thread wing
Hi all,

I'm using apache tomcat4.1, in webapps i made a symbolic link for my directory 
content, and I've modified the context configuration with below:

Resources className=org.apache.naming.resources.FileDirContext allowLinking=true 
/

files inside the content can be accessed if i use port 8080, but if i use apache 
(port 80) to access, tomcat always return a HTTP Status 404 error. 

http://localhost/course/content/upload/Notes/Part-1-2003.pdf (not work!)

http://localhost:8080/course/content/upload/Notes/Part-1-2003.pdf (work)

Any suggestion is welcome, thanks!


Symbolic link with tomcat

2003-06-25 Thread Yannick Monclin
hi,

i use a tomcat 4.1.18 on a linux redhat 7.3, in a webapp directory i 
want ton make a symbolic link (ln -s) for my directory images, but 
when i create my link tomcat doesn't find my images

is it normal that tomcat can't use symbolic links, what is the solution ?

thanks for your help
Yannick


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Symbolic link with tomcat

2003-06-25 Thread Jason Bainbridge
On Wed, 25 Jun 2003 22:04, Yannick Monclin wrote:
 hi,

 i use a tomcat 4.1.18 on a linux redhat 7.3, in a webapp directory i
 want ton make a symbolic link (ln -s) for my directory images, but
 when i create my link tomcat doesn't find my images

http://jakarta.apache.org/tomcat/faq/misc.html#symlink

Regards,
-- 
Jason Bainbridge
http://jblinux.org

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 4.1.24- do not follow symbolic link- works finein4.0 .6

2003-03-31 Thread Raible, Matt
You must do it for your test context - not the example context.

Please post these messages to the list rather than to me directly - you'll
get better support from the list.

Matt

 -Original Message-
 From: Ajay Agrawal [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 31, 2003 11:04 AM
 To: Raible, Matt
 Subject: RE: Tomcat 4.1.24- do not follow symbolic link- works fine
 in4.0 .6
 
 
 Hi Matt,
 
 I tried your suggestion as follows but still symbolic link is 
 not working. 
 
 
   !-- Tomcat Examples Context --
 Context path=/examples docBase=examples debug=0
  reloadable=true crossContext=true
   Logger className=org.apache.catalina.logger.FileLogger
  prefix=localhost_examples_log. suffix=.txt
   timestamp=true/
Resources 
 className=org.apache.naming.resources.FileDirContext
 allowLinking=true caseSensitive=true/
   Ejb   name=ejb/EmplRecord type=Entity
  home=com.wombat.empl.EmployeeRecordHome
remote=com.wombat.empl.EmployeeRecord/
 
 
 Also tried
 
 !-- Tomcat Examples Context --
 Context path=/examples docBase=examples debug=0
  reloadable=true crossContext=true
   Logger className=org.apache.catalina.logger.FileLogger
  prefix=localhost_examples_log. suffix=.txt
   timestamp=true/
Resources 
 className=org.apache.naming.resources.FileDirContext
 allowLinking=true docBase=/
   Ejb   name=ejb/EmplRecord type=Entity
  home=com.wombat.empl.EmployeeRecordHome
remote=com.wombat.empl.EmployeeRecord/
 
 
 Please let me know if you see any problem with my defnition.
 
 Thanks in advance for any input,
 Ajay
 
 
 -Original Message-
 From: Raible, Matt [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 28, 2003 1:53 PM
 To: 'Tomcat Users List'
 Subject: RE: Tomcat 4.1.24- do not follow symbolic link- works fine
 in4.0 .6
 
 
 Context path= docBase=ROOT debug=0
 Resources
 className=org.apache.naming.resources.FileDirContext
 allowLinking=true caseSensitive=true /
 ...
 
  -Original Message-
  From: Ajay Agrawal [mailto:[EMAIL PROTECTED]
  Sent: Friday, March 28, 2003 2:38 PM
  To: Tomcat Users List
  Subject: Tomcat 4.1.24- do not follow symbolic link- works 
  fine in 4.0.6
  
  
  Hi,
  
  I have installed Tomcat 4.1.24 and having problem with 
  symbolic link. It 
  does not recognise symbolic link directory.
  
  Lets say I have created a symbolic link directory test in 
  webapps/ROOT =
  and trying to access page by
  
  http://server:8080/test give me error 
  
  desciption  The requested =resource (/test/) is not available
  But same works fine tomcat 4.0.4.
  
  
  Please Advice? Any input would be highly appreciated.
  
  Thanks in Advance,
  Ajay
  
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat 4.1.24- do not follow symbolic link- works fine in 4.0.6

2003-03-28 Thread Ajay Agrawal
Hi,

I have installed Tomcat 4.1.24 and having problem with symbolic link. It 
does not recognise symbolic link directory.

Lets say I have created a symbolic link directory test in webapps/ROOT =
and trying to access page by

http://server:8080/test give me error 

desciption  The requested =resource (/test/) is not available
But same works fine tomcat 4.0.4.


Please Advice? Any input would be highly appreciated.

Thanks in Advance,
Ajay

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 4.1.24- do not follow symbolic link- works fine in4.0 .6

2003-03-28 Thread Raible, Matt
Context path= docBase=ROOT debug=0
Resources
className=org.apache.naming.resources.FileDirContext
allowLinking=true caseSensitive=true /
...

 -Original Message-
 From: Ajay Agrawal [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 28, 2003 2:38 PM
 To: Tomcat Users List
 Subject: Tomcat 4.1.24- do not follow symbolic link- works 
 fine in 4.0.6
 
 
 Hi,
 
 I have installed Tomcat 4.1.24 and having problem with 
 symbolic link. It 
 does not recognise symbolic link directory.
 
 Lets say I have created a symbolic link directory test in 
 webapps/ROOT =
 and trying to access page by
 
 http://server:8080/test give me error 
 
 desciption  The requested =resource (/test/) is not available
 But same works fine tomcat 4.0.4.
 
 
 Please Advice? Any input would be highly appreciated.
 
 Thanks in Advance,
 Ajay
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 4.1.24- do not follow symbolic link- works finein4.0 .6

2003-03-28 Thread Raible, Matt
In server.xml - where you define the context for your application or at the
global level next to similar Resources entries.

HTH,

Matt

 -Original Message-
 From: Ajay Agrawal [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 28, 2003 3:16 PM
 To: Raible, Matt
 Subject: RE: Tomcat 4.1.24- do not follow symbolic link- works fine
 in4.0 .6
 
 
 Thanks for your quick response.
 
 I am fairly new to this tomcat and JAVA world. Please point 
 me where I can make your suggested changes.
 
 Thanks Again,
 Ajay
 
 
 -Original Message-
 From: Raible, Matt [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 28, 2003 1:53 PM
 To: 'Tomcat Users List'
 Subject: RE: Tomcat 4.1.24- do not follow symbolic link- works fine
 in4.0 .6
 
 
 Context path= docBase=ROOT debug=0
 Resources
 className=org.apache.naming.resources.FileDirContext
 allowLinking=true caseSensitive=true /
 ...
 
  -Original Message-
  From: Ajay Agrawal [mailto:[EMAIL PROTECTED]
  Sent: Friday, March 28, 2003 2:38 PM
  To: Tomcat Users List
  Subject: Tomcat 4.1.24- do not follow symbolic link- works 
  fine in 4.0.6
  
  
  Hi,
  
  I have installed Tomcat 4.1.24 and having problem with 
  symbolic link. It 
  does not recognise symbolic link directory.
  
  Lets say I have created a symbolic link directory test in 
  webapps/ROOT =
  and trying to access page by
  
  http://server:8080/test give me error 
  
  desciption  The requested =resource (/test/) is not available
  But same works fine tomcat 4.0.4.
  
  
  Please Advice? Any input would be highly appreciated.
  
  Thanks in Advance,
  Ajay
  
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: adding a symbolic link in default path

2003-01-16 Thread Randolph Jones
*
*

What version of Tomcat?  allowLinking only works, as far as I know, in
4.1.15 and higher.

John

Hi John:

Thanks for your reply. I am using 4.1.18LE. I am brand new at this and 
did not have the context setup right or a directory in webapps. It is running now.
Now to start on jdbc access from openoffice.
thanks
rfjones



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]



RE: adding a symbolic link in default path

2003-01-16 Thread Turner, John

Cool.  Glad you got it working.

John


 -Original Message-
 From: Randolph Jones [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 16, 2003 11:33 AM
 To: [EMAIL PROTECTED]
 Subject: RE: adding a symbolic link in default path
 
 
 *
 *
 
 What version of Tomcat?  allowLinking only works, as far as I know, in
 4.1.15 and higher.
 
 John
 
 Hi John:
 
 Thanks for your reply. I am using 4.1.18LE. I am brand new at 
 this and 
 did not have the context setup right or a directory in 
 webapps. It is running now.
 Now to start on jdbc access from openoffice.
 thanks
 rfjones
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




adding a symbolic link in default path

2003-01-15 Thread Randolph Jones
I am getting started with tomcat. I want to add a link to an external
directory that I can access from /webdav.
I put
   !-- Tomcat Root Context --
  
 Context path= docBase=ROOT debug=0/
   Resources 
className=org.apache.naming.resources.FileDirContext
   allowLinking=true docBase= /

in server.xml. It doesnt work.

I can see the files in /webdav, but the link
to the external directory is null. I get
cant access error.

What do I need to do?
TIA
rfjones



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]



RE: adding a symbolic link in default path

2003-01-15 Thread Turner, John

What version of Tomcat?  allowLinking only works, as far as I know, in
4.1.15 and higher.

John


 -Original Message-
 From: Randolph Jones [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 14, 2003 8:52 PM
 To: [EMAIL PROTECTED]
 Subject: adding a symbolic link in default path
 
 
 I am getting started with tomcat. I want to add a link to an external
 directory that I can access from /webdav.
 I put
 !-- Tomcat Root Context --

   Context path= docBase=ROOT debug=0/
 Resources 
 className=org.apache.naming.resources.FileDirContext
 allowLinking=true docBase= /
 
 in server.xml. It doesnt work.
 
 I can see the files in /webdav, but the link
 to the external directory is null. I get
 cant access error.
 
 What do I need to do?
 TIA
 rfjones
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Symbolic Link

2002-10-22 Thread Tobias Höglund
Hi

In my  /usr/local/tomcat/jakarta-tomcat-4.1.12/RELEASE-NOTES-4.1.txt file I found the 
 below:

---
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 behavior is optional, and the allowLinking flag may be used to disable
the check.

--

Does this explain your problem?
/Tobias

[EMAIL PROTECTED] wrote:
Hi All,

Tomcat4 does not load classes under WEB-INF/classes/com/ if 
com is a symbolic link to some other directory. This was not the case with 
Tomcat3!. Please let me know if there is work around other than 
maintaining a physical directory under WEB-INF/classes.

Thanks in advance,
Ganesh 



--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Re: Symbolic Link

2002-10-22 Thread Ganesh.K.Rao
It does. But I simply couldn't hold of the details listing how and where I
am suppose to use this attribute. I did try the following in server.xml
without much success,

Context path=/stuff docBase=stuff debug=0 reloadable=true
crossContext=false
 Resources className=org.apache.naming.resources.FileDirContext
caseSensitive=false
docBase=
allowLinking=true/
/Context

With the above lines in server.xml, tomcat startup fails with a message 
${TOMCAT_HOME}/stuff does not exist which means tomcat is trying to deploy
a webapp  which is residing outside ${TOMCAT_HOME}/webapps which is not I
am trying to accomplish.

I am kinda stranded!!!
Ganesh


   
   
Tobias Höglund   
   
[EMAIL PROTECTED]   
   
   
   
 To: Tomcat Users List   
   
22-Oct-2002 08:43  
   
Please respond tocc:   
   
Tomcat Users List  Subject: Re: Symbolic Link
   
[EMAIL PROTECTED] 
   
pache.org 
   
   
   
   
   



Hi

In my  /usr/local/tomcat/jakarta-tomcat-4.1.12/RELEASE-NOTES-4.1.txt file I
found the
  below:

---
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 behavior is optional, and the allowLinking flag may be used to
disable
the check.

--

Does this explain your problem?
/Tobias

[EMAIL PROTECTED] wrote:
 Hi All,

 Tomcat4 does not load classes under WEB-INF/classes/com/ if
 com is a symbolic link to some other directory. This was not the case
with
 Tomcat3!. Please let me know if there is work around other than
 maintaining a physical directory under WEB-INF/classes.

 Thanks in advance,
 Ganesh



--
To unsubscribe, e-mail:   
mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: 
mailto:tomcat-user-help;jakarta.apache.org







--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




RE: Symbolic Link

2002-10-21 Thread Turner, John

From the 4.1.12 release notes:

---
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 behavior is optional, and the allowLinking flag may be used to
disable
the check.

John


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:Ganesh.K.Rao;gsk.com]
 Sent: Monday, October 21, 2002 11:50 AM
 To: Tomcat Users List
 Subject: RE: Symbolic Link
 
 
 Hi,
 
 I could reproduce the problem with both 4.1.10  
 4.1.12. I did go 
 through documentation  release notes. But I haven't really 
 found anything 
 helpful.
 
 Thanks,
 Ganesh 
 
 
 
 
 Turner, John [EMAIL PROTECTED]
 
 21-Oct-2002 11:13
 Please respond to Tomcat Users List [EMAIL PROTECTED]
 
  
  
 
 To: 'Tomcat Users List'
 
 cc: 
 Subject:RE: Symbolic Link
 
 
 Yes, there is a workaround.  Please read the docs and the 
 release notes 
 for
 your version of Tomcat. 
 
 John
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:Ganesh.K.Rao;gsk.com]
  Sent: Monday, October 21, 2002 11:08 AM
  To: [EMAIL PROTECTED]
  Subject: Symbolic Link
  
  
  Hi All,
  
  Tomcat4 does not load classes under 
  WEB-INF/classes/com/ if 
  com is a symbolic link to some other directory. This was not 
  the case with 
  Tomcat3!. Please let me know if there is work around other than 
  maintaining a physical directory under WEB-INF/classes.
  
  Thanks in advance,
  Ganesh 
  
 
 --
 To unsubscribe, e-mail:   
mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
mailto:tomcat-user-help;jakarta.apache.org





--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Symbolic Link

2002-10-21 Thread Ganesh.K.Rao
Hi All,

Tomcat4 does not load classes under WEB-INF/classes/com/ if 
com is a symbolic link to some other directory. This was not the case with 
Tomcat3!. Please let me know if there is work around other than 
maintaining a physical directory under WEB-INF/classes.

Thanks in advance,
Ganesh 


RE: Symbolic Link

2002-10-21 Thread Turner, John

Yes, there is a workaround.  Please read the docs and the release notes for
your version of Tomcat.  

John

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:Ganesh.K.Rao;gsk.com]
 Sent: Monday, October 21, 2002 11:08 AM
 To: [EMAIL PROTECTED]
 Subject: Symbolic Link
 
 
 Hi All,
 
 Tomcat4 does not load classes under 
 WEB-INF/classes/com/ if 
 com is a symbolic link to some other directory. This was not 
 the case with 
 Tomcat3!. Please let me know if there is work around other than 
 maintaining a physical directory under WEB-INF/classes.
 
 Thanks in advance,
 Ganesh 
 

--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Re: i can't acces absolute symbolic link created with ln -s comma nd on LINUX

2002-08-27 Thread Irina Lishchenko

On Monday 26 August 2002 22:43, you wrote:
 Any ideas on this bug?

I can not give too much ideas only some facts


 I posted exactly the same question before and got no
 response. jsp:include seems not working with symlinked
 directory.

 It works on 4.0 version, but stops working on 4.1 version.

It really works fine with TC4.0.4, and everything works: linked directories, 
linked files, static and dinamic includes of linked files

With TC 4.1.9 it does not work but if I make top level linked directory in my 
webapps folder, that works fine assuming that this directory itself does not 
have symlinks inside of it
As soon as it gets symlinkes inside, those don't not work. For example, the 
context http://localhost:8080/german/, where german is a symbolic link to the 
directory /opt/tomcat4.0.4/webapps/german in the webapps folder of TC 4.1.9 
(/opt/tocmat4.1.9/webapps), shows next listing


Filename Size   Last Modified
   
AddNewWord.jsp   0.2 kb Fri, 23 Aug 2002 22:57:08 GMT
   
OracleDataSource.jsp 1.8 kb Thu, 22 Aug 2002 05:53:38 GMT
   
admin/  null
   
include.jsp  0.1 kb Tue, 27 Aug 2002 06:19:25 GMT
   
link.html/  null
   
link.jsp/   null

Everywhere where there is null we have symbolic links: admin - folder, other 
files and they don't work. But usual jsp in the symlinked folder german works 
fine. Although include.jsp does not work (shows empty page) because it has 
inside only include statements for above mentioned symlinks

 Is it a tomcat bug or coyote bug?

Actually I tried a quick test, commented Coyote connector 
(org.apache.coyote.tomcat4.CoyoteConnector) with port 8080 and uncommented 
the HttpConnector(org.apache.catalina.connector.http.HttpConnector), for the 
last one I changed port 8083 to 8080. Restart Tomcat, and nothing was 
changed. That all I did not go deeper

ilis

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: i can't acces absolute symbolic link created with ln -s command on LINUX

2002-08-26 Thread Liu, Xiaoyan

Any ideas on this bug?

I posted exactly the same question before and got no
response. jsp:include seems not working with symlinked
directory.

It works on 4.0 version, but stops working on 4.1 version.
Is it a tomcat bug or coyote bug?

I thought [4.1.9] build with bug fix for #10949 will solve
the problem, but does not seem so.

Thanks.


-Original Message-
From: CouasPhilippe [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 9:57 AM
To: 'Tomcat Users List'
Subject: RE: i can't acces absolute symbolic link created with ln -s
command on LINUX




-Message d'origine-
De: Irina Lishchenko [SMTP:[EMAIL PROTECTED]]
Date:   mercredi 31 juillet 2002 09:59
A:  Tomcat Users List
Objet:  Re: i can't acces absolute symbolic link created with ln -s command
on LINUX

A new Idea for resolving this problem ?

Thanks
Philippe


I have reproduced this situation and have the same problem here

I have made a link to Tomcat examples directory. 
ln -s /path/to/tomcat/webapps/examples example
So with FollowSymLinks and Indexes options I see the direcory context, see 
static files, but as soon as I try to get jsp page I have the same 404 error
[GET /examples/jsp/snp/snoop.jsp HTTP/1.1 404 687]
And the similar error with servlet examplesThe requested URL 
/examples/servlet/RequestParamExample was not found on this server.

Although I just have noticed that I use TC 4.0.4 where you seem don't have 
this issue


On Wednesday 31 July 2002 08:04, you wrote:
 -Message d'origine-
 De:   Irina Lishchenko [SMTP:[EMAIL PROTECTED]]
 Date: mercredi 31 juillet 2002 07:47
 A:Tomcat Users List
 Objet:Re: i can't acces absolute symbolic link created with ln -s
command
 on LINUX

 I use Tomcat 4.1.7 Standalone
 my link is ln -s /appli appli
 and Tomcat is in /usr/bin Directory.

 I have exactly same problem with AIX
 I think there is as security parameter somewhere


 Thanks


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



RE: i can't acces absolute symbolic link created with ln -s comma nd on LINUX

2002-08-26 Thread CouasPhilippe



-Message d'origine-
De: Liu, Xiaoyan [SMTP:[EMAIL PROTECTED]]
Date:   lundi 26 aout 2002 22:43
A:  'Tomcat Users List'
Cc: '[EMAIL PROTECTED]'
Objet:  RE: i can't acces absolute symbolic link created with ln -s comma   nd on 
LINUX

No idea, 
my problem is unresolved, so i don't instal Tomcat 4.1.x
it seems link working, if link is realise with a directory which is under 
webapps directory, perhaps this is a security problems ?
But i don't know
Send me email if you find solution

Philippe






Any ideas on this bug?

I posted exactly the same question before and got no
response. jsp:include seems not working with symlinked
directory.

It works on 4.0 version, but stops working on 4.1 version.
Is it a tomcat bug or coyote bug?

I thought [4.1.9] build with bug fix for #10949 will solve
the problem, but does not seem so.

Thanks.


-Original Message-
From: CouasPhilippe [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 9:57 AM
To: 'Tomcat Users List'
Subject: RE: i can't acces absolute symbolic link created with ln -s
command on LINUX




-Message d'origine-
De: Irina Lishchenko [SMTP:[EMAIL PROTECTED]]
Date:   mercredi 31 juillet 2002 09:59
A:  Tomcat Users List
Objet:  Re: i can't acces absolute symbolic link created with ln -s command
on LINUX

A new Idea for resolving this problem ?

Thanks
Philippe


I have reproduced this situation and have the same problem here

I have made a link to Tomcat examples directory. 
ln -s /path/to/tomcat/webapps/examples example
So with FollowSymLinks and Indexes options I see the direcory context, see 
static files, but as soon as I try to get jsp page I have the same 404 error
[GET /examples/jsp/snp/snoop.jsp HTTP/1.1 404 687]
And the similar error with servlet examplesThe requested URL 
/examples/servlet/RequestParamExample was not found on this server.

Although I just have noticed that I use TC 4.0.4 where you seem don't have 
this issue


On Wednesday 31 July 2002 08:04, you wrote:
 -Message d'origine-
 De:   Irina Lishchenko [SMTP:[EMAIL PROTECTED]]
 Date: mercredi 31 juillet 2002 07:47
 A:Tomcat Users List
 Objet:Re: i can't acces absolute symbolic link created with ln -s
command
 on LINUX

 I use Tomcat 4.1.7 Standalone
 my link is ln -s /appli appli
 and Tomcat is in /usr/bin Directory.

 I have exactly same problem with AIX
 I think there is as security parameter somewhere


 Thanks


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




newbie question : i can't acces absolute symbolic link created with ln -s command on LINUX

2002-08-12 Thread CouasPhilippe

Hi everybody,


Where is my mistake ?

i can't acces symbolic link with Tomcat 4.1.8 standalone on LINUX.
i have created a link with ln -s command on LINUX. (ln -s /appli appli in ROOT 
directory)
If this symbolic link don't refer to a directory which is in webapps tree i have an 
error 404 with my Browser.
why ?


That is ok with Tomcat 4.0.4
i' can acces with a real directory created with mkdir


Thanks
Philippe


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: i can't acces absolute symbolic link created with ln -s command on LINUX

2002-08-01 Thread CouasPhilippe



-Message d'origine-
De: Irina Lishchenko [SMTP:[EMAIL PROTECTED]]
Date:   mercredi 31 juillet 2002 09:59
A:  Tomcat Users List
Objet:  Re: i can't acces absolute symbolic link created with ln -s command on LINUX

A new Idea for resolving this problem ?

Thanks
Philippe


I have reproduced this situation and have the same problem here

I have made a link to Tomcat examples directory. 
ln -s /path/to/tomcat/webapps/examples example
So with FollowSymLinks and Indexes options I see the direcory context, see 
static files, but as soon as I try to get jsp page I have the same 404 error
[GET /examples/jsp/snp/snoop.jsp HTTP/1.1 404 687]
And the similar error with servlet examplesThe requested URL 
/examples/servlet/RequestParamExample was not found on this server.

Although I just have noticed that I use TC 4.0.4 where you seem don't have 
this issue


On Wednesday 31 July 2002 08:04, you wrote:
 -Message d'origine-
 De:   Irina Lishchenko [SMTP:[EMAIL PROTECTED]]
 Date: mercredi 31 juillet 2002 07:47
 A:Tomcat Users List
 Objet:Re: i can't acces absolute symbolic link created with ln -s command
 on LINUX

 I use Tomcat 4.1.7 Standalone
 my link is ln -s /appli appli
 and Tomcat is in /usr/bin Directory.

 I have exactly same problem with AIX
 I think there is as security parameter somewhere


 Thanks


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: i can't acces absolute symbolic link created with ln -s command on LINUX

2002-07-31 Thread Irina Lishchenko

I have reproduced this situation and have the same problem here

I have made a link to Tomcat examples directory. 
ln -s /path/to/tomcat/webapps/examples example
So with FollowSymLinks and Indexes options I see the direcory context, see 
static files, but as soon as I try to get jsp page I have the same 404 error
[GET /examples/jsp/snp/snoop.jsp HTTP/1.1 404 687]
And the similar error with servlet examplesThe requested URL 
/examples/servlet/RequestParamExample was not found on this server.

Although I just have noticed that I use TC 4.0.4 where you seem don't have 
this issue


On Wednesday 31 July 2002 08:04, you wrote:
 -Message d'origine-
 De:   Irina Lishchenko [SMTP:[EMAIL PROTECTED]]
 Date: mercredi 31 juillet 2002 07:47
 A:Tomcat Users List
 Objet:Re: i can't acces absolute symbolic link created with ln -s command
 on LINUX

 I use Tomcat 4.1.7 Standalone
 my link is ln -s /appli appli
 and Tomcat is in /usr/bin Directory.

 I have exactly same problem with AIX
 I think there is as security parameter somewhere


 Thanks


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




i can't acces absolute symbolic link created with ln -s command on LINUX

2002-07-30 Thread CouasPhilippe

Hi everybody,


i can't acces symbolic link with Tomcat 4.1.7.
i have created a link with ln -s command on LINUX.
If this symbolic link don't refere to a directory which is in webapps tree i have an 
error 404.
why ?
That is ok with Tomcat 4.0.4

Thanks
Philippe


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: i can't acces absolute symbolic link created with ln -s command on LINUX

2002-07-30 Thread Irina Lishchenko

On Tuesday 30 July 2002 18:44, you wrote:
 Hi everybody,


 i can't acces symbolic link with Tomcat 4.1.7.
 i have created a link with ln -s command on LINUX.
 If this symbolic link don't refere to a directory which is in webapps tree
 i have an error 404. why ?
 That is ok with Tomcat 4.0.4

 Thanks
 Philippe

Do you use Apache? Is your Tomcat connected with Apache?
I have not reproduced your situation, but if your directories are described 
for Tomcat-Apache case, in Apache syntax, so may be you have somewhere a 
directive FollowSymLinks with minus option. I am sure that you are aware 
about this and your situation is different, but this is just an idea

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: i can't acces absolute symbolic link created with ln -s command on LINUX

2002-07-30 Thread CouasPhilippe



-Message d'origine-
De: Irina Lishchenko [SMTP:[EMAIL PROTECTED]]
Date:   mercredi 31 juillet 2002 07:47
A:  Tomcat Users List
Objet:  Re: i can't acces absolute symbolic link created with ln -s command on LINUX

I use Tomcat 4.1.7 Standalone
my link is ln -s /appli appli
and Tomcat is in /usr/bin Directory.

I have exactly same problem with AIX 
I think there is as security parameter somewhere


Thanks


On Tuesday 30 July 2002 18:44, you wrote:
 Hi everybody,


 i can't acces symbolic link with Tomcat 4.1.7.
 i have created a link with ln -s command on LINUX.
 If this symbolic link don't refere to a directory which is in webapps tree
 i have an error 404. why ?
 That is ok with Tomcat 4.0.4

 Thanks
 Philippe

Do you use Apache? Is your Tomcat connected with Apache?
I have not reproduced your situation, but if your directories are described 
for Tomcat-Apache case, in Apache syntax, so may be you have somewhere a 
directive FollowSymLinks with minus option. I am sure that you are aware 
about this and your situation is different, but this is just an idea

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




i can't acces absolute symbolic link created with ln -s command on LINUX

2002-07-22 Thread CouasPhilippe

Hi everybody,

i can't acces symbolic link created with ln -s command on LINUX if this link is not in 
webapps tree,
why ?
That is ok in 4.0.3

Thanks
Philippe


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]