tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: can't connect to manager application
Date Fri, 18 Oct 2013 16:25:44 GMT
Edoardo Panfili wrote:
> Il 18/10/13 18:16, Caldarale, Charles R ha scritto:
>>> From: Edoardo Panfili [mailto:edoardo@aspix.it]
>>> Subject: Re: can't connect to manager application
>>
>>> seem that the solution is to add privileged="true" at
>>> $tomcat/conf/context.xml... and the "reoload" command now works.
>>
>> You really, really, really must not do that.  Adding privileged="true" 
>> to conf/context.xml makes _all_ deployed webapps privileged.  The 
>> <Context> element for the manager webapp already has privileged="true" 
>> in it - unless you took it out.
> 
> ok, it look not so good for me to change default privileges.
> but.. what can I do?
> 
> 
>> Note that if you're using a 3rd-party repackaged version of Tomcat, 
>> all bets are off.  The repackagers frequently make a mess of things, 
>> such as the above.  Best to use a Tomcat downloaded from 
>> tomcat.apache.org.
> I use the tar.gz from tomcat.apche.org.
> 

It could be that there is an error in the catalina.policy file of the standard distribution.
Many people do not run with the Java Security Manager enabled, so it may have been 
unnoticed until now.
Or else, you are running a newer version of Tomcat with an older version of this file.

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


Mime
View raw message