Return-Path: Delivered-To: apmail-cassandra-dev-archive@www.apache.org Received: (qmail 53702 invoked from network); 6 May 2010 07:16:34 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 May 2010 07:16:34 -0000 Received: (qmail 58452 invoked by uid 500); 6 May 2010 07:16:34 -0000 Delivered-To: apmail-cassandra-dev-archive@cassandra.apache.org Received: (qmail 58273 invoked by uid 500); 6 May 2010 07:16:34 -0000 Mailing-List: contact dev-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list dev@cassandra.apache.org Received: (qmail 58265 invoked by uid 99); 6 May 2010 07:16:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 May 2010 07:16:33 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rff.rff@gmail.com designates 74.125.78.25 as permitted sender) Received: from [74.125.78.25] (HELO ey-out-2122.google.com) (74.125.78.25) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 May 2010 07:16:27 +0000 Received: by ey-out-2122.google.com with SMTP id 4so257055eyf.1 for ; Thu, 06 May 2010 00:16:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=0L2JZ/QCyCAkiwV8ll6jdVyMU3x8SMWOdhd9PyYe6kg=; b=s2Nj29Q046xnoxYjPcM+8fas+57zU4ejiT90QIv3FAjCtPOjF8xvi6H2Vq0bXf9pJX mZsaeIcXcLqSzbD45PpggC/73Hj098mgFHDKCUCp9+MLMO6yfeE30hjOu7I6sZKE1ptq ao3L0o1uOjfd0HT8lzm+NSE8Gvf0bDSVMlgj4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=aBSUmyECYNIFSnDeub7Ptm63gNjTM+yGqfMgrPmWylV2FUOGGHh/4z30tFkY3WRGDS 3TYI8AaV/zZriWQOdnasx13h9UX5pFL4AkEN+C0PH4QB7w/YJ2pH0EfRLF5c26vbTuIW XUs1CGSkMEkiNitgSQNs/9zRchbfKFp5/SuUk= Received: by 10.213.52.73 with SMTP id h9mr2882126ebg.26.1273130166113; Thu, 06 May 2010 00:16:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.11.6 with HTTP; Thu, 6 May 2010 00:15:46 -0700 (PDT) In-Reply-To: References: <1272982863.17468.71.camel@erebus.lan> <4BE05378.9060207@openx.org> <20100504174909.GB7305@alumni.caltech.edu> From: gabriele renzi Date: Thu, 6 May 2010 09:15:46 +0200 Message-ID: Subject: Re: admin web UI To: Ran Tavory Cc: dev@cassandra.apache.org Content-Type: multipart/mixed; boundary=0014852f58db4dd82e0485e7b785 X-Virus-Checked: Checked by ClamAV on apache.org --0014852f58db4dd82e0485e7b785 Content-Type: text/plain; charset=ISO-8859-1 On Wed, May 5, 2010 at 12:00 PM, Ran Tavory wrote: > can you send it to me? I'll try to work from it. I updated it to trunk, moved the code into a method and added a few catch'es (before: in main() throws Exception) . As you can see, once exception handling and imports are removed it's about ten lines. To compile you need the jars mx4j-tools.jar, mx4j.jar from the mx4j distribution, compile, run cassandra, connect to 9292. I recall I've seen better looking mx4j-over-http interfaces (in e.g. mule ESB) which I'd say depends on the default stylesheet, but for a quick glance it kind of works. It should also be possible to only expose selected beans, though I have not investigated it. -- blog en: http://www.riffraff.info blog it: http://riffraff.blogsome.com --0014852f58db4dd82e0485e7b785--