Re: AllowSymlink not working

2005-09-06 Thread Giacomino Raccuia

On 06/09/2005 11:12, Francois JEANMOUGIN wrote:

Hi all,

Using tomcat 5.0.28 embedded in an application server. In this tomcat, I have
an application in which classes and libs are symlinks to other parts of the
FileSystem.

I tried several AllowSymlink configurations (inside contetx, outside context,
etc.) and several catalina.policy permissions configuration and nothing work.

  

Hi!
I simple add this lines (in bold) to server.xml

 Host name=localhost appBase=webapps

  unpackWARs=true autoDeploy=true

  xmlValidation=false xmlNamespaceAware=false



*Context docBase=YOUR_PATH path=/YOUR_PATH 
allowLinking=true*


*Resources 
className=org.apache.naming.resources.FileDirContext*


*allowLinking=true/*

*/Context*


bye
Mino


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



RE: AllowSymlink not working

2005-09-06 Thread Francois JEANMOUGIN


 
 Hi!
 I simple add this lines (in bold) to server.xml

Ok, as ususal, the problem was that the application server used an API that
do not restart tomcat but simply restart the Catalina Engine, so it was not
reading the conf files.

Your hellp helped me to search somewhere else for the problem.

Thank you.

François.

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