Bug#460839:

2008-02-28 Thread Liu, Yong
Hi,

 

With this block added into /etc/tomcat5.5/policy.d/04webapps.policy

 

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

};

 

the problem with jsp-example and servlets-examples is fixed.

 

But when I deployed my web app throught tomcat manager, I got the
following error:

SEVERE: Error listenerStart

And my app did not start up. 

How can I get more information about what caused this severe error?

Thanks!

-Yong

 



Bug#460839: tomcat5.5-webapps: access control exception at startup reading logging.properties

2008-01-15 Thread Marcus Better
tag 460839 patch pending
owner it !
thanks

This fixes the problem. Should be safe, right?

--- /etc/tomcat5.5/policy.d/04webapps.policy~   2007-09-18 19:57:38.0 
+0200
+++ /etc/tomcat5.5/policy.d/04webapps.policy2008-01-15 09:33:12.0 
+0100
@@ -54,3 +54,8 @@
 permission java.lang.RuntimePermission 
accessClassInPackage.org.apache.tomcat.util.digester;
 permission java.lang.RuntimePermission 
defineClassInPackage.org.apache.tomcat.util.digester;
 };
+
+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;
+};



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]