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 0B338782E for ; Mon, 26 Sep 2011 16:13:49 +0000 (UTC) Received: (qmail 48272 invoked by uid 500); 26 Sep 2011 16:13:48 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 48214 invoked by uid 500); 26 Sep 2011 16:13:48 -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 48130 invoked by uid 99); 26 Sep 2011 16:13:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2011 16:13:48 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,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; Mon, 26 Sep 2011 16:13:47 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 04694BD734 for ; Mon, 26 Sep 2011 16:13:27 +0000 (UTC) Date: Mon, 26 Sep 2011 16:13:27 +0000 (UTC) From: "Kathey Marsden (JIRA)" To: derby-dev@db.apache.org Message-ID: <672886471.13043.1317053607014.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <99072074.2940.1316712686529.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (DERBY-5427) Unauthorized shutdown should not generate thread dump and javacore. AuthenticationTest dumps over 20 javacores with IBM JVM for normal user errors MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-5427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114752#comment-13114752 ] Kathey Marsden commented on DERBY-5427: --------------------------------------- On a simple functional level, the task of DERBY-4586 was to generate a thread dump/javacore when Derby crashes. This is not a crash so should not generate a javacore, so users and the tests should not have to work around generating javacores in this situation by setting derby.stream.error.extendedDiagSeverityLevel , 8004 is currently a session level error which seems correct to me. So I think the problem here is that our determination of whether this situation is a a crash is a bit off. As I recall the determination of a crash was when we got a session level error on a booted database. Perhaps it should be instead if we get a session level error on an active session. > Unauthorized shutdown should not generate thread dump and javacore. AuthenticationTest dumps over 20 javacores with IBM JVM for normal user errors > -------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-5427 > URL: https://issues.apache.org/jira/browse/DERBY-5427 > Project: Derby > Issue Type: Bug > Components: Services > Affects Versions: 10.8.2.1 > Reporter: Kathey Marsden > Priority: Critical > > If jdbcapi.AuthenticationTest is run without changing the derby.stream.error.extendedDiagSeverityLevel as is done in the test, it generates thread dumps and javacores for IBM jvms. I beleive the errors in this test are expected user errors and not crashes so they should *not* generate a thread dump or javacore. To reproduce remove this line from test: > //Derby-4856,set the property to avoid thread dump and diagnostic info > sysprops.put("derby.stream.error.extendedDiagSeverityLevel","50000"); > Until fixed, users can work around the issue by setting derby.stream.error.extendedDiagSeverityLevel to 50000 as is done in the test. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira