You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2007/11/21 16:25:44 UTC
[jira] Issue Comment Edited: (CXF-1217) Address in use errors from
attempt to repeatedly start and stop services
[ https://issues.apache.org/jira/browse/CXF-1217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12544498 ]
gtully edited comment on CXF-1217 at 11/21/07 7:25 AM:
-----------------------------------------------------------
This "open" call has been fixed in 6.1.6: http://svn.codehaus.org/jetty/jetty/tags/jetty-6.1.6/modules/jetty/src/main/java/org/mortbay/jetty/nio/SelectChannelConnector.java so we may be in luck with an upgrade once the option is set by CXF in the right place.
was (Author: gtully):
This "open" call has been fixed in 2.1.6: http://svn.codehaus.org/jetty/jetty/tags/jetty-6.1.6/modules/jetty/src/main/java/org/mortbay/jetty/nio/SelectChannelConnector.java so we may be in luck with an upgrade once the option is set by CXF in the right place.
> 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
> Attachments: busShutdownTest.patch.txt
>
>
> 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.