Symbolic Link in Tomcat 5 is not working after setting allowLinking="true"
Posted
by Jais
on Stack Overflow
See other posts from Stack Overflow
or by Jais
Published on 2010-03-24T00:50:21Z
Indexed on
2010/03/24
0:53 UTC
Read the original article
Hit count: 690
symbolic-link
I created a symbolic link to a .htm file.
ln -sf /u105/app/ptelrep/reports/kfx/generated/KFX026_Wholesale_1.htm /u105/app/ptelrep/reports/kfx/generated/KFX026_Wholesale.htm
The link works. I have the configuration file, reports.xml:
/u355/app/ptelrep/tomcat50-jwsdp/conf/Catalina/localhost/reports.xml
I have a JSP file which has link points to the symbolic link:
onMouseOver="toggleDiv('div1',1)"
onMouseOut="toggleDiv('div1',0)">Detail Usage
I restarted the tomcat but the symlink is not working. When I change the symlink to a point to the original file, it works.
Can anyone know what the problem is?
© Stack Overflow or respective owner