Revision: 4713
Author: seba.wagner
Date: Tue Dec 13 07:55:49 2011
Log: [No log message]
http://code.google.com/p/openmeetings/source/detail?r=4713
Added:
/docs/jee-container-ssl.xml
=======================================
--- /dev/null
+++ /docs/jee-container-ssl.xml Tue Dec 13 07:55:49 2011
@@ -0,0 +1,221 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:lang="http://www.springframework.org/schema/lang"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
+ http://www.springframework.org/schema/lang
http://www.springframework.org/schema/lang/spring-lang-3.0.xsd">
+
+ <bean id="tomcat.server" class="org.red5.server.tomcat.TomcatLoader"
init-method="init" destroy-method="shutdown" depends-on="context.loader">
+
+ <property name="webappFolder" value="${red5.root}/webapps" />
+
+ <property name="connector">
+ <bean class="org.apache.catalina.connector.Connector">
+ <!-- Blocking I/O -->
+ <constructor-arg type="java.lang.String"
value="org.apache.coyote.http11.Http11Protocol" />
+ <!-- Non-blocking I/O -->
+ <!--
+ <constructor-arg type="java.lang.String"
value="org.apache.coyote.http11.Http11NioProtocol" />
+ -->
+ <property
name="port"><value>${https.port}</value></property>
+ <property
name="redirectPort"><value>${http.port}</value></property>
+ <property
name="enableLookups"><value>false</value></property>
+ <property name="useIPVHosts"><value>true</value></property>
+ </bean>
+ </property>
+
+ <property name="address">
+ <bean class="java.net.InetSocketAddress">
+ <constructor-arg index="0" type="java.lang.String"
value="${http.host}" />
+ <constructor-arg index="1" type="int" value="${http.port}"
/>
+ </bean>
+ </property>
+
+ <property name="connectionProperties">
+ <map>
+ <entry>
+ <key><value>port</value></key>
+ <value>${https.port}</value>
+ </entry>
+ <entry>
+ <key><value>redirectPort</value></key>
+ <value>${http.port}</value>
+ </entry>
+ <entry>
+ <key><value>SSLEnabled</value></key>
+ <value>true</value>
+ </entry>
+ <entry>
+ <key><value>sslProtocol</value></key>
+ <value>TLS</value>
+ </entry>
+ <entry>
+ <key><value>clientAuth</value></key>
+ <value>false</value>
+ </entry>
+ <entry>
+ <key><value>keystoreFile</value></key>
+ <value>conf/keystore</value>
+ </entry>
+ <entry>
+ <key><value>keystorePass</value></key>
+ <value>${rtmps.keystorepass}</value>
+ </entry>
+ <entry>
+ <key><value>keystoreType</value></key>
+ <value>JKS</value>
+ </entry>
+ <entry key="maxKeepAliveRequests"
value="${rtmps.max_keep_alive_requests}"/>
+ <entry key="useExecutor" value="true"/>
+ <entry key="maxThreads"
value="${rtmps.max_threads}"/>
+ <entry key="acceptorThreadCount"
value="${rtmps.acceptor_thread_count}"/>
+ <entry key="processorCache"
value="${rtmps.processor_cache}"/>
+ </map>
+ </property>
+
+
+ <property name="baseHost">
+ <bean class="org.apache.catalina.core.StandardHost">
+ <property name="name" value="${http.host}" />
+ <property name="unpackWARs" value="true" />
+ <property name="autoDeploy" value="true" />
+ <property name="xmlValidation" value="false" />
+ <property name="xmlNamespaceAware" value="false" />
+ </bean>
+ </property>
+
+ <property name="valves">
+ <list>
+ <bean id="valve.access"
class="org.apache.catalina.valves.AccessLogValve">
+ <property name="directory" value="log" />
+ <property name="prefix" value="${http.host}_access." />
+ <property name="suffix" value=".log" />
+ <property name="pattern" value="common" />
+ <property name="resolveHosts" value="false" />
+ <property name="rotatable" value="true" />
+ </bean>
+ </list>
+ </property>
+
+ </bean>
+
+ <!-- RTMPT (dedicated server) -->
+<!--
+ <bean id="rtmpt.server" class="org.red5.server.tomcat.rtmpt.RTMPTLoader"
init-method="init" lazy-init="true">
+
+ <property name="webappFolder" value="${red5.root}/webapps" />
+
+ <property name="connector">
+ <bean class="org.apache.catalina.connector.Connector">
+ <constructor-arg type="java.lang.String"
value="org.apache.coyote.http11.Http11NioProtocol" />
+ <property
name="port"><value>${rtmpt.port}</value></property>
+ <property
name="enableLookups"><value>false</value></property>
+ </bean>
+ </property>
+
+ <property name="connectionProperties">
+ <map>
+ <entry key="maxKeepAliveRequests"
value="${rtmpt.max_keep_alive_requests}"/>
+ <entry key="useExecutor" value="true"/>
+ <entry key="maxThreads"
value="${rtmpt.max_threads}"/>
+ <entry key="acceptorThreadCount"
value="${rtmpt.acceptor_thread_count}"/>
+ <entry key="processorCache"
value="${rtmpt.processor_cache}"/>
+ </map>
+ </property>
+
+ <property name="host">
+ <bean class="org.apache.catalina.core.StandardHost">
+ <property name="name" value="${rtmpt.host}" />
+ <property name="unpackWARs" value="false" />
+ <property name="autoDeploy" value="false" />
+ <property name="xmlValidation" value="false" />
+ <property name="xmlNamespaceAware" value="false"
/>
+ </bean>
+ </property>
+
+ </bean>
+-->
+
+ <!-- RTMPS (dedicated server) -->
+<!--
+ <bean id="rtmps.server" class="org.red5.server.tomcat.rtmps.RTMPSLoader"
init-method="init" lazy-init="true">
+
+ <property name="webappFolder" value="${red5.root}/webapps" />
+
+ <property name="connector">
+ <bean class="org.apache.catalina.connector.Connector">
+ <constructor-arg type="java.lang.String"
value="org.apache.coyote.http11.Http11NioProtocol" />
+ <property name="port" value="${rtmps.port}" />
+ <property name="redirectPort" value="${rtmp.port}"
/>
+ </bean>
+ </property>
+
+ <property name="host">
+ <bean class="org.apache.catalina.core.StandardHost">
+ <property name="name" value="${rtmps.host}" />
+ <property name="unpackWARs" value="false" />
+ <property name="autoDeploy" value="false" />
+ <property name="xmlValidation" value="false" />
+ <property name="xmlNamespaceAware" value="false"
/>
+ </bean>
+ </property>
+
+ <property name="connectionProperties">
+ <map>
+ <entry>
+ <key><value>port</value></key>
+ <value>${rtmps.port}</value>
+ </entry>
+ <entry>
+ <key><value>redirectPort</value></key>
+ <value>${rtmp.port}</value>
+ </entry>
+ <entry>
+ <key><value>SSLEnabled</value></key>
+ <value>true</value>
+ </entry>
+ <entry>
+ <key><value>sslProtocol</value></key>
+ <value>TLS</value>
+ </entry>
+ <entry>
+ <key><value>clientAuth</value></key>
+ <value>false</value>
+ </entry>
+ <entry>
+ <key><value>keystoreFile</value></key>
+ <value>conf/keystore</value>
+ </entry>
+ <entry>
+ <key><value>keystorePass</value></key>
+ <value>${rtmps.keystorepass}</value>
+ </entry>
+ <entry>
+ <key><value>keystoreType</value></key>
+ <value>JKS</value>
+ </entry>
+ <entry key="maxKeepAliveRequests"
value="${rtmps.max_keep_alive_requests}"/>
+ <entry key="useExecutor" value="true"/>
+ <entry key="maxThreads"
value="${rtmps.max_threads}"/>
+ <entry key="acceptorThreadCount"
value="${rtmps.acceptor_thread_count}"/>
+ <entry key="processorCache"
value="${rtmps.processor_cache}"/>
+ </map>
+ </property>
+
+ <property name="valves">
+ <list>
+ <bean id="valve.access"
class="org.apache.catalina.valves.AccessLogValve">
+ <property name="directory" value="log" />
+ <property name="prefix"
value="${rtmps.host}_rtmps_access." />
+ <property name="suffix" value=".log" />
+ <property name="pattern" value="common" />
+ <property name="resolveHosts" value="false" />
+ <property name="rotatable" value="true" />
+ </bean>
+ </list>
+ </property>
+
+ </bean>
+-->
+
+</beans>
--
You received this message because you are subscribed to the Google Groups
"OpenMeetings developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/openmeetings-dev?hl=en.