cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Didier Gutacker (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-2437) Host not set CXFJettySslSocketConnector
Date Mon, 21 Sep 2009 09:36:28 GMT

    [ https://issues.apache.org/jira/browse/CXF-2437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757859#action_12757859
] 

Didier Gutacker commented on CXF-2437:
--------------------------------------

I missed to attach cxf.xml contents:

<beans 
	xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:http="http://cxf.apache.org/transports/http/configuration"
	xmlns:httpj="http://cxf.apache.org/transports/http-jetty/configuration"
	xmlns:sec="http://cxf.apache.org/configuration/security"
	xsi:schemaLocation="
		http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
		http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd
		http://cxf.apache.org/transports/http-jetty/configuration http://cxf.apache.org/schemas/configuration/http-jetty.xsd
		http://cxf.apache.org/configuration/security http://cxf.apache.org/schemas/configuration/security.xsd">
		
	<http:destination name="{http://www.server.com/abc}ABC_Port.http-destination" />
	
	<httpj:engine-factory bus="cxf">
		<httpj:engine port="8443">
			<httpj:tlsServerParameters>
				<sec:keyManagers keyPassword="pwd">
					<sec:keyStore file="${activemq-home}/conf/server-keystore.jks" password="pwd" type="JKS"
/>
				</sec:keyManagers>
				<sec:trustManagers>
					<sec:keyStore file="${activemq-home}/conf/trust-keystore.jks" password="pwd" type="JKS"/>
				</sec:trustManagers>
				<sec:clientAuthentication required="true" want="true"/>
			</httpj:tlsServerParameters>
		</httpj:engine>
	</httpj:engine-factory>
</beans>

> 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
>
> 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.


Mime
View raw message