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
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.*,*;
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
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:
// ==
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 ?