Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 16945 invoked from network); 16 Jan 2009 14:45:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Jan 2009 14:45:25 -0000 Received: (qmail 88122 invoked by uid 500); 16 Jan 2009 14:45:22 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 87940 invoked by uid 500); 16 Jan 2009 14:45:21 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 87928 invoked by uid 99); 16 Jan 2009 14:45:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jan 2009 06:45:21 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jan 2009 14:45:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7A19B234C4AC for ; Fri, 16 Jan 2009 06:45:00 -0800 (PST) Message-ID: <1671508543.1232117100486.JavaMail.jira@brutus> Date: Fri, 16 Jan 2009 06:45:00 -0800 (PST) From: "Hiranya Jayathilaka (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS2-4212) ListenerManager Shutdown Hook Attempts to Unregister Itself In-Reply-To: <1228679255.1232116499613.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/AXIS2-4212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hiranya Jayathilaka updated AXIS2-4212: --------------------------------------- Attachment: axis-4212.patch Patch attached > ListenerManager Shutdown Hook Attempts to Unregister Itself > ----------------------------------------------------------- > > Key: AXIS2-4212 > URL: https://issues.apache.org/jira/browse/AXIS2-4212 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: kernel > Affects Versions: 1.5, nightly > Environment: Any > Reporter: Hiranya Jayathilaka > Fix For: 1.5, nightly > > Attachments: axis-4212.patch > > > The ListenerManagerShutdownThread calls listenerManager.stop( ) and the stop( ) method in turns attempts to unregister the shutdown hook causing an IllegalStateException to be thrown. > Exception in thread "Thread-2" java.lang.IllegalStateException: Shutdown in progress > at java.lang.Shutdown.remove(Shutdown.java:104) > at java.lang.Runtime.removeShutdownHook(Runtime.java:218) > at org.apache.axis2.engine.ListenerManager.stop(ListenerManager.java:155) > at org.apache.axis2.engine.ListenerManager$ListenerManagerShutdownThread.run(ListenerManager.java:258) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.