Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 069C39DF9 for ; Wed, 4 Apr 2012 07:58:10 +0000 (UTC) Received: (qmail 69464 invoked by uid 500); 4 Apr 2012 07:58:07 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 69310 invoked by uid 500); 4 Apr 2012 07:58:07 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 69297 invoked by uid 99); 4 Apr 2012 07:58:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2012 07:58:07 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=NORMAL_HTTP_TO_IP,SPF_PASS,TO_NO_BRKTS_DIRECT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [88.149.180.41] (HELO mini.hq.lonewolf.it) (88.149.180.41) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2012 07:58:00 +0000 Message-ID: <4F7C00A1.5020507@tuccia.it> Date: Wed, 04 Apr 2012 10:04:49 +0200 From: Andrea Tuccia User-Agent: Mozilla/5.0 (undisclosed) Gecko/20110626 MIME-Version: 1.0 To: user@cassandra.apache.org Subject: JMX APIs thru MX4J X-Enigmail-Version: 1.1.1 OpenPGP: id=911DAF0D X-Files: Trust No One Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Hello, I'm working on a fork of S�bastien Giroux Cassandra Cluster Admin and I wish to pull my contributions to the parent code. Here is my repository: https://github.com/atuccia/Cassandra-Cluster-Admin ...and S�bastien Giroux one: https://github.com/sebgiroux/Cassandra-Cluster-Admin I wanna add the same functionalities of "OpsCenter" (or the common functions available thru the command line nodetool) as cleanup, compact, repair, drain, decommission and so on... I'm stuck, gone in trouble with MX4J. http://192.168.10.91/invoke?operation=forceTableRepair&objectname=org.apache.cassandra.db%3Atype%3DStorageService&value0=&type0=java.lang.String&type1=[Ljava.lang.String%3B MBean operation: invoke method on MBean org.apache.cassandra.db:type=StorageService Error during MBean operation invocationMessage: count of parameter types doesn't match count of parameter values http://192.168.10.91/invoke?operation=forceTableRepair&objectname=org.apache.cassandra.db%3Atype%3DStorageService&value0=&type0=java.lang.String&type1=[Ljava.lang.String%3B&value1= MBean operation: invoke method on MBean org.apache.cassandra.db:type=StorageService Error during MBean operation invocationMessage: Parameter 1: cannot be converted to type [Ljava.lang.String; http://192.168.10.91/invoke?operation=forceTableRepair&objectname=org.apache.cassandra.db%3Atype%3DStorageService MBean operation: invoke method on MBean org.apache.cassandra.db:type=StorageService Error during MBean operation invocationMessage: Operation singature has no match in the MBean ...so, how can I call the APIs (apparently) with optional parameters? What is that strange definition of the type "[Ljava.lang.String;" for some params? Thanks in advance! Andrea Tuccia