Alan wrote: > Ok, I downloaded the latest and did: > > wget -c > http://mirror.ox.ac.uk/sites/rsync.apache.org/tomcat/tomcat-6/v6.0.20/bin/apache-tomcat-6.0.20.tar.gz > tar xvfz apache-tomcat-5.5.28.tar.gz # gnu tar
What is going on here? Which version of Tomcat are you using? > cd ~/Programmes/apache-tomcat-6.0.20 > export CATALINA_HOME=$PWD > amadeus[2161]:~/Programmes/apache-tomcat-6.0.20% > $CATALINA_HOME/bin/catalina.sh run -securityUsing CATALINA_BASE: > /Users/alan/Programmes/apache-tomcat-6.0.20 > Using CATALINA_HOME: /Users/alan/Programmes/apache-tomcat-6.0.20 > Using CATALINA_TMPDIR: /Users/alan/Programmes/apache-tomcat-6.0.20/temp > Using JRE_HOME: > /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home Which JVM is this? What does: java -version return? > Using Security Manager > Please use CMSClassUnloadingEnabled in place of > CMSPermGenSweepingEnabled in the future Hmm. You shouldn't see that with a default Tomcat install so it looks like you aren't running what you think you are running. > Could not load Logmanager "org.apache.juli.ClassLoaderLogManager" > java.security.AccessControlException: access denied > (java.lang.RuntimePermission setContextClassLoader) > at > java.security.AccessControlContext.checkPermission(AccessControlContext.java:323) > [snip] This works out of the for me on Leopard. I don't have access to a machine with Snow Leopard although it is unlikely that is the issue. > So, how do I do to make at least the webapps examples that come with > tomcat to run smoothly with security manager? How to tweak > catalina.policy in order to not see all this issues in log? Indications are you aren't running a vanilla Tomcat 6.0.20 install. A clean install works for me in Windows, OSX and linux. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org