2011/8/19 Petr Hracek <phrac...@gmail.com>: > I am using tomcat 5.5.29 (I now that it is pretty old) > but I would like to start them so that -security will be turn off. > > I am starting them over /usr/share/tomcat5/bin/catalina.sh start -security > Could not load Logmanager "org.apache.juli.ClassLoaderLogManager" > java.security.AccessControlException: access denied > (java.lang.RuntimePermission setContextClassLoader) > at java.security.AccessControlContext.checkPermission(Unknown Source)
Good news: it works. Bad news: your policy file (conf/catalina.policy) does not grant all necessary permissions for the logging library that you are using. It might be that it was a bug in 5.5.29, or that your configuration does not match what defaults are. (E.g. there surely are no permissions for log4j libs in the default configuration). Whatever it is it can be solved by editing that policy file. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org