Return-Path: Delivered-To: apmail-incubator-cxf-dev-archive@locus.apache.org Received: (qmail 32090 invoked from network); 18 Oct 2007 23:51:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Oct 2007 23:51:00 -0000 Received: (qmail 99660 invoked by uid 500); 18 Oct 2007 23:50:47 -0000 Delivered-To: apmail-incubator-cxf-dev-archive@incubator.apache.org Received: (qmail 99616 invoked by uid 500); 18 Oct 2007 23:50:47 -0000 Mailing-List: contact cxf-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-dev@incubator.apache.org Received: (qmail 99607 invoked by uid 99); 18 Oct 2007 23:50:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Oct 2007 16:50:47 -0700 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=SPF_SOFTFAIL,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of bim2007@basistech.com does not designate 199.88.205.99 as permitted sender) Received: from [199.88.205.99] (HELO mail.basistech.com) (199.88.205.99) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Oct 2007 23:50:49 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Current snapshot still won't shut down jetty Date: Thu, 18 Oct 2007 19:50:28 -0400 Message-ID: In-Reply-To: <13285693.post@talk.nabble.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Current snapshot still won't shut down jetty Thread-Index: AcgR3t9ZI2IJOGfKTfCYM4Ik9jhJqwAAp1fw References: <200710181248.53538.dkulp@apache.org> <13285693.post@talk.nabble.com> From: "Benson Margulies" To: X-Virus-Checked: Checked by ClamAV on apache.org Willem, Should the process refuse to exit even if I haven't called bus.shutdown? Anyway, I just entered CXF-1120 in the neighborhood, which is a variation in which the server tries to start a second time and gets a bind error. I'll go try an explicit shutdown. --benson > -----Original Message----- > From: Willem2 [mailto:ning.jiang@iona.com] > Sent: Thursday, October 18, 2007 7:30 PM > To: cxf-dev@incubator.apache.org > Subject: RE: Current snapshot still won't shut down jetty >=20 >=20 > Hi Benson, >=20 > Do you call the bus.shutdown in your application? > If your client is not in the same JVM with the JettyServer , it should > work. > It is on my to do list to search for the SO_REUSEADDR solution. >=20 > Willem. >=20 > bmargulies wrote: > > > > My own application. > > > > For your problem, isn't this just our old friend SO_REUSEADDR, and isn't > > there a way to turn that on from Java? > > > >> -----Original Message----- > >> From: Daniel Kulp [mailto:dkulp@apache.org] > >> Sent: Thursday, October 18, 2007 12:49 PM > >> To: cxf-dev@incubator.apache.org > >> Cc: Benson Margulies > >> Subject: Re: Current snapshot still won't shut down jetty > >> > >> > >> Is this in the system/unit tests or in your own application? > >> > >> If it's in the sys/unit tests, it won't. I explicitely disabled it > >> cause on Linux, if you try to shutdown a Jetty instance that has > >> keep-alives open to connections in the same VM, it doesn't close them > >> and it blocks the port from being re-opened. > >> > >> Dan > >> > >> On Thursday 18 October 2007, Benson Margulies wrote: > >> > I picked up the 2.0.3 most recent snapshot (20071017) and I still > > have > >> > Jetty refusing to go away. > >> > > >> > Before I try to create a test case for this in systests, can anyone > >> > offer some diagnostic strategy that might narrow down the problem? > >> > > >> > Here's my Spring config for the Jetty handlers. I add some servlets > >> > via API to the webapp context in my code. I can't see any way to > >> > remove them. > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > >> > >> > >> > >> -- > >> J. Daniel Kulp > >> Principal Engineer > >> IONA > >> P: 781-902-8727 C: 508-380-7194 > >> daniel.kulp@iona.com > >> http://www.dankulp.com/blog > > > > >=20 > -- > View this message in context: http://www.nabble.com/Current-snapshot- > still-won%27t-shut-down-jetty-tf4648231.html#a13285693 > Sent from the cxf-dev mailing list archive at Nabble.com.