Re: Catalina.policy file for security option

2011-11-09 Thread Petr Hracek
I have move during the starting of catalina in security nd now I am in the stage that in catalina.out log files I have: access: access allowed (java.io.FilePermission /usr/share/tomcat5/common/classes/log4j.properties read) access: access denied (java.io.FilePermission

Re: Catalina.policy file for security option

2011-11-08 Thread Petr Hracek
Yes the tomcat should be run as a back-end server (AJP) with apache2-2.2.21. I have add to the catalina.policy following permission: permission javax.management.MBeanServerPermission createMBeanServer; permission javax.management.MBeamPermission com.javamonitor.mbeans.*,*;

Re: Catalina.policy file for security option

2011-11-08 Thread Petr Hracek
When I have set CATALINA_OPTS to: linux:/var/log/tomcat5/base # echo $CATALINA_OPTS -Djava.security.debug=all linux:/var/log/tomcat5/base # in log I see: domain 1 ProtectionDomain CodeSource=CodeSource, url=file:/usr/share/tomcat5/bin/bootstrap.jar, no certificates

Catalina.policy file for security option

2011-11-07 Thread Petr Hracek
Dear tomcat users, I have try to configure my really old tomcat5 configuration (for using -security). but tomcat is not running. On my system tomcat5 is run only as servlet engine and not as web server. Do you have any example catalina.policy file? My catalina.policy file is: // ==

Re: Catalina.policy file for security option

2011-11-07 Thread André Warnier
Petr Hracek wrote: Dear tomcat users, I have try to configure my really old tomcat5 configuration (for using -security). but tomcat is not running. Petr, can you be a bit more specific ? what is not running ? does it start ? does it crash after starting ? is it just not answering requests ?