Return-Path: Delivered-To: apmail-incubator-cxf-dev-archive@locus.apache.org Received: (qmail 42632 invoked from network); 20 Nov 2007 08:49:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Nov 2007 08:49:07 -0000 Received: (qmail 7723 invoked by uid 500); 20 Nov 2007 08:48:54 -0000 Delivered-To: apmail-incubator-cxf-dev-archive@incubator.apache.org Received: (qmail 7670 invoked by uid 500); 20 Nov 2007 08:48:53 -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 7661 invoked by uid 99); 20 Nov 2007 08:48:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Nov 2007 00:48:53 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ning.jiang@iona.com designates 12.170.54.180 as permitted sender) Received: from [12.170.54.180] (HELO amer-mx1.iona.com) (12.170.54.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Nov 2007 08:48:57 +0000 X-IronPort-AV: E=Sophos;i="4.21,440,1188792000"; d="scan'208";a="7372694" Received: from amer-ems1.ionaglobal.com ([10.65.6.25]) by amer-mx1.iona.com with ESMTP; 20 Nov 2007 03:48:36 -0500 Received: from [10.129.9.176] ([10.129.9.176]) by amer-ems1.IONAGLOBAL.COM with Microsoft SMTPSVC(6.0.3790.1830); Tue, 20 Nov 2007 03:48:11 -0500 Message-ID: <47429F33.1090508@iona.com> Date: Tue, 20 Nov 2007 16:47:47 +0800 From: Willem Jiang User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: cxf-dev@incubator.apache.org Subject: Re: Reused address problems only under maven References: <47410BD1.4000403@iona.com> In-Reply-To: <47410BD1.4000403@iona.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 20 Nov 2007 08:48:12.0126 (UTC) FILETIME=[1517E7E0:01C82B52] X-Virus-Checked: Checked by ClamAV on apache.org Hi Benson, After tracing the log , I found we did not really turn off the "org.apache.cxf.transports.http_jetty.DontClosePort" flag in the parent pom.xml. When you run the test from Eclipse the flag is not set , the jetty engine will be shutdown when we call the bus.shutdown() in @After method. Since we still set the "org.apache.cxf.transports.http_jetty.DontClosePort" true in the parent pom.xml, the jetty engine will not be shut down instead. After I truned off the "org.apache.cxf.transports.http_jetty.DontClosePort" , I found there were dozens of systests failed. Now we still need to use "org.apache.cxf.transports.http_jetty.DontClosePort" flag in our parent pom.xml. Willem. Willem Jiang wrote: > Hi Benson, > > I will take a look at this issue later today. > > Willem. > > Benson Margulies wrote: >> Willem or whomever, >> >> If you remove the @org.junit.Ignore from JsHttpRequestTest, you will see >> address in use binding errors from this test, which eventually result in >> a failure. Oddly, there's no problem in eclipse, only in Maven. >> >> I can probably get around this by subverting JUnit via some static setup >> that avoids reinitializing services, since for this test it would be >> fine for all the services to come up once. >> >> Nonetheless, this isn't what we intend, I think, so I'm filing a JIRA. >> >> --benson >> >> >> >> >> >> >