-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Edoardo,

On 10/18/13 12:04 PM, Edoardo Panfili wrote:
> Il 18/10/13 16:40, André Warnier ha scritto:
>> Edoardo Panfili wrote:
>>> Il 18/10/13 08:43, Ognjen Blagojevic ha scritto:
>>>> On 18.10.2013 7:34, Edoardo Panfili wrote:
>>>>>> To rule out faulty upgrade, could you try to reproduce
>>>>>> the problem on clean Tomcat 7.0.42 install?
>>>>> the problem was surely present with 7.0.39, the 7.0.42 is a
>>>>> fresh installation for me.
>>>> 
>>>> Could you please clarify: does the problem exists on 7.0.42,
>>>> 7.0.39 or both?
>>> both
>>> 
>>>> Could you provide steps to reproduce the problem on fresh
>>>> 7.0.42 installation?
>>> - unpack tomcat - modify listen port - modify tomcat-users.xml 
>>> - copy jmxremote.access and jmxremote.password (setting
>>> permissions) - build jsvc - copy configuration files for
>>> applications (in $tomcat/conf/Catalina/localhost)
>>> 
>>> thank you for you question: also jmx remote access is not
>>> working (in both tomcat 7.0.39 and 7.0.42), maybe the two
>>> problems are related?
>>> 
>>> 
>>>> I tried to reproduce with the information you provided so
>>>> far, but I was unable. It works for me.
>>> Also on my local machine, where jmx is not configured.
>>> 
>>> 
>> 
>> Usually, a good place to look first, are the Tomcat logfiles. 
>> What do they say ?
> 
> searching for "java.lang.SecurityException: Restricted 
> (ContainerServlet) class
> org.apache.catalina.manager.ManagerServlet"
> 
> seem that the solution is to add privileged="true" at 
> $tomcat/conf/context.xml... and the "reoload" command now works.

No no no no no no no no no do not do that: you will make every webapp
deployed on Tomcat privileged.

Tomcat's manager should already be set to privileged="true". Are you
sure you didn't change anything else?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJSYV8wAAoJEBzwKT+lPKRYnhIP/0ejZVnJcccOybCnqcE099fq
sFXhX7lspGM/3W3CwcRa6qDJGsuFxKr33I520Hw9JRku+HQRBrOLFjPpwHi4nLSF
gRt/tddEVNNDaTlojOCLgRyJNcRvnuBeJ12EOnTYmf5aQCNowm3ZR92nTCYFNsVM
jCFI8LXYpTl+VaiSA2dFPKL3FLlF8OcLujlnGmjg82IT0T34dLWpxSuHNV3Y87UY
8s0MJZIy1W5asrrpQLYG79VauZnwjTNnsfHV/KrsCBpP+Jw1xa9qKfRXeVlFJIg6
bWeJl4E8EIzx6nHHbuzF8cfb/OaxIkMxqC0CvM4gP1VVvljUllii0g1o2IBkZpnx
60Ad48NnqNaDjIfBzI19xCpoUOwttJSW6xyXRGET0kpIwJaSo984rSQWwcOWGXFH
XcJ4M/7uqh/cEJsGTTEtzOsHHAN3k02Rf1kRldoje8QOt8h35seJW9iRbCPEhcxT
DJOzMo+DDzZaBpdbNx1ukwOHWT6Hjf4S5q8Ft45atKmJGBjYQIvXECF8wdv52xxq
bOhDXx6G0uxnDiGxE7oboTVWYGt173reXidwKSy+FwtGv2dpB9jBL0doOStsggZE
slafDt1d1inumAtavC1TeJGX14aoLThaiLkJuj6KduroEWgI4UNQ/TnuDwuGFsdx
OZ0BksCbGVyrrjWxBAXf
=LzpS
-----END PGP SIGNATURE-----

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

Reply via email to