Bug#431704: Policy file 50user.policy uses ${catalina.home}/webapps/ instead of ${catalina.base}/webapps/
Emmanuel Rodriguez Santiago
emmanuel.rodriguez-santiago at hp.com
Wed Jul 4 11:45:22 UTC 2007
Package: tomcat5.5
The policy file /etc/tomcat5.5/policy.d/50user.policy includes some
sample directives that can be used to configure additional permissions
for individual webapps. All the examples that refer to the folder
'webapps' use the variable ${catalina.home} instead of ${catalina.base}.
The problem is that the ${catalina.home} point to a folder that doesn't
include the webapps folder.
Here's the value of each variable:
catalina.base=/var/lib/tomcat5.5
catalina.home=/usr/share/tomcat5.5
Here's the contents of the folders:
$ ls /var/lib/tomcat5.5
conf logs shared temp webapps work
$ ls /usr/share/tomcat5.5
bin common conf doc logs server shared temp work
As you can see the location ${catalina.home}/webapps/ gets translated to
/usr/share/tomcat5.5/webapps/ which doesn't exist. The right path to use
is ${catalina.base}/webapps/ which gets translated to
/var/lib/tomcat5.5/webapps/ which exists.
--
Emmanuel Rodriguez
Developer
Hewlett-Packard Slovakia
European IT Operation Center
EMEA MSGD Network Tower
Galvaniho 7
P.O.Box 43
820 02 Bratislava
Slovakia
Phone: +421 2 5752 5309
Fax: +421 2 5752 5480
Email: emmanuel.rodriguez at hp.com
More information about the pkg-java-maintainers
mailing list