Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

Commit

Permalink
another failed merge attempt, ssl configuration is not correct
Browse files Browse the repository at this point in the history
  • Loading branch information
timf committed Dec 27, 2010
1 parent c5832ab commit c087be7
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 168 deletions.
49 changes: 30 additions & 19 deletions messaging/gt4.0-elastic/java/msgbridge/etc/elastic/other/main.xml
Expand Up @@ -3,17 +3,25 @@
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jaxrs="http://cxf.apache.org/jaxrs"
xmlns:httpj="http://cxf.apache.org/transports/http-jetty/configuration"
xmlns:security="http://www.springframework.org/schema/security"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/security
http://www.springframework.org/schema/security/spring-security-3.0.xsd
http://cxf.apache.org/jaxrs
http://cxf.apache.org/schemas/jaxrs.xsd">
http://cxf.apache.org/schemas/jaxrs.xsd
http://cxf.apache.org/transports/http-jetty/configuration
http://cxf.apache.org/schemas/configuration/http-jetty.xsd">

<bean id="nimbus-elastic.rm.modulelocator"
class="org.nimbustools.messaging.gt4_0.common.NimbusLocalModuleLocator" />

<!--
property sources are concentrated in this file
-->
<import resource="main.conflocator.xml"/>


<!-- ************ ServiceRM *********** -->

Expand Down Expand Up @@ -233,24 +241,6 @@

</bean>

<bean id="nimbus-query.httpserver"
class="org.nimbustools.messaging.query.HttpQuery"
init-method="startListening">

<property name="enabled" value="$QUERY{query.enabled}"/>
<property name="port" value="$QUERY{https.port}" />
<property name="headerBufferBytes" value="$QUERY{query.header.size}"/>
<property name="keystoreResource" value="$QUERY{keystore.path}"/>
<property name="keystorePassword" value="$QUERY{keystore.password}"/>
<property name="springConfigResource" value="$QUERY{query.spring.path}"/>
</bean>

<!--
property sources are concentrated in this file
-->
<import resource="main.conflocator.xml"/>


<!--
Query related.
-->
Expand Down Expand Up @@ -322,4 +312,25 @@
ref="nimbus-elastic.security"/>
</bean>

<httpj:engine-factory bus="cxf">
<httpj:engine port="8444">
<httpj:threadingParameters minThreads="3"
maxThreads="10" />
<httpj:connector>
<bean class="org.mortbay.jetty.security.SslSocketConnector">
<property name="port" value="$QUERY{https.port}" />
<property name="keystore" value="$QUERY{keystore.path}" />
<property name="truststore" value="$QUERY{keystore.path}" />
<property name="password" value="$QUERY{keystore.password}" />
<property name="trustPassword" value="$QUERY{keystore.password}" />
<property name="headerBufferSize" value="$QUERY{query.header.size}" />
</bean>
</httpj:connector>
<httpj:handlers>
<bean class="org.mortbay.jetty.handler.DefaultHandler"/>
</httpj:handlers>
<httpj:sessionSupport>true</httpj:sessionSupport>
</httpj:engine>
</httpj:engine-factory>

</beans>

This file was deleted.

0 comments on commit c087be7

Please sign in to comment.