You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2009/10/15 19:44:31 UTC

[jira] Resolved: (CXF-2437) Host not set CXFJettySslSocketConnector

     [ https://issues.apache.org/jira/browse/CXF-2437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-2437.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.5
                   2.1.8


Applied patch with modifications.   Thanks!

Basically, I left the method on the interface that just takes the port for compatibility sake.   For the impls, just forwarded that into the new method with "null" for host.


> Host not set CXFJettySslSocketConnector
> ---------------------------------------
>
>                 Key: CXF-2437
>                 URL: https://issues.apache.org/jira/browse/CXF-2437
>             Project: CXF
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: 2.2.2
>         Environment: Suse Linux, ActiveMQ 5.2, Camel 2.0-M3
>            Reporter: Didier Gutacker
>            Assignee: Daniel Kulp
>             Fix For: 2.1.8, 2.2.5
>
>         Attachments: cxf-jetty-host-support.diff
>
>
> Host is not set on org.apache.cxf.transport.https_jetty.JettySslConnectorFactory so org.mortbay.jetty.bio.SocketConnector tries to use all available ip addresses. This causes problems on multi-homed systems. In our environment ip2:8443 is used by our JBoss server. We want to run a CXF-Endpoint within activemq 5.2 (camel-cxf-2.0-M3) on ip1:8443. The result is:  "java.net.BindException: Address already in use".
> Config sample:
> 	<cxf:cxfEndpoint id="cxfEndpoint"
> 		serviceClass="xxxxx"
> 		wsdlURL="abc.wsdl"
> 		serviceName="abc:ABC"
> 		endpointName="abc:ABC_Port"
> 		address="https://server:8443/abc/service">
> 	</cxf:cxfEndpoint>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.