Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 5819 invoked from network); 6 Jun 2005 12:25:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jun 2005 12:25:19 -0000 Received: (qmail 5366 invoked by uid 500); 6 Jun 2005 12:25:17 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 5329 invoked by uid 500); 6 Jun 2005 12:25:16 -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: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 5311 invoked by uid 99); 6 Jun 2005 12:25:16 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 06 Jun 2005 05:25:13 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 16D5F1AA for ; Mon, 6 Jun 2005 13:32:42 +0200 (CEST) Message-ID: <732157895.1118057562092.JavaMail.jira@ajax.apache.org> Date: Mon, 6 Jun 2005 13:32:42 +0200 (CEST) From: "Tomohito Nakayama (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-273) The derbynet/dataSourcePermissions_net.java test fails intermittently In-Reply-To: <521007388.1115848512208.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-273?page=comments#action_12312740 ] Tomohito Nakayama commented on DERBY-273: ----------------------------------------- I have started to survey ... My first question was "What is ShutdownException ?" JavaDoc told "A ShutdownException is a runtime exception that is used to notify code that the system has/is being shut down. " http://incubator.apache.org/derby/javadoc/engine/org/apache/derby/iapi/services/context/ShutdownException.html Grepping whole code ,I found ShutdownException was thrown only from next two part. ./engine/org/apache/derby/iapi/services/context/ContextManager.java:374: throw new ShutdownException(); ./engine/org/apache/derby/iapi/services/context/ContextService.java:124: throw new ShutdownException(); Reading each class, I found that these part are executed only when ContextManager or ContextService is in state of shutdown or stopped. These codes completely match explanation in JavaDoc. Each object is in state of shutdown , and ShutdownException happens. Then, next question arise. Why there happens situation of system has/is being shut down during running in DRDAConnThread as reported ? I think reading dataSourcePermissions_net will give me answer. > The derbynet/dataSourcePermissions_net.java test fails intermittently > --------------------------------------------------------------------- > > Key: DERBY-273 > URL: http://issues.apache.org/jira/browse/DERBY-273 > Project: Derby > Type: Bug > Environment: 1.4.2 JVM (both Sun and IBM) > Reporter: Jack Klebanoff > Assignee: Tomohito Nakayama > > The test fails in the derbyall/derbynetclientmats/derbynetmats suite stack with the following diff: > *** Start: dataSourcePermissions_net jdk1.4.2 DerbyNetClient derbynetmats:derbynetmats 2005-05-11 04:24:11 *** > 17a18,19 > > org.apache.derby.iapi.services.context.ShutdownException: > > agentThread[DRDAConnThread_2,5,derby.daemons] > Test Failed. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira