Return-Path: Delivered-To: apmail-openejb-commits-archive@www.apache.org Received: (qmail 63100 invoked from network); 19 Oct 2010 03:44:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Oct 2010 03:44:49 -0000 Received: (qmail 26896 invoked by uid 500); 19 Oct 2010 03:44:49 -0000 Delivered-To: apmail-openejb-commits-archive@openejb.apache.org Received: (qmail 26871 invoked by uid 500); 19 Oct 2010 03:44:49 -0000 Mailing-List: contact commits-help@openejb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openejb.apache.org Delivered-To: mailing list commits@openejb.apache.org Received: (qmail 26864 invoked by uid 99); 19 Oct 2010 03:44:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Oct 2010 03:44:49 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Oct 2010 03:44:49 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9J3iT8n020603 for ; Tue, 19 Oct 2010 03:44:29 GMT Message-ID: <4978383.37781287459869194.JavaMail.jira@thor> Date: Mon, 18 Oct 2010 23:44:29 -0400 (EDT) From: "David Blevins (JIRA)" To: commits@openejb.apache.org Subject: [jira] Updated: (OPENEJB-1305) Standalone Server shutdown fails In-Reply-To: <30259894.110611277802232874.JavaMail.jira@thor> 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/OPENEJB-1305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Blevins updated OPENEJB-1305: ----------------------------------- Fix Version/s: (was: 3.1.x) > Standalone Server shutdown fails > -------------------------------- > > Key: OPENEJB-1305 > URL: https://issues.apache.org/jira/browse/OPENEJB-1305 > Project: OpenEJB > Issue Type: Bug > Components: server > Affects Versions: 3.2 > Environment: All > Reporter: Andy Gumbrecht > Assignee: Andy Gumbrecht > Fix For: (trunk/openejb3) > > Attachments: Server.patch > > Original Estimate: 1h > Remaining Estimate: 1h > > The 'Server' component is never registered so the following call fails with a null pointer. > Server server = SystemInstance.get().getComponent(Server.class); > server.stop(); > The order of shutdown in Server.java should be: > OpenEJB.destroy(); > manager.stop(); > Remove redundant code in SimpleServiceManager.java - In fact the removed code could potentially cause shutdown race conditions on RA's if Server.stop() is called. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.