It doesn't complain that it cannot write, it complains that it cannot
read. As pointed out by petrojn, it is because you run with security
manager enabled and it prevents the webapp from accessing that file.

For your own applications, that's something you should set by adding
files to /etc/tomcat5.5/policy.d, or by disabling the security manager.

However, I agree that it's a bug for the provided webapps: they should
provide the right setting in the /etc/tomcat5.5/policy.d/04webapps file:

grant codeBase "file:${catalina.home}/bin/tomcat-juli.jar" {
       permission java.io.FilePermission 
"/usr/share/tomcat5.5-webapps/jsp-examples/WEB-INF/classes/logging.properties", 
"read";
       permission java.io.FilePermission 
"/usr/share/tomcat5.5-webapps/servlets-examples/WEB-INF/classes/logging.properties",
 "read";
};

That has been fixed in >=5.5.26-1 so the fix is in intrepid.


** Changed in: tomcat5.5 (Ubuntu)
   Importance: Undecided => Low
       Status: New => Fix Released

-- 
tomcat55-webapps causes errmess avalanche
https://bugs.launchpad.net/bugs/234127
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to