Return-Path: Delivered-To: apmail-incubator-esme-dev-archive@minotaur.apache.org Received: (qmail 56518 invoked from network); 3 Nov 2009 09:29:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Nov 2009 09:29:04 -0000 Received: (qmail 82361 invoked by uid 500); 3 Nov 2009 09:29:04 -0000 Delivered-To: apmail-incubator-esme-dev-archive@incubator.apache.org Received: (qmail 82310 invoked by uid 500); 3 Nov 2009 09:29:04 -0000 Mailing-List: contact esme-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: esme-dev@incubator.apache.org Delivered-To: mailing list esme-dev@incubator.apache.org Received: (qmail 82278 invoked by uid 99); 3 Nov 2009 09:29:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2009 09:29:04 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of hirsch.dick@gmail.com designates 209.85.218.210 as permitted sender) Received: from [209.85.218.210] (HELO mail-bw0-f210.google.com) (209.85.218.210) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2009 09:29:00 +0000 Received: by mail-bw0-f210.google.com with SMTP id 2so7912047bwz.20 for ; Tue, 03 Nov 2009 01:28:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=CyN5WnZSmXR3jRAEHiIK/JPT1Rsu7iX3Raw7dEo2LAs=; b=K4fi+RUIshFNOy+0IgNr8cQMK/hrHOR5ud3oZFWMeZINjM8pf9SrI/vPMCxsv1KZwL NIrjtuvc+2ytiuaTaBOHG888+kmp6jXyuhQ6iUmOFSAcYWO//mhBTJyilsfFXL/KIH3x M28EoABZSk2oFiDrnazxK/sn0t2QAE/jQ1g+Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=KJ3kg2ariUTq4TNyi/UOGc+3+5aS3yKM1ku8eYilCWZY4PmpugvoczF/8t88SqdCT1 WTBUKWlBmdvk3gazkzthdj3VVngHGnJi+NgGEpgr7L+7OSlfkyU2NRTp9TYjBhPn64JP ECcQo/XZGBcd2prxzL4D2WiHoMeAZuvh8o09g= MIME-Version: 1.0 Received: by 10.102.14.4 with SMTP id 4mr2669572mun.2.1257240518133; Tue, 03 Nov 2009 01:28:38 -0800 (PST) In-Reply-To: References: <8d32b3490910230110x1fff357ew7a4c561fd7c12ece@mail.gmail.com> <8d32b3490910230202i1163b123t2f164d4db2e47def@mail.gmail.com> Date: Tue, 3 Nov 2009 10:28:38 +0100 Message-ID: Subject: Re: JMX code and scala-stats From: Richard Hirsch To: esme-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I committed the code from the existing patch and created a Wiki entry describing its use: http://cwiki.apache.org/confluence/display/ESME/JMX I decided to commit the code, because the Stax environment is just one special deployment environment and usually we won't have to deal with port restrictions. D On Mon, Oct 26, 2009 at 5:41 AM, Richard Hirsch wro= te: > We have a strange exception on the stax deployment and the app doesn't > run correctly, so I'm redeploying an old older version. > > javax.management.InstanceNotFoundException: > localEngine:name=3Dhttp-8085,type=3DGlobalRequestProcessor > =A0 =A0 =A0 =A0at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.g= etMBean(DefaultMBeanServerInterceptor.java:1094) > =A0 =A0 =A0 =A0at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.g= etAttribute(DefaultMBeanServerInterceptor.java:662) > =A0 =A0 =A0 =A0at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(Jmx= MBeanServer.java:638) > =A0 =A0 =A0 =A0at com.staxnet.appserver.queries.MBeanIntervalCounter.getM= BeanStat(MBeanIntervalCounter.java:59) > =A0 =A0 =A0 =A0at com.staxnet.appserver.queries.MBeanIntervalCounter.upda= teValue(MBeanIntervalCounter.java:41) > =A0 =A0 =A0 =A0at com.staxnet.appserver.queries.RequestProcessingTimeCoun= ter.updateValue(RequestProcessingTimeCounter.java:19) > =A0 =A0 =A0 =A0at com.staxnet.appserver.queries.AppStatsQuery$1.run(AppSt= atsQuery.java:70) > =A0 =A0 =A0 =A0at java.util.TimerThread.mainLoop(Timer.java:512) > =A0 =A0 =A0 =A0at java.util.TimerThread.run(Timer.java:462) > > D. > > On Sun, Oct 25, 2009 at 11:09 AM, Richard Hirsch = wrote: >> It is now really deployed on Stax. Once I test the HTTP/REST access, >> I'll commit the code. >> >> So, how do I test the HTTP/REST =A0JMX access? >> >> D. >> >> On Sun, Oct 25, 2009 at 10:36 AM, Richard Hirsch = wrote: >>> It appears that I messed up =A0and the deployment wasn't successful. Th= e >>> mean reason was that I didn't use the TortoiseSVN patch tool correctly >>> and I deployed old code. =A0:-<. >>> >>> I finally got the patch tool to work and got an error: >>> >>> [WARNING] D:\temp\committer_esme\trunk\server\src\main\scala\bootstrap\= liftweb\ >>> oot.scala:165: error: not found: value ESMEStatsMBean >>> [WARNING] =A0 =A0 ESMEStatsMBean("org.apache.esme.stats") >>> [WARNING] =A0 =A0 ^ >>> [WARNING] one error found >>> >>> I changed "ESMEStatsMBean" to "StatsMBean" =A0and changed the twitter >>> include so that it compiled >>> >>> >>> D. >>> >>> On Sun, Oct 25, 2009 at 8:18 AM, Richard Hirsch = wrote: >>>> Tried to access the REST interface with >>>> "http://esmecloudserverapache.dickhirsch.staxapps.net/rest/jmx" and >>>> got the error "The requested page was not defined in your SiteMap, so >>>> access was blocked. =A0(This message is displayed in development mode >>>> only)" >>>> >>>> What do I have to do to access the HTTP interface? >>>> >>>> D. >>>> >>>> On Sun, Oct 25, 2009 at 8:06 AM, Richard Hirsch wrote: >>>>> I've added you to a project contributor in Jira and assigned you this= item. >>>>> >>>>> Could you write a wiki piece on how to use it? >>>>> >>>>> On Fri, Oct 23, 2009 at 10:08 AM, Richard Hirsch wrote: >>>>>> Packing and staging is fine. We can use OpenDMK without problem to >>>>>> test our JMX interface - for example in the Stax environment. The on= ly >>>>>> possible problems would be when we included it in the ESME source. >>>>>> >>>>>> D. >>>>>> >>>>>> On Fri, Oct 23, 2009 at 11:02 AM, Andy the destroyer >>>>>> wrote: >>>>>>> Actually I really just didn't look at the license. I have only used= the >>>>>>> package in testing and staging so I never paid attention. I do know= the >>>>>>> standard licenses, bsd, apache, gnu 1&2. I should have checked. Sor= ry. >>>>>>> >>>>>>> -Andy >>>>>>> >>>>>>> On Oct 23, 2009 1:15 AM, "Richard Hirsch" w= rote: >>>>>>> >>>>>>> Do you mean this one: Project OpenDMK is the open source project fo= r >>>>>>> the JavaTM Dynamic Management Kit. >>>>>>> >>>>>>> =A0https://opendmk.dev.java.net/ >>>>>>> >>>>>>> The majority of Project OpenDMK code is released under and governed= by >>>>>>> either the GNU General Public License, Version 2 only (GPL) or the >>>>>>> Common Development and Distribution License (CDDL). Before download= ing >>>>>>> Project OpenDMK software, you should become familiar with these >>>>>>> licences. Some binary components listed on the download page are >>>>>>> covered under the Binary License for Project OpenDMK. >>>>>>> >>>>>>> D. >>>>>>> >>>>>>> On Fri, Oct 23, 2009 at 10:10 AM, Andy the destroyer >>>>>>> >>>>>>> wrote: > I can't include a link right = now >>>>>>> because I am unloading music ... >>>>>>> >>>>>> >>>>> >>>> >>> >> >