tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan <alanwil...@gmail.com>
Subject Re: webapps examples and security manager
Date Wed, 23 Sep 2009 14:05:02 GMT
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
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
Using Security Manager
Please use CMSClassUnloadingEnabled in place of
CMSPermGenSweepingEnabled in the future
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]

I got basically the same thing as in tomcat 5.5.

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?

Many thanks in advance,

Alan


On Tue, Sep 22, 2009 at 18:49, Caldarale, Charles R
<Chuck.Caldarale@unisys.com> wrote:
>> From: Alan [mailto:alanwilter@gmail.com]
>> Subject: Re: webapps examples and security manager
>>
>> Not yet, which one would suggest me please?
>
> The latest, always (6.0.20).
>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and
is thus for use only by the intended recipient. If you received this in error, please contact
the sender and delete the e-mail and its attachments from all computers.
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message