Return-Path: Delivered-To: apmail-incubator-cxf-issues-archive@locus.apache.org Received: (qmail 78619 invoked from network); 23 Nov 2007 09:13:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Nov 2007 09:13:03 -0000 Received: (qmail 60891 invoked by uid 500); 23 Nov 2007 09:12:51 -0000 Delivered-To: apmail-incubator-cxf-issues-archive@incubator.apache.org Received: (qmail 60875 invoked by uid 500); 23 Nov 2007 09:12:51 -0000 Mailing-List: contact cxf-issues-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-issues@incubator.apache.org Received: (qmail 60865 invoked by uid 99); 23 Nov 2007 09:12:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Nov 2007 01:12:51 -0800 X-ASF-Spam-Status: No, hits=-98.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Nov 2007 09:12:49 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3142B714211 for ; Fri, 23 Nov 2007 01:12:43 -0800 (PST) Message-ID: <146750.1195809163199.JavaMail.jira@brutus> Date: Fri, 23 Nov 2007 01:12:43 -0800 (PST) From: "willem Jiang (JIRA)" To: cxf-issues@incubator.apache.org Subject: [jira] Commented: (CXF-1217) Address in use errors from attempt to repeatedly start and stop services In-Reply-To: <15717546.1195442203027.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/CXF-1217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12544949 ] willem Jiang commented on CXF-1217: ----------------------------------- Hi Gary, Thank you for tracing this issue. I just committed the code which fixed the systest errors when turn off the DontClosePort flag by setting the keep alive property and AllowChunking to be false. Just two quick question , I did not find the code in the HTTPConduit which set the keepalive check interval. Can you point me out ? Why can I get the test pass by waiting for a few second after the bus shutdown ? I do not think it is relate to the HTTPConduit retransmission mechanism. > Address in use errors from attempt to repeatedly start and stop services > ------------------------------------------------------------------------ > > Key: CXF-1217 > URL: https://issues.apache.org/jira/browse/CXF-1217 > Project: CXF > Issue Type: Bug > Components: Transports > Affects Versions: 2.1 > Environment: Any > Reporter: Benson Margulies > Assignee: willem Jiang > Attachments: busShutdownTest.patch.txt, jetty6.1.6.patch > > > Edit org.apache.cxf.javascript.JsHttpRequestTest to take out the @org.junit.Ignore from the test case that has one, and run from eclipse. Watch the logging traffic. Observe: > WARNING: failed Server@1174031 > java.net.BindException: Address already in use: bind > at sun.nio.ch.Net.bind(Native Method) > which eventually, as far as I can tell, turns into: > INFO: doOpen POST http://localhost:8808/Greeter false > Nov 18, 2007 10:07:08 PM org.apache.cxf.javascript.JsXMLHttpRequest communicate > SEVERE: IO error reading response > java.io.FileNotFoundException: http://localhost:8808/Greeter > On the other hand, all is well in Eclipse. > I will probably commit a workaround to this soon, so it would be good to move this muddle to its own test case. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.