Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 94D4198A8 for ; Wed, 18 Apr 2012 17:37:05 +0000 (UTC) Received: (qmail 54652 invoked by uid 500); 18 Apr 2012 17:37:05 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 54628 invoked by uid 500); 18 Apr 2012 17:37:05 -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 54620 invoked by uid 99); 18 Apr 2012 17:37:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Apr 2012 17:37:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Apr 2012 17:37:01 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C59EE3A1256 for ; Wed, 18 Apr 2012 17:36:40 +0000 (UTC) Date: Wed, 18 Apr 2012 17:36:40 +0000 (UTC) From: "Kim Haase (Updated) (JIRA)" To: derby-dev@db.apache.org Message-ID: <2142942685.1638.1334770600810.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <134485018.2904.1327711175151.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (DERBY-5590) Document optional modifyThreadGroup permssion in java 2 security permissions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-5590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kim Haase updated DERBY-5590: ----------------------------- Attachment: DERBY-5590.zip DERBY-5590.stat DERBY-5590.diff Kathy, thank you for explaining this issue so clearly. I'm attaching DERBY-5590.diff, DERBY-5590.stat, and DERBY-5590.zip, with changes to the two files you mentioned: M src/devguide/cdevbabejgjd.dita M src/ref/rrefproperextdiagsevlevel.dita Please let me know whether further changes are needed. > Document optional modifyThreadGroup permssion in java 2 security permissions > ---------------------------------------------------------------------------- > > Key: DERBY-5590 > URL: https://issues.apache.org/jira/browse/DERBY-5590 > Project: Derby > Issue Type: Bug > Components: Documentation > Affects Versions: 10.9.0.0 > Reporter: Kathey Marsden > Assignee: Kim Haase > Attachments: DERBY-5590.diff, DERBY-5590.stat, DERBY-5590.zip > > > With DERBY3618 and DERBY-4856 if modifyThreadGroup privileges are available, DERBY will produce a thread dump in the derby.log upon asserts or session level SQLExceptions > The two permissions that will be needed to dump the thread stack traces are: > permission java.lang.RuntimePermission "getStackTrace"; > permission java.lang.RuntimePermission "modifyThreadGroup"; > These should be mentioned in the optional permissions at: > http://db.apache.org/derby/docs/10.8/devguide/cdevbabejgjd.html > These optional permissions will allow extended diagnostics, specifically the stack traces of all threads to be dumped to derby.log on severe errors and when derby.stream.error.extendedDiagSeverityLevel is set. > It would be good to mention them here too: > http://db.apache.org/derby/docs/10.8/ref/rrefproperextdiagsevlevel.html -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira