Bug#431704: Policy file 50user.policy uses ${catalina.home}/webapps/ instead of ${catalina.base}/webapps/
On Wed, Jul 04, 2007 at 01:45:22PM +0200, Emmanuel Rodriguez Santiago wrote: > 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. Hmm, for me the webapps dir is in both locations. But I agree that usage of catalina.home is wrong and irritating in this file. Thanks for reporting this issue. I will commit a fix to our SVN. Cheers, Michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#431704: Policy file 50user.policy uses ${catalina.home}/webapps/ instead of ${catalina.base}/webapps/
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: [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]