Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 4326 invoked from network); 17 Oct 2007 22:53:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Oct 2007 22:53:42 -0000 Received: (qmail 60499 invoked by uid 500); 17 Oct 2007 22:53:29 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 60465 invoked by uid 500); 17 Oct 2007 22:53:29 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 60456 invoked by uid 99); 17 Oct 2007 22:53:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Oct 2007 15:53:29 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Oct 2007 22:53:41 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BD718714208 for ; Wed, 17 Oct 2007 15:52:50 -0700 (PDT) Message-ID: <356830.1192661570745.JavaMail.jira@brutus> Date: Wed, 17 Oct 2007 15:52:50 -0700 (PDT) From: "Rick Hillegas (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-1387) Add JMX extensions to Derby In-Reply-To: <4163741.1149764849905.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12535775 ] Rick Hillegas commented on DERBY-1387: -------------------------------------- Thanks for rev 7 of the patch, Bernt. A couple more comments: 1) MDatabase.checkTableConsistency() - If this method is going to return a String rather than a boolean, then I wonder if the failure case should just return the message from the exception--rather than repackaging that message as a SQLException. 2) MDatabase.getProperty() - This method seems to map states to strings as follows: SQLException -> silently swallowed and replaced with a default value Property not set -> default value Property is set -> its value Not connected to database -> the string "N/A" I think that mapping the first two states to the same outcome may turn out to be confusing. 3) MDatabase.getStorageTempDirectory() - What is the default returned by this method? Is STORAGE_TEMP_DIRECTORY always supposed to be set? If not, this method seems to return a misleading default. 4) DerbySystemMBean.setStoragePageSize() - I think that the conversion of 4k, 8k, 16k, and 32k to stringified integers should happen before the initial check for legal values. As it stands, I don't think the conversion will ever be executed. > Add JMX extensions to Derby > --------------------------- > > Key: DERBY-1387 > URL: https://issues.apache.org/jira/browse/DERBY-1387 > Project: Derby > Issue Type: New Feature > Components: Services > Reporter: Sanket Sharma > Assignee: Bernt M. Johnsen > Attachments: DERBY-1387-1.diff, DERBY-1387-1.stat, DERBY-1387-2.diff, DERBY-1387-2.stat, DERBY-1387-3.diff, DERBY-1387-3.stat, DERBY-1387-4.diff, DERBY-1387-4.stat, DERBY-1387-5.diff, DERBY-1387-5.stat, DERBY-1387-6.zip, DERBY-1387-7.zip, derbyjmx.patch, jmx.diff, jmx.stat, jmxFuncspec.html, Requirements for JMX Updated.html, Requirements for JMX.html, Requirements for JMX.zip > > > This is a draft requirement specification for adding monitoring and management extensions to Apache Derby using JMX. The requirements document has been uploaded on JIRA as well as the Derby Wiki page at http://wiki.apache.org/db-derby/_Requirement_Specifications_for_Monitoring_%26_Management_Extensions_using_JMX > Developers and Users are requested to please look at the document (feature list in particular) and add their own rating to features by adding a coloumn to the table. > Comments are welcome. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.