Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 87BD4D42C for ; Fri, 7 Sep 2012 15:33:11 +0000 (UTC) Received: (qmail 97819 invoked by uid 500); 7 Sep 2012 15:33:08 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 97671 invoked by uid 500); 7 Sep 2012 15:33:07 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 97662 invoked by uid 99); 7 Sep 2012 15:33:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2012 15:33:07 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.214.173] (HELO mail-ob0-f173.google.com) (209.85.214.173) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2012 15:33:02 +0000 Received: by obbta14 with SMTP id ta14so6350387obb.18 for ; Fri, 07 Sep 2012 08:32:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=y1r8xRQ6g2AB0Z2wEqbxM4JGhJFEPEP7OPRoM9HZAeg=; b=fN883o6X0CMbqUKkOt6fKGTjreclBMV9sZOUxCvLPmVdg9XAweNOHQ1usMNM9CCVj6 JD3Dc4FvxOtxB0KRjmOK+lfSBGShVASMLsxGtzYgmnXZW1wAQ3/LJCQDi3DApa9VnLk0 rQg2S9JgG9D4Qh566xtnCO84jD4vDzBvmnzTGxm6b1drqxrtt4Uh4KDsZvAdbEJZtKoB w7q1nX/+COp2xbRAgaclMx2NV2shVfNjruIkFpjXrUbqu4iIKptzuyjBjGvFXtFZWeD/ /ZSKgA8kN23qwFt4o2VbBDGuEvxFjaWt1Jg+58a7/17R5xasg31YafRKLKMQyET0ThDi d72Q== MIME-Version: 1.0 Received: by 10.182.47.9 with SMTP id z9mr6562024obm.58.1347031960454; Fri, 07 Sep 2012 08:32:40 -0700 (PDT) Received: by 10.76.167.3 with HTTP; Fri, 7 Sep 2012 08:32:40 -0700 (PDT) In-Reply-To: <504A0D7F.2030609@christopherschultz.net> References: <504757A1.1030004@christopherschultz.net> <5049364C.8050501@christopherschultz.net> <504A0D7F.2030609@christopherschultz.net> Date: Fri, 7 Sep 2012 11:32:40 -0400 Message-ID: Subject: Re: Tomcat HeapMemoryUsage MBean question From: Shanti Suresh To: Tomcat Users List Content-Type: multipart/alternative; boundary=14dae939982581049504c91e51fe X-Gm-Message-State: ALoCoQlffcVgYdltdZu6enNGWKzZeYH2h/Ua0LtGH1KGY9I+deuS3XdGlujn668AtV7NqtYbo8UC --14dae939982581049504c91e51fe Content-Type: text/plain; charset=ISO-8859-1 Ah, okay. Thank you! Also, what I would like to achieve is to have a secure jmxproxy servlet for "set" operations. But have no authentication and authorization for get operations. I tried might to "tighten" only the "set" operations of the "jmxproxy" servlet by modifying manager/WEB-INF/web.xml as follows, and it didn't work. I actually tried the url-pattern below with "/jmxproxy/?get*", but I was still able to query successfully without a "401 Unauthorized" failure. So I figured that I may not be using the right pattern. A url-pattern of "/jmxproxy/*" does return a 401 Unauthorized error message on "get". -------snippet from manager/web.xml:----- JMX Proxy interface /jmxproxy/?set* manager-jmx -----end of snippet---- I am further restricting who may access the manager application in "conf/Catalina/localhost/manager.xml" to localhost: ----manager.xml:---- ------------- So I can somehow secure the "set" but open up the "get" and "qry", I will be in happy curl-land. Thanks. -Shanti On Fri, Sep 7, 2012 at 11:06 AM, Christopher Schultz < chris@christopherschultz.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Shanti, > > On 9/7/12 10:07 AM, Shanti Suresh wrote: > > We are running v7.0.23. So "key" I hope should do the trick. But > > it doesn't seem to be. > > Well, that feature was added in 7.0.27 and you are running 7.0.23. So > you don't have a version that supports that feature. So upgrade if you > want to use that new feature. > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.17 (Darwin) > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ > > iEYEARECAAYFAlBKDX4ACgkQ9CaO5/Lv0PAqeQCgnKsti+7GM6TPXn6PuQcR1p11 > lgoAni83lEMf51nmyOKo2mXipUuxt0D2 > =6wCM > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --14dae939982581049504c91e51fe--