You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by so...@apache.org on 2012/02/16 18:00:11 UTC
svn commit: r1245080 [1/4] - in /incubator/openmeetings/trunk/singlewebapp:
./ red5-1.0.0-r4297/ red5-1.0.0-r4315/ red5-1.0.0-r4315/dist/
red5-1.0.0-r4315/dist/conf/ red5-1.0.0-r4315/dist/lib/
red5-1.0.0-r4315/dist/log/ red5-1.0.0-r4315/dist/plugins/ r...
Author: solomax
Date: Thu Feb 16 17:00:06 2012
New Revision: 1245080
URL: http://svn.apache.org/viewvc?rev=1245080&view=rev
Log:
red5 is updated to r4315
Added:
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/boot.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/access.properties
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/build_standalone.properties
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/catalina.policy
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/context.xml
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/ehcache.xml
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/jee-container.xml
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/keystore (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/keystore.jmx (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/logback.xml
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/no-jee-container.xml
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/password.properties
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/quartz.properties
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/realm.properties
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/red5-common.xml
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/red5-core.xml
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/red5-edge-core.xml
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/red5-edge.xml
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/red5-origin-core.xml
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/red5-origin.xml
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/red5.globals
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/red5.policy
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/red5.properties
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/red5.xml
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/tomcat-users.xml
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/truststore.jmx (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/web.xml
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/lib/
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/lib/bcprov-jdk16-145.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/lib/com.springsource.javax.xml.stream-1.0.1.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/lib/com.springsource.org.antlr-3.1.3.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/lib/com.springsource.org.aopalliance-1.0.0.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/lib/com.springsource.org.apache.commons.collections-3.2.1.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/lib/com.springsource.org.apache.xerces-2.9.1.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/lib/com.springsource.org.codehaus.groovy-1.7.0.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/lib/com.springsource.org.mozilla.javascript-1.7.0.R2.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/lib/com.springsource.org.objectweb.asm-3.2.0.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/lib/com.springsource.org.objectweb.asm.commons-3.2.0.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/lib/com.springsource.slf4j.api-1.6.1.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/lib/com.springsource.slf4j.bridge-1.6.1.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/lib/commons-beanutils-1.8.3.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/lib/commons-codec-1.6.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/lib/commons-lang3-3.1.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/lib/commons-modeler-2.0.1.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/lib/commons-pool-1.5.6.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/lib/ehcache-core-2.5.0.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/lib/httpclient-4.1.2.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/lib/httpcore-4.1.3.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/lib/jaudiotagger-2.0.4-SNAPSHOT.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/lib/javaee-api-5.1.2.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/lib/jcl-over-slf4j-1.6.1.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/lib/jruby-complete-1.1.6.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/lib/jul-to-slf4j-1.6.1.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/lib/jython-2.5.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/lib/quartz-1.8.5.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/lib/xmlrpc-2.0.1.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/license.txt
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/log/
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/plugins/
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/plugins/catalina-6.0.32.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/plugins/jasper-6.0.32.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/plugins/jasper-el-6.0.32.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/plugins/jasper-jdt-6.0.29.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/plugins/tomcat-coyote-6.0.32.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/plugins/tomcat-juli-slf4j-1.5.0.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/plugins/tomcatplugin-1.1.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/red5-debug.bat
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/red5-debug.sh (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/red5-highperf.bat
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/red5-highperf.sh (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/red5-shutdown.bat
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/red5-shutdown.sh (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/red5.bat
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/red5.jar (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/red5.sh (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/webapps/
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/webapps/red5-default.xml
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/webapps/root/
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/webapps/root/WEB-INF/
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/webapps/root/WEB-INF/red5-web.properties
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/webapps/root/WEB-INF/red5-web.xml
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/webapps/root/WEB-INF/web.xml
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/webapps/root/biglogo.png (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/webapps/root/crossdomain.xml
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/webapps/root/favicon.ico (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/webapps/root/favicon.png (with props)
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/webapps/root/flvdemo.html
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/webapps/root/gc.jsp
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/webapps/root/index.html
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/webapps/root/logo.png (with props)
Removed:
incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4297/
Modified:
incubator/openmeetings/trunk/singlewebapp/build.xml
Modified: incubator/openmeetings/trunk/singlewebapp/build.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/build.xml?rev=1245080&r1=1245079&r2=1245080&view=diff
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/build.xml (original)
+++ incubator/openmeetings/trunk/singlewebapp/build.xml Thu Feb 16 17:00:06 2012
@@ -12,7 +12,7 @@
<property name="main.out.dir" value="${basedir}/bin" />
<!-- Red5 dir -->
- <property name="red5.server.dir" value="red5-1.0.0-r4297" />
+ <property name="red5.server.dir" value="red5-1.0.0-r4315" />
<!-- screen.out.dir -->
<property name="screen.out.dir" value="${basedir}/screen_compile" />
Added: incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/boot.jar
URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/boot.jar?rev=1245080&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/boot.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/access.properties
URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/access.properties?rev=1245080&view=auto
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/access.properties (added)
+++ incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/access.properties Thu Feb 16 17:00:06 2012
@@ -0,0 +1,37 @@
+# access.properties
+
+# Access control file for Remote JMX API access to MBeanServer resources.
+# This file defines the allowed access for different roles.
+
+# The file format for the access file is syntactically the same as the
+# Properties file format. The syntax is described in the Javadoc for
+# java.util.Properties.load.
+
+# A typical access file has multiple lines, where each line is blank,
+# a comment (like this one), or an access control entry.
+
+# An access control entry consists of a role name, and an associated access
+# level. The role name is any string that does not itself contain spaces or
+# tabs. It corresponds to an entry in the password file. The access level
+# is one of the following:
+#
+# "readonly" grants access to read attributes of MBeans.
+# For monitoring, this means that a remote client in this
+# role can read measurements but cannot perform any action
+# that changes the environment of the running program.
+#
+# "readwrite" grants access to read and write attributes of MBeans, to
+# invoke operations on them, and to create or remove them.
+# This access should be only granted to trusted clients,
+# since they can potentially interfere with the smooth
+# operation of a running program.
+
+# A given role should have at most one entry in this file. If a role has no
+# entry, it has no access.
+# If multiple entries are found for the same role name, then the last access
+# entry is used.
+
+# Access rights granted to the authenticated identity by the RMI connector
+# in this example.
+#
+red5user readwrite
Added: incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/build_standalone.properties
URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/build_standalone.properties?rev=1245080&view=auto
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/build_standalone.properties (added)
+++ incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/build_standalone.properties Thu Feb 16 17:00:06 2012
@@ -0,0 +1,17 @@
+#Filter file
+context.config.location=/WEB-INF/red5-*.xml
+locator.factory.selector=red5.xml
+global.scope=<context-param><param-name>globalScope</param-name><param-value>default</param-value></context-param>
+parent.context.key=<context-param><param-name>parentContextKey</param-name><param-value>default.context</param-value></context-param>
+context.loader.listener=org.springframework.web.context.ContextLoaderListener
+request.context.listener=
+gateway.servlet=<servlet><servlet-name>gateway</servlet-name><servlet-class>org.red5.server.net.servlet.AMFGatewayServlet</servlet-class><load-on-startup>1</load-on-startup></servlet>
+gateway.servlet.mapping=<servlet-mapping><servlet-name>gateway</servlet-name><url-pattern>/gateway</url-pattern></servlet-mapping>
+rtmpt.servlet=
+rtmpt.servlet.mappings=
+
+
+
+
+
+
Added: incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/catalina.policy
URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/catalina.policy?rev=1245080&view=auto
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/catalina.policy (added)
+++ incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/catalina.policy Thu Feb 16 17:00:06 2012
@@ -0,0 +1,221 @@
+// ============================================================================
+// red5.policy - Security Policy Permissions for Red5
+//
+// This file contains a default set of security policies to be enforced (by the
+// JVM) In addition to the permissions granted here, the following additional permissions are
+// granted to the codebase specific to each web application:
+//
+// ============================================================================
+
+
+// ========== SYSTEM CODE PERMISSIONS =========================================
+
+// These permissions apply to javac
+grant codeBase "file:${java.home}/lib/-" {
+ permission java.security.AllPermission;
+};
+
+// These permissions apply to all shared system extensions
+grant codeBase "file:${java.home}/jre/lib/ext/-" {
+ permission java.security.AllPermission;
+};
+
+// These permissions apply to javac when ${java.home] points at $JAVA_HOME/jre
+grant codeBase "file:${java.home}/../lib/-" {
+ permission java.security.AllPermission;
+};
+
+// These permissions apply to all shared system extensions when
+// ${java.home} points at $JAVA_HOME/jre
+grant codeBase "file:${java.home}/lib/ext/-" {
+ permission java.security.AllPermission;
+};
+
+
+// ========== RED5 CODE PERMISSIONS =======================================
+
+
+// These permissions apply to the main code
+grant codeBase "file:red5.jar" {
+ permission java.security.AllPermission;
+};
+
+grant codeBase "file:${red5.home}/red5.jar" {
+ permission java.security.AllPermission;
+};
+
+grant codeBase "file:${red5.root}/red5.jar" {
+ permission java.security.AllPermission;
+};
+
+// These permissions apply to the servlet API classes
+// and those that are shared across all class loaders
+// located in the "common" directory
+grant codeBase "file:lib/-" {
+ permission java.security.AllPermission;
+};
+
+grant codeBase "file:${red5.home}/lib/-" {
+ permission java.security.AllPermission;
+};
+
+grant codeBase "file:${red5.root}/lib/-" {
+ permission java.security.AllPermission;
+};
+
+// The permissions granted to the balancer WEB-INF/classes directory
+//grant codeBase "file:${catalina.home}/webapps/balancer/WEB-INF/classes/-" {
+// permission java.lang.RuntimePermission "accessClassInPackage.org.apache.tomcat.util.digester";
+// permission java.lang.RuntimePermission "accessClassInPackage.org.apache.tomcat.util.digester.*";
+//};
+
+// ========== WEB APPLICATION PERMISSIONS =====================================
+
+
+// These permissions are granted by default to all web applications
+// In addition, a web application will be given a read FilePermission
+// and JndiPermission for all files and directories in its document root.
+grant {
+
+ //Red5 specific properties
+ permission java.util.PropertyPermission "red5.root", "read";
+ permission java.util.PropertyPermission "red5.lib_root", "read";
+ permission java.util.PropertyPermission "red5.deployment.type", "read";
+ permission java.util.PropertyPermission "logback.ContextSelector", "read";
+
+ permission javax.management.MBeanPermission "*", "invoke";
+ permission javax.management.MBeanPermission "*", "removeNotificationListener";
+ permission javax.management.MBeanPermission "*", "unregisterMBean";
+ permission javax.management.MBeanPermission "*", "queryNames";
+
+ permission java.lang.RuntimePermission "exitVM";
+ permission java.lang.RuntimePermission "loadLibrary";
+ permission java.lang.RuntimePermission "getClassLoader";
+ permission java.lang.RuntimePermission "setContextClassLoader";
+
+ //specifically so that tomcat can be shutdown
+ permission java.lang.RuntimePermission "modifyThread";
+
+ permission javax.security.auth.AuthPermission "doAsPrivileged";
+
+ permission java.net.SocketPermission "127.0.0.1:9999", "connect,resolve";
+
+ //permission java.io.FilePermission "file:C:/red5/work/red5Engine/0.0.0.0/oflaDemo/loader", "read,write";
+
+ // Required for JNDI lookup of named JDBC DataSource's and
+ // javamail named MimePart DataSource used to send mail
+ permission java.util.PropertyPermission "java.home", "read";
+ permission java.util.PropertyPermission "java.naming.*", "read";
+ permission java.util.PropertyPermission "javax.sql.*", "read";
+
+ // OS Specific properties to allow read access
+ permission java.util.PropertyPermission "os.name", "read";
+ permission java.util.PropertyPermission "os.version", "read";
+ permission java.util.PropertyPermission "os.arch", "read";
+ permission java.util.PropertyPermission "file.separator", "read";
+ permission java.util.PropertyPermission "path.separator", "read";
+ permission java.util.PropertyPermission "line.separator", "read";
+
+ // JVM properties to allow read access
+ permission java.util.PropertyPermission "java.version", "read";
+ permission java.util.PropertyPermission "java.vendor", "read";
+ permission java.util.PropertyPermission "java.vendor.url", "read";
+ permission java.util.PropertyPermission "java.class.version", "read";
+ permission java.util.PropertyPermission "java.specification.version", "read";
+ permission java.util.PropertyPermission "java.specification.vendor", "read";
+ permission java.util.PropertyPermission "java.specification.name", "read";
+
+ permission java.util.PropertyPermission "java.vm.specification.version", "read";
+ permission java.util.PropertyPermission "java.vm.specification.vendor", "read";
+ permission java.util.PropertyPermission "java.vm.specification.name", "read";
+ permission java.util.PropertyPermission "java.vm.version", "read";
+ permission java.util.PropertyPermission "java.vm.vendor", "read";
+ permission java.util.PropertyPermission "java.vm.name", "read";
+
+ permission java.util.PropertyPermission "java.security.debug", "read";
+ permission java.util.PropertyPermission "java.security.policy", "read";
+
+ // Required for OpenJMX
+ permission java.lang.RuntimePermission "getAttribute";
+
+ // Allow read of JAXP compliant XML parser debug
+ permission java.util.PropertyPermission "jaxp.debug", "read";
+
+ // Precompiled JSPs need access to this package.
+ permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.runtime";
+ permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.runtime.*";
+
+ permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.startup";
+ permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.startup.*";
+
+ permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.core";
+ permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.core.*";
+
+ permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.connector";
+ permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.connector.*";
+
+ permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.security";
+ permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.security.*";
+
+ permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.session";
+ permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.session.*";
+
+ permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.loader";
+ permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.loader.*";
+
+ permission java.lang.RuntimePermission "accessClassInPackage.org.apache.tomcat.util.modeler";
+ permission java.lang.RuntimePermission "accessClassInPackage.org.apache.tomcat.util.modeler.*";
+
+ permission java.lang.RuntimePermission "accessClassInPackage.sun.misc";
+ permission java.lang.RuntimePermission "accessClassInPackage.sun.misc.*";
+
+ permission java.lang.RuntimePermission "accessClassInPackage.sun.reflect";
+ permission java.lang.RuntimePermission "accessClassInPackage.sun.reflect.*";
+
+ permission java.lang.RuntimePermission "accessClassInPackage.sun.rmi.registry";
+ permission java.lang.RuntimePermission "accessClassInPackage.sun.rmi.registry.*";
+
+ permission java.lang.RuntimePermission "accessClassInPackage.sun.rmi.server";
+ permission java.lang.RuntimePermission "accessClassInPackage.sun.rmi.server.*";
+
+ permission java.lang.RuntimePermission "accessClassInPackage.sun.rmi.transport";
+ permission java.lang.RuntimePermission "accessClassInPackage.sun.rmi.transport.*";
+
+ permission java.lang.RuntimePermission "accessClassInPackage.sun.rmi.transport.tcp";
+ permission java.lang.RuntimePermission "accessClassInPackage.sun.rmi.transport.tcp.*";
+
+};
+
+
+// You can assign additional permissions to particular web applications by
+// adding additional "grant" entries here, based on the code base for that
+// application, /WEB-INF/classes/, or /WEB-INF/lib/ jar files.
+//
+// Different permissions can be granted to JSP pages, classes loaded from
+// the /WEB-INF/classes/ directory, all jar files in the /WEB-INF/lib/
+// directory, or even to individual jar files in the /WEB-INF/lib/ directory.
+//
+// For instance, assume that the standard "examples" application
+// included a JDBC driver that needed to establish a network connection to the
+// corresponding database and used the scrape taglib to get the weather from
+// the NOAA web server. You might create a "grant" entries like this:
+//
+// The permissions granted to the context root directory apply to JSP pages.
+// grant codeBase "file:${red5.home}/webapps/examples/-" {
+// permission java.net.SocketPermission "dbhost.mycompany.com:5432", "connect";
+// permission java.net.SocketPermission "*.noaa.gov:80", "connect";
+// };
+//
+// The permissions granted to the context WEB-INF/classes directory
+// grant codeBase "file:${red5.home}/webapps/examples/WEB-INF/classes/-" {
+// };
+//
+// The permission granted to your JDBC driver
+// grant codeBase "jar:file:${red5.home}/webapps/examples/WEB-INF/lib/driver.jar!/-" {
+// permission java.net.SocketPermission "dbhost.mycompany.com:5432", "connect";
+// };
+// The permission granted to the scrape taglib
+// grant codeBase "jar:file:${red5.home}/webapps/examples/WEB-INF/lib/scrape.jar!/-" {
+// permission java.net.SocketPermission "*.noaa.gov:80", "connect";
+// };
+
Added: incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/context.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/context.xml?rev=1245080&view=auto
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/context.xml (added)
+++ incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/context.xml Thu Feb 16 17:00:06 2012
@@ -0,0 +1,41 @@
+<?xml version='1.0' encoding='utf-8'?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- The contents of this file will be loaded for each web application -->
+<Context>
+
+ <!-- Default set of monitored resources -->
+ <WatchedResource>WEB-INF/web.xml</WatchedResource>
+ <WatchedResource>META-INF/context.xml</WatchedResource>
+
+
+ <!-- Uncomment this to disable session persistence across Tomcat restarts -->
+ <!--
+ <Manager pathname="" />
+ -->
+
+ <!-- Uncomment this to enable Comet connection tacking (provides events
+ on session expiration as well as webapp lifecycle) -->
+ <!--
+ <Valve className="org.apache.catalina.valves.CometConnectionManagerValve" />
+ -->
+
+ <!--
+ <Loader loaderClass="org.red5.server.tomcat.WebappClassLoader" useSystemClassLoaderAsParent="false" />
+ -->
+
+</Context>
\ No newline at end of file
Added: incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/ehcache.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/ehcache.xml?rev=1245080&view=auto
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/ehcache.xml (added)
+++ incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/ehcache.xml Thu Feb 16 17:00:06 2012
@@ -0,0 +1,324 @@
+<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="ehcache.xsd"
+ updateCheck="false"
+ monitoring="off"
+ dynamicConfig="false">
+
+ <!--
+ Sets the path to the directory where cache files are created.
+
+ If the path is a Java System Property it is replaced by its value in the
+ running VM.
+
+ The following properties are translated:
+ * user.home - User's home directory
+ * user.dir - User's current working directory
+ * java.io.tmpdir - Default temp file path
+
+ Subdirectories can be specified below the property e.g. java.io.tmpdir/one
+ -->
+ <diskStore path="java.io.tmpdir/red5"/>
+
+ <!--
+ Specifies a CacheManagerEventListenerFactory, be used to create a CacheManagerPeerProvider,
+ which is notified when Caches are added or removed from the CacheManager.
+
+ The attributes of CacheManagerEventListenerFactory are:
+ * class - a fully qualified factory class name
+ * properties - comma separated properties having meaning only to the factory.
+
+ Sets the fully qualified class name to be registered as the CacheManager event listener.
+
+ The events include:
+ * adding a Cache
+ * removing a Cache
+
+ Callbacks to listener methods are synchronous and unsynchronized. It is the responsibility
+ of the implementer to safely handle the potential performance and thread safety issues
+ depending on what their listener is doing.
+
+ If no class is specified, no listener is created. There is no default.
+
+ <cacheManagerEventListenerFactory class="" properties=""/>
+ -->
+
+ <!--
+ (Enable for distributed operation)
+
+ Specifies a CacheManagerPeerProviderFactory which will be used to create a
+ CacheManagerPeerProvider, which discovers other CacheManagers in the cluster.
+
+ The attributes of cacheManagerPeerProviderFactory are:
+ * class - a fully qualified factory class name
+ * properties - comma separated properties having meaning only to the factory.
+
+ Ehcache comes with a built-in RMI-based distribution system with two means of discovery of
+ CacheManager peers participating in the cluster:
+ * automatic, using a multicast group. This one automatically discovers peers and detects
+ changes such as peers entering and leaving the group
+ * manual, using manual rmiURL configuration. A hardcoded list of peers is provided at
+ configuration time.
+
+ Configuring Automatic Discovery:
+ Automatic discovery is configured as per the following example:
+ <cacheManagerPeerProviderFactory
+ class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory"
+ properties="peerDiscovery=automatic, multicastGroupAddress=230.0.0.1,
+ multicastGroupPort=4446"/>
+
+ Valid properties are:
+ * peerDiscovery (mandatory) - specify "automatic"
+ * multicastGroupAddress (mandatory) - specify a valid multicast group address
+ * multicastGroupPort (mandatory) - specify a dedicated port for the multicast heartbeat
+ traffic
+
+ Configuring Manual Discovery:
+ Manual discovery is configured as per the following example:
+ <cacheManagerPeerProviderFactory class=
+ "net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory"
+ properties="peerDiscovery=manual,
+ rmiUrls=//server1:40000/sampleCache1|//server2:40000/sampleCache1
+ | //server1:40000/sampleCache2|//server2:40000/sampleCache2"/>
+
+ Valid properties are:
+ * peerDiscovery (mandatory) - specify "manual"
+ * rmiUrls (mandatory) - specify a pipe separated list of rmiUrls, in the form
+ //hostname:port
+
+ The hostname is the hostname of the remote CacheManager peer. The port is the listening
+ port of the RMICacheManagerPeerListener of the remote CacheManager peer.
+
+ An alternate CacheManagerPeerProviderFactory can be used for JNDI discovery of other
+ CacheManagers in the cluster. Only manual discovery is supported.
+
+ For cacheManagerPeerProviderFactory specify class
+ net.sf.ehcache.distribution.JNDIManualRMICacheManagerPeerProviderFactoryerFactory.
+
+ Correspondingly for cacheManagerPeerListenerFactory specify class
+ net.sf.ehcache.distribution.JNDIRMICacheManagerPeerListenerFactoryory.
+
+ Configuring JNDI Manual Discovery:
+ Manual JNDI discovery is configured as per the following example:
+ <cacheManagerPeerProviderFactory class=
+ "net.sf.ehcache.distribution.JNDIManualRMICacheManagerPeerProviderFactoryerFactory"
+ properties="peerDiscovery=manual, stashContexts=true, stashRemoteCachePeers=true,
+ jndiUrls=t3//server1:40000/sampleCache1|t3//server2:40000/sampleCache1
+ |t3//server1:40000/sampleCache2|t3//server2:40000/sampleCache2"/>
+
+ Valid properties are:
+ * peerDiscovery (mandatory) - specify "manual"
+ * stashContexts (optional) - specify "true" or "false". Defaults to true.
+ java.naming.Context objects are stashed for performance.
+ * stashRemoteCachePeers (optional) - specify "true" or "false". Defaults to true.
+ CachePeer objects are stashed for performance.
+ * jndiUrls (mandatory) - specify a pipe separated list of jndiUrls,
+ in the form protocol//hostname:port
+
+ <cacheManagerPeerProviderFactory
+ class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory"
+ properties="peerDiscovery=automatic,
+ multicastGroupAddress=230.0.0.1,
+ multicastGroupPort=4446"/>
+ -->
+
+ <!--
+ (Enable for distributed operation)
+
+ Specifies a CacheManagerPeerListenerFactory which will be used to create a
+ CacheManagerPeerListener, which
+ listens for messages from cache replicators participating in the cluster.
+
+ The attributes of cacheManagerPeerListenerFactory are:
+ class - a fully qualified factory class name
+ properties - comma separated properties having meaning only to the factory.
+
+ Ehcache comes with a built-in RMI-based distribution system. The listener component is
+ RMICacheManagerPeerListener which is configured using
+ RMICacheManagerPeerListenerFactory. It is configured as per the following example:
+
+ <cacheManagerPeerListenerFactory
+ class="net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory"
+ properties="hostName=fully_qualified_hostname_or_ip,
+ port=40001,
+ socketTimeoutMillis=120000"/>
+
+ All properties are optional. They are:
+ * hostName - the hostName of the host the listener is running on. Specify
+ where the host is multihomed and you want to control the interface over which cluster
+ messages are received. Defaults to the host name of the default interface if not
+ specified.
+ * port - the port the listener listens on. This defaults to a free port if not specified.
+ * socketTimeoutMillis - the number of ms client sockets will stay open when sending
+ messages to the listener. This should be long enough for the slowest message.
+ If not specified it defaults 120000ms.
+
+
+ An alternate CacheManagerPeerListenerFactory can be also be used for JNDI binding of
+ listeners for messages from cache replicators participating in the cluster. For
+ cacheManagerPeerListenerFactory specify
+ class net.sf.ehcache.distribution.JNDIRMICacheManagerPeerListenerFactory.
+ Correspondingly for cacheManagerPeerProviderFactory specify class
+ net.sf.ehcache.distribution.JNDIManualRMICacheManagerPeerProviderFactoryerFactory.
+ Properties for JNDIRMICacheManagerPeerListenerFactory are the same as
+ RMICacheManagerPeerListenerFactory.
+
+
+ <cacheManagerPeerListenerFactory
+ class="net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory"/>
+ -->
+ <!-- Cache configuration.
+
+ The following attributes are required.
+
+ name:
+ Sets the name of the cache. This is used to identify the cache. It must be unique.
+
+ maxElementsInMemory:
+ Sets the maximum number of objects that will be created in memory
+
+ eternal:
+ Sets whether elements are eternal. If eternal, timeouts are ignored and the
+ element is never expired.
+
+ overflowToDisk:
+ Sets whether elements can overflow to disk when the in-memory cache
+ has reached the maxInMemory limit.
+
+ The following attributes are optional.
+
+ timeToIdleSeconds:
+ Sets the time to idle for an element before it expires.
+ i.e. The maximum amount of time between accesses before an element expires
+ Is only used if the element is not eternal.
+ Optional attribute. A value of 0 means that an Element can idle for infinity.
+ The default value is 0.
+
+ timeToLiveSeconds:
+ Sets the time to live for an element before it expires.
+ i.e. The maximum time between creation time and when an element expires.
+ Is only used if the element is not eternal.
+ Optional attribute. A value of 0 means that and Element can live for infinity.
+ The default value is 0.
+
+ diskPersistent:
+ Whether the disk store persists between restarts of the Virtual Machine.
+ The default value is false.
+
+ diskExpiryThreadIntervalSeconds:
+ The number of seconds between runs of the disk expiry thread. The default value
+ is 120 seconds.
+
+ memoryStoreEvictionPolicy:
+ Policy would be enforced upon reaching the maxElementsInMemory limit. Default
+ policy is Least Recently Used (specified as LRU). Other policies available -
+ First In First Out (specified as FIFO) and Less Frequently Used
+ (specified as LFU)
+
+ Cache elements can also contain sub elements which take the same format of a factory class
+ and properties. Defined sub-elements are:
+
+ * cacheEventListenerFactory - Enables registration of listeners for cache events, such as
+ put, remove, update, and expire.
+
+ * bootstrapCacheLoaderFactory - Specifies a BootstrapCacheLoader, which is called by a
+ cache on initialisation to prepopulate itself.
+
+ Each cache that will be distributed needs to set a cache event listener which replicates
+ messages to the other CacheManager peers. For the built-in RMI implementation this is done
+ by adding a cacheEventListenerFactory element of type RMICacheReplicatorFactory to each
+ distributed cache's configuration as per the following example:
+
+ <cacheEventListenerFactory class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
+ properties="replicateAsynchronously=true,
+ replicatePuts=true,
+ replicateUpdates=true,
+ replicateUpdatesViaCopy=true,
+ replicateRemovals=true "/>
+
+ The RMICacheReplicatorFactory recognises the following properties:
+
+ * replicatePuts=true|false - whether new elements placed in a cache are
+ replicated to others. Defaults to true.
+
+ * replicateUpdates=true|false - whether new elements which override an
+ element already existing with the same key are replicated. Defaults to true.
+
+ * replicateRemovals=true - whether element removals are replicated. Defaults to true.
+
+ * replicateAsynchronously=true | false - whether replications are
+ asynchronous (true) or synchronous (false). Defaults to true.
+
+ * replicateUpdatesViaCopy=true | false - whether the new elements are
+ copied to other caches (true), or whether a remove message is sent. Defaults to true.
+
+
+ * asynchronousReplicationIntervalMillis=<number of milliseconds> - The asynchronous
+ replicator runs at a set interval of milliseconds. The default is 1000. The minimum
+ is 10. This property is only applicable if replicateAsynchronously=true
+
+
+ The RMIBootstrapCacheLoader bootstraps caches in clusters where RMICacheReplicators are
+ used. It is configured as per the following example:
+
+ <bootstrapCacheLoaderFactory
+ class="net.sf.ehcache.distribution.RMIBootstrapCacheLoaderFactory"
+ properties="bootstrapAsynchronously=true, maximumChunkSizeBytes=5000000"/>
+
+ The RMIBootstrapCacheLoaderFactory recognises the following optional properties:
+
+ * bootstrapAsynchronously=true|false - whether the bootstrap happens in the background
+ after the cache has started. If false, bootstrapping must complete before the cache is
+ made available. The default value is true.
+
+ * maximumChunkSizeBytes=<integer> - Caches can potentially be very large, larger than the
+ memory limits of the VM. This property allows the bootstraper to fetched elements in
+ chunks. The default chunk size is 5000000 (5MB).
+
+ -->
+
+ <!--
+ Mandatory Default Cache configuration. These settings will be applied to caches
+ created programmtically using CacheManager.add(String cacheName)
+ -->
+ <defaultCache
+ maxElementsInMemory="4"
+ eternal="false"
+ timeToIdleSeconds="120"
+ timeToLiveSeconds="120"
+ overflowToDisk="false"
+ diskPersistent="false"
+ diskExpiryThreadIntervalSeconds="120"
+ memoryStoreEvictionPolicy="LFU"
+ />
+
+ <!-- org.red5.io.amf.Output.stringCache
+ Caches strings for output via AMF serialization. Keeps up to 1000 elements in memory,
+ does not overflow to disk, is not eternal, and expires elements after 20 minutes of
+ inactivity. -->
+ <cache name="org.red5.io.amf.Output.stringCache"
+ maxElementsInMemory="1000"
+ eternal="false"
+ timeToIdleSeconds="1200"
+ overflowToDisk="false"/>
+
+ <!-- org.red5.io.amf.Output.serializeCache
+ -->
+ <cache name="org.red5.io.amf.Output.serializeCache"
+ maxElementsInMemory="200"
+ eternal="false"
+ timeToIdleSeconds="1200"
+ overflowToDisk="false"/>
+
+ <cache name="org.red5.io.amf.Output.fieldCache"
+ maxElementsInMemory="200"
+ eternal="false"
+ timeToIdleSeconds="1200"
+ overflowToDisk="false"/>
+
+ <cache name="org.red5.io.amf.Output.getterCache"
+ maxElementsInMemory="200"
+ eternal="false"
+ timeToIdleSeconds="1200"
+ overflowToDisk="false"/>
+
+</ehcache>
Added: incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/jee-container.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/jee-container.xml?rev=1245080&view=auto
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/jee-container.xml (added)
+++ incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/jee-container.xml Thu Feb 16 17:00:06 2012
@@ -0,0 +1,193 @@
+<?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>${http.port}</value></property>
+ <property name="redirectPort"><value>${https.port}</value></property>
+ <property name="enableLookups"><value>false</value></property>
+ <property name="useIPVHosts"><value>true</value></property>
+ <property name="URIEncoding"><value>${http.URIEncoding}</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="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="address">
+ <bean class="java.net.InetSocketAddress">
+ <constructor-arg index="0" type="java.lang.String" value="${rtmpt.host}" />
+ <constructor-arg index="1" type="int" value="${rtmpt.port}" />
+ </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="address">
+ <bean class="java.net.InetSocketAddress">
+ <constructor-arg index="0" type="java.lang.String" value="${rtmps.host}" />
+ <constructor-arg index="1" type="int" value="${rtmps.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>
Added: incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/keystore
URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/keystore?rev=1245080&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/keystore
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/keystore.jmx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/keystore.jmx?rev=1245080&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/keystore.jmx
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/logback.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/logback.xml?rev=1245080&view=auto
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/logback.xml (added)
+++ incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/logback.xml Thu Feb 16 17:00:06 2012
@@ -0,0 +1,178 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configuration>
+ <!-- Uncomment if you are using the logback plugin for eclipse
+ <consolePlugin/>
+ -->
+ <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
+ <encoder>
+ <pattern>[%p] [%thread] %logger - %msg%n</pattern>
+ </encoder>
+ </appender>
+ <appender name="FILE" class="ch.qos.logback.core.FileAppender">
+ <File>log/red5.log</File>
+ <Append>false</Append>
+ <encoder>
+ <pattern>%d{ISO8601} [%thread] %-5level %logger{35} - %msg%n</pattern>
+ </encoder>
+ </appender>
+ <appender name="ERRORFILE" class="ch.qos.logback.core.FileAppender">
+ <File>log/error.log</File>
+ <Append>false</Append>
+ <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
+ <level>WARN</level>
+ </filter>
+ <encoder>
+ <pattern>%d{ISO8601} [%thread] %-5level %logger{35} - %msg%n</pattern>
+ </encoder>
+ </appender>
+ <root>
+ <level value="WARN" />
+ <appender-ref ref="CONSOLE" />
+ <appender-ref ref="FILE" />
+ <appender-ref ref="ERRORFILE" />
+ </root>
+ <!-- Red5 -->
+ <logger name="org.red5.server.Launcher">
+ <level value="INFO" />
+ </logger>
+ <logger name="org.red5.io">
+ <level value="INFO" />
+ </logger>
+ <logger name="org.red5.logging.DerbyLogInterceptor">
+ <level value="WARN" />
+ </logger>
+ <logger name="org.red5.server">
+ <level value="WARN" />
+ </logger>
+ <logger name="org.red5.server.Client">
+ <level value="INFO" />
+ </logger>
+ <logger name="org.red5.server.api.stream.support">
+ <level value="INFO" />
+ </logger>
+ <logger name="org.red5.server.cache">
+ <level value="WARN" />
+ </logger>
+ <logger name="org.red5.server.jmx">
+ <level value="WARN" />
+ </logger>
+ <logger name="org.red5.server.messaging.InMemoryPushPushPipe">
+ <level value="INFO" />
+ </logger>
+ <logger name="org.red5.server.net">
+ <level value="INFO" />
+ </logger>
+ <logger name="org.red5.server.net.rtmpt.RTMPTServlet">
+ <level value="WARN" />
+ </logger>
+ <logger name="org.red5.server.net.servlet">
+ <level value="WARN" />
+ </logger>
+ <logger name="org.red5.server.net.proxy">
+ <level value="INFO" />
+ </logger>
+ <logger name="org.red5.server.net.remoting">
+ <level value="WARN" />
+ </logger>
+ <logger name="org.red5.server.net.rtmp">
+ <level value="WARN" />
+ </logger>
+ <logger name="org.red5.server.net.rtmp.BaseRTMPHandler">
+ <level value="OFF" />
+ </logger>
+ <logger name="org.red5.server.net.rtmp.RTMPMinaIoHandler">
+ <level value="OFF" />
+ </logger>
+ <logger name="org.red5.server.net.rtmp.status">
+ <level value="INFO" />
+ </logger>
+ <logger name="org.red5.server.net.rtmpt">
+ <level value="WARN" />
+ </logger>
+ <logger name="org.red5.server.persistence">
+ <level value="WARN" />
+ </logger>
+ <logger name="org.red5.server.script">
+ <level value="WARN" />
+ </logger>
+ <logger name="org.red5.server.service">
+ <level value="INFO" />
+ </logger>
+ <logger name="org.red5.server.so">
+ <level value="WARN" />
+ </logger>
+ <logger name="org.red5.server.stream">
+ <level value="INFO" />
+ </logger>
+ <logger name="org.red5.server.stream.consumer">
+ <level value="WARN" />
+ </logger>
+ <logger name="org.red5.server.net.mrtmp">
+ <level value="WARN" />
+ </logger>
+ <!-- Mina -->
+ <logger name="org.apache.mina">
+ <level value="WARN" />
+ </logger>
+ <logger name="org.apache.mina.filter">
+ <level value="WARN" />
+ </logger>
+ <logger name="org.red5.server.adapter.MultiThreadedApplicationAdapter" >
+ <level value="INFO"/>
+ </logger>
+ <!-- Apache commons -->
+ <logger name="org.apache.commons">
+ <level value="WARN" />
+ </logger>
+ <logger name="httpclient">
+ <level value="WARN" />
+ </logger>
+ <!-- Apache catalina / tomcat -->
+ <logger name="org.red5.server.tomcat">
+ <level value="INFO" />
+ </logger>
+ <logger name="org.apache.catalina">
+ <level value="WARN" />
+ </logger>
+ <logger name="org.apache.jasper">
+ <level value="INFO" />
+ </logger>
+ <logger name="org.apache.tomcat">
+ <level value="INFO" />
+ </logger>
+ <logger name="org.apache.tomcat.util.net">
+ <level value="WARN" />
+ </logger>
+ <logger name="org.apache.coyote.http11">
+ <level value="INFO" />
+ </logger>
+ <!-- Spring -->
+ <logger name="org.springframework">
+ <level value="INFO" />
+ </logger>
+ <logger name="org.springframework.beans.factory">
+ <level value="INFO" />
+ </logger>
+ <logger name="org.springframework.beans.factory.xml">
+ <level value="WARN" />
+ </logger>
+ <logger name="org.springframework.ui.context.support">
+ <level value="WARN" />
+ </logger>
+ <logger name="org.springframework.web.context">
+ <level value="INFO" />
+ </logger>
+ <logger name="org.springframework.web.context.support">
+ <level value="WARN" />
+ </logger>
+ <logger name="org.quartz">
+ <level value="WARN" />
+ </logger>
+ <!-- Caching -->
+ <logger name="net.sf.ehcache">
+ <level value="INFO" />
+ </logger>
+ <logger name="ch.qos">
+ <level value="WARN" />
+ </logger>
+</configuration>
Added: incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/no-jee-container.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/no-jee-container.xml?rev=1245080&view=auto
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/no-jee-container.xml (added)
+++ incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/no-jee-container.xml Thu Feb 16 17:00:06 2012
@@ -0,0 +1,14 @@
+<?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">
+
+<!--
+This file should be replaced by the container configuration file that you have selected
+If no JEE container is selected, some JEE features will not be available such as Servlets or JSP's.
+Go to this link for more information: http://wiki.red5.org/wiki/AppServer/JEEContainerPlugins
+-->
+
+</beans>
\ No newline at end of file
Added: incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/password.properties
URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/password.properties?rev=1245080&view=auto
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/password.properties (added)
+++ incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/password.properties Thu Feb 16 17:00:06 2012
@@ -0,0 +1,33 @@
+# password.properties
+
+# Password file for Remote JMX API authentication. This file defines
+# the different roles and their passwords.
+
+# The file format for the password file is syntactically the same as
+# the Properties file format. The syntax is described in the Javadoc
+# for java.util.Properties.load.
+
+# A typical password file has multiple lines, where each line is blank,
+# a comment (like this one), or a password entry.
+
+# A password entry consists of a role name and an associated password.
+# The role name is any string that does not itself contain spaces or
+# tabs. The password is again any string that does not contain spaces
+# or tabs. Note that passwords appear in the clear in this file, so it
+# is a good idea not to use valuable passwords.
+
+# A given role should have at most one entry in this file. If a role
+# has no entry, it has no access.
+# If multiple entries are found for the same role name, then the last
+# one is used.
+
+# In a typical installation, this file can be read by anybody on the
+# local machine, and possibly by people on other machines.
+# For security, you should either restrict the access to this file,
+# or specify another, less accessible file in the management config
+# file as described above.
+
+# Role and password used for authentication by the RMI connector in
+# this example.
+#
+red5user changeme
Added: incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/quartz.properties
URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/quartz.properties?rev=1245080&view=auto
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/quartz.properties (added)
+++ incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/quartz.properties Thu Feb 16 17:00:06 2012
@@ -0,0 +1,37 @@
+#============================================================================
+# Configure Main Scheduler Properties
+#
+# http://www.opensymphony.com/quartz/wikidocs/ConfigMain.html
+# http://www.opensymphony.com/quartz/api/
+#============================================================================
+
+org.quartz.scheduler.instanceName = Red5_Scheduler
+org.quartz.scheduler.instanceId = AUTO
+
+# org.quartz.scheduler.classLoadHelper.class
+# Defaults to the most robust approach, which is to use the "org.quartz.simpl.CascadingClassLoadHelper" class
+# which in turn uses every other ClassLoadHelper class until one works. You should probably not find the need
+# to specify any other class for this property, though strange things seem to happen within application servers.
+# All of the current possible ClassLoadHelper implementation can be found in the org.quartz.simpl package.
+# Default helper
+org.quartz.scheduler.classLoadHelper.class = org.quartz.simpl.CascadingClassLoadHelper
+#org.quartz.scheduler.classLoadHelper.class = org.quartz.simpl.LoadingLoaderClassLoadHelper
+#org.quartz.scheduler.classLoadHelper.class = org.quartz.simpl.ThreadContextClassLoadHelper
+#org.quartz.scheduler.classLoadHelper.class = org.quartz.simpl.SimpleClassLoadHelper
+#org.quartz.scheduler.classLoadHelper.class = org.red5.classloading.QuartzClassLoadHelper
+
+#============================================================================
+# Configure ThreadPool
+#============================================================================
+
+org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool
+org.quartz.threadPool.threadCount = 4
+org.quartz.threadPool.threadPriority = 5
+
+#============================================================================
+# Configure JobStore
+#============================================================================
+
+org.quartz.jobStore.misfireThreshold = 60000
+
+org.quartz.jobStore.class = org.quartz.simpl.RAMJobStore
Added: incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/realm.properties
URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/realm.properties?rev=1245080&view=auto
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/realm.properties (added)
+++ incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/realm.properties Thu Feb 16 17:00:06 2012
@@ -0,0 +1,14 @@
+#
+# This file defines users passwords and roles for a HashUserRealm
+#
+# The format is
+# <username>: <password>[,<rolename> ...]
+#
+# Passwords may be clear text, obfuscated or checksummed. The class
+# org.mortbay.util.Password should be used to generate obfuscated
+# passwords or password checksums
+#
+# If DIGEST Authentication is used, the password must be in a recoverable
+# format, either plain text or OBF:.
+#
+admin: admin,admin
Added: incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/red5-common.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/red5-common.xml?rev=1245080&view=auto
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/red5-common.xml (added)
+++ incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/red5-common.xml Thu Feb 16 17:00:06 2012
@@ -0,0 +1,267 @@
+<?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="placeholderConfig"
+ class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
+ <property name="location" value="classpath:/red5.properties" />
+ </bean>
+
+ <!-- This context is shared between all child contexts. -->
+
+ <!-- Server bean -->
+ <bean id="red5.server" class="org.red5.server.Server">
+ <property name="notifierThreadPoolSize" value="4"/>
+ </bean>
+
+ <!-- JMX server -->
+ <bean id="jmxFactory" class="org.red5.server.jmx.JMXFactory">
+ <property name="domain" value="org.red5.server"/>
+ </bean>
+ <bean id="jmxAgent" class="org.red5.server.jmx.JMXAgent" init-method="init">
+ <!-- The RMI adapter allows remote connections to the MBeanServer -->
+ <property name="enableRmiAdapter" value="true"/>
+ <property name="rmiAdapterPort" value="${jmx.rmi.port.registry}"/>
+ <property name="rmiAdapterRemotePort" value="${jmx.rmi.port.remoteobjects}"/>
+ <property name="rmiAdapterHost" value="${jmx.rmi.host}"/>
+ <property name="enableSsl" value="${jmx.rmi.ssl}"/>
+ <!-- Starts a registry if it doesnt exist -->
+ <property name="startRegistry" value="true"/>
+ <!-- Authentication -->
+ <property name="remoteAccessProperties" value="${red5.config_root}/access.properties"/>
+ <property name="remotePasswordProperties" value="${red5.config_root}/password.properties"/>
+ <property name="remoteSSLKeystore" value="${red5.config_root}/keystore.jmx"/>
+ <property name="remoteSSLKeystorePass" value="${rtmps.keystorepass}"/>
+ <!-- Mina offers its own Mbeans so you may integrate them here -->
+ <property name="enableMinaMonitor" value="false"/>
+ </bean>
+
+ <!-- Serializes objects to AMF binary -->
+ <bean id="serializer" class="org.red5.io.object.Serializer"/>
+
+ <!-- Deserializes objects from AMF binary -->
+ <bean id="deserializer" class="org.red5.io.object.Deserializer"/>
+
+ <!-- Deals with StatusObjects representing statuses like FMS NetConnection.Connect.Success status -->
+ <bean id="statusObjectService" class="org.red5.server.net.rtmp.status.StatusObjectService"
+ autowire="byType" init-method="initialize"/>
+
+ <!-- RTMP codec factory -->
+ <bean id="rtmpCodecFactory" class="org.red5.server.net.rtmp.codec.RTMPMinaCodecFactory"
+ autowire="byType" init-method="init">
+ <property name="minaEncoder">
+ <bean class="org.red5.server.net.rtmp.codec.RTMPMinaProtocolEncoder">
+ <property name="serializer">
+ <ref bean="serializer"/>
+ </property>
+ <property name="baseTolerance" value="5000" />
+ <property name="dropLiveFuture" value="false" />
+ </bean>
+ </property>
+ <property name="minaDecoder">
+ <bean class="org.red5.server.net.rtmp.codec.RTMPMinaProtocolDecoder">
+ <property name="deserializer">
+ <ref bean="deserializer"/>
+ </property>
+ </bean>
+ </property>
+ </bean>
+
+ <!-- RTMPT codec factory -->
+ <bean id="rtmptCodecFactory" class="org.red5.server.net.rtmpt.codec.RTMPTCodecFactory"
+ autowire="byType" init-method="init">
+ <property name="serializer">
+ <ref bean="serializer"/>
+ </property>
+ <property name="deserializer">
+ <ref bean="deserializer"/>
+ </property>
+ </bean>
+
+ <!-- Remoting calls codec factory -->
+ <bean id="remotingCodecFactory" class="org.red5.server.net.remoting.codec.RemotingCodecFactory"
+ autowire="byType" init-method="init"/>
+
+ <!-- Video codec factory -->
+ <!-- This is only needed if you have your own custom codecs
+ <bean id="videoCodecFactory" class="org.red5.server.stream.VideoCodecFactory">
+ <property name="codecs">
+ <list>
+ <bean id="screenVideoCodec" class="org.red5.server.stream.codec.ScreenVideo"/>
+ <bean id="sorensonVideoCodec" class="org.red5.server.stream.codec.SorensonVideo"/>
+ <bean id="avcVideoCodec" class="org.red5.server.stream.codec.AVCVideo"/>
+ </list>
+ </property>
+ </bean>
+ -->
+
+ <!-- Streamable file factory -->
+ <bean id="streamableFileFactory" class="org.red5.io.StreamableFileFactory">
+ <property name="services">
+ <list>
+ <bean id="flvFileService" class="org.red5.io.flv.impl.FLVService">
+ <property name="generateMetadata" value="true"/>
+ </bean>
+ <bean id="mp3FileService" class="org.red5.io.mp3.impl.MP3Service"/>
+ <bean id="mp4FileService" class="org.red5.io.mp4.impl.MP4Service"/>
+ <bean id="m4aFileService" class="org.red5.io.m4a.impl.M4AService"/>
+ </list>
+ </property>
+ </bean>
+
+ <!-- Thread that writes modified objects to disk periodically -->
+ <bean id="filePersistenceThread" class="org.red5.server.persistence.FilePersistenceThread"/>
+
+ <!-- Handles creation / lookup of shared objects -->
+ <bean id="sharedObjectService" class="org.red5.server.so.SharedObjectService">
+ <property name="persistenceClassName">
+ <value>org.red5.server.persistence.FilePersistence</value>
+ </property>
+ </bean>
+
+ <!-- High level access to streams -->
+ <bean id="streamService" class="org.red5.server.stream.StreamService"/>
+
+ <!-- High level access to broadcasted streams -->
+ <bean id="providerService" class="org.red5.server.stream.ProviderService"/>
+
+ <!-- Provides output to consumers -->
+ <bean id="consumerService" class="org.red5.server.stream.ConsumerService"/>
+
+ <!-- Scheduling service -->
+ <bean id="schedulingService" class="org.red5.server.scheduling.QuartzSchedulingService"/>
+
+ <!-- War deployer -->
+ <bean id="warDeployService" class="org.red5.server.service.WarDeployer" init-method="init" destroy-method="shutdown">
+ <property name="scheduler" ref="schedulingService"/>
+ <property name="checkInterval" value="600000"/>
+ <property name="deploymentDirectory" value="${red5.root}/webapps"/>
+ </bean>
+
+ <!-- Use injection to setup thread pool for remoting clients -->
+ <bean id="remotingClient" class="org.red5.server.net.remoting.RemotingClient">
+ <property name="poolSize" value="8"/>
+ </bean>
+
+ <!--
+ Now we can load the cache engine, only one may be enabled at a time. If no-caching is required select the
+ NoCacheImpl. Three other implementations based on EhCache, and Red5Cache are also available.
+ -->
+ <bean id="object.cache" class="org.red5.server.cache.NoCacheImpl"/>
+ <!--
+ <bean id="object.cache" class="org.red5.server.cache.CacheImpl" init-method="init" autowire="byType">
+ <property name="maxEntries"><value>5</value></property>
+ </bean>
+ <bean id="object.cache" class="org.red5.server.cache.EhCacheImpl" init-method="init">
+ <property name="diskStore" value="java.io.tmpdir" />
+ <property name="memoryStoreEvictionPolicy" value="LFU" />
+ <property name="cacheManagerEventListener"><null/></property>
+ <property name="cacheConfigs">
+ <list>
+ <bean class="net.sf.ehcache.config.CacheConfiguration">
+ <property name="name" value="flv.cache" />
+ <property name="maxElementsInMemory" value="5" />
+ <property name="eternal" value="false" />
+ <property name="timeToIdleSeconds" value="0" />
+ <property name="timeToLiveSeconds" value="0" />
+ <property name="overflowToDisk" value="false" />
+ <property name="diskPersistent" value="false" />
+ </bean>
+ </list>
+ </property>
+ </bean>
+-->
+
+ <!--
+ Cache to use for keyframe metadata.
+ -->
+ <bean id="keyframe.cache" class="org.red5.io.CachingFileKeyFrameMetaCache">
+ <property name="maxCacheEntry" value="500" />
+ </bean>
+
+ <!--
+ Represents FLV files
+ Use injection to set the cache impl to be used with flvs
+ -->
+ <bean id="flv.impl" class="org.red5.io.flv.impl.FLV">
+ <property name="cache">
+ <ref bean="object.cache"/>
+ </property>
+ </bean>
+
+ <!-- Use injection to set the keyframe cache for FLV files -->
+ <bean id="flvreader.impl" class="org.red5.io.flv.impl.FLVReader">
+ <property name="keyFrameCache">
+ <ref bean="keyframe.cache"/>
+ </property>
+ </bean>
+
+ <!-- Use injection to set the keyframe cache for MP4 files -->
+ <bean id="mp4reader.impl" class="org.red5.io.mp4.impl.MP4Reader"/>
+
+ <!-- Use injection to set the keyframe cache for MP3 files -->
+ <bean id="mp3reader.impl" class="org.red5.io.mp3.impl.MP3Reader">
+ <property name="frameCache">
+ <ref bean="keyframe.cache"/>
+ </property>
+ </bean>
+
+ <!-- Use injection to set the buffer type for reading FLV files -->
+ <bean class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
+ <property name="staticMethod">
+ <value>org.red5.io.flv.impl.FLVReader.setBufferType</value>
+ </property>
+ <!-- Three buffer types are available 'auto', 'heap', and 'direct' -->
+ <property name="arguments" value="auto"/>
+ </bean>
+
+ <!-- Use injection to set the buffer size for reading FLV files -->
+ <bean class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
+ <property name="staticMethod">
+ <value>org.red5.io.flv.impl.FLVReader.setBufferSize</value>
+ </property>
+ <!-- Three buffer types are available 'auto', 'heap', and 'direct' -->
+ <property name="arguments" value="4096"/>
+ </bean>
+
+ <!-- Executor that will be used to schedule stream playback to keep
+ the client buffer filled.
+ -->
+ <bean id="streamExecutor" class="java.util.concurrent.ScheduledThreadPoolExecutor">
+ <constructor-arg value="4"/>
+ <property name="maximumPoolSize" value="32"/>
+ </bean>
+
+ <!-- Low level access for recording to file -->
+ <bean id="fileConsumer" scope="prototype" lazy-init="true" class="org.red5.server.stream.consumer.FileConsumer">
+ <property name="delayWrite" value="true"/>
+ <property name="queueThreshold" value="33"/>
+ </bean>
+
+ <!-- ClientBroadcastStream and PlaylistSubscriberStream
+ that will be used by RTMPConnection and maybe other classes.
+ These beans are lazy-init because most likely server will need
+ to be up and running before we can get a smart implementation
+ of these streams
+ -->
+ <bean id="playlistSubscriberStream" scope="prototype" lazy-init="true" class="org.red5.server.stream.PlaylistSubscriberStream">
+ <property name="executor" ref="streamExecutor"/>
+ <!-- Check for buffer underruns every X ms and generate NetStream.Play.InsufficientBW accordingly.
+ Set to 0 to disable. Be careful not to set this value too small to avoid network congestion.
+ -->
+ <property name="bufferCheckInterval" value="5000"/>
+ <!-- A NetStream.Play.InsufficientBW message is generated if more than X messages are queued for sending on the connection.
+ This value will also control the maximum pending messages on the server. To use a smaller value on slow connections
+ to get smaller delay for downstream server commands.
+ -->
+ <property name="underrunTrigger" value="100"/>
+ </bean>
+
+ <bean id="clientBroadcastStream" scope="prototype" lazy-init="true" class="org.red5.server.stream.ClientBroadcastStream">
+ <property name="automaticRecording" value="false"/>
+ </bean>
+
+</beans>
Added: incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/red5-core.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/red5-core.xml?rev=1245080&view=auto
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/red5-core.xml (added)
+++ incubator/openmeetings/trunk/singlewebapp/red5-1.0.0-r4315/dist/conf/red5-core.xml Thu Feb 16 17:00:06 2012
@@ -0,0 +1,165 @@
+<?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">
+ <!-- This context holds all the networking: mina -->
+
+ <bean id="customEditorConfigurer" class="org.springframework.beans.factory.config.CustomEditorConfigurer">
+ <property name="customEditors">
+ <map>
+ <entry key="java.net.SocketAddress" value="org.apache.mina.integration.beans.InetSocketAddressEditor" />
+ </map>
+ </property>
+ </bean>
+
+ <bean id="placeholderConfig"
+ class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
+ <property name="location" value="classpath:/red5.properties" />
+ </bean>
+
+ <!-- RTMP -->
+
+ <bean id="rtmpMinaConnManager"
+ class="org.red5.server.net.rtmp.RTMPConnManager">
+ </bean>
+
+ <!-- RTMP Handler -->
+ <bean id="rtmpHandler"
+ class="org.red5.server.net.rtmp.RTMPHandler">
+ <property name="server" ref="red5.server" />
+ <property name="statusObjectService" ref="statusObjectService" />
+ <!-- Enable this if you want to allow global scope connections
+ <property name="globalScopeConnectionAllowed" value="true" />
+ -->
+ </bean>
+
+ <!-- RTMP Mina IO Handler -->
+ <bean id="rtmpMinaIoHandler"
+ class="org.red5.server.net.rtmp.RTMPMinaIoHandler">
+ <property name="handler" ref="rtmpHandler" />
+ <property name="codecFactory" ref="rtmpCodecFactory" />
+ <property name="rtmpConnManager" ref="rtmpMinaConnManager" />
+ </bean>
+
+ <!-- RTMP Mina Transport -->
+ <bean id="rtmpTransport" class="org.red5.server.net.rtmp.RTMPMinaTransport" init-method="start" destroy-method="stop">
+ <property name="ioHandler" ref="rtmpMinaIoHandler" />
+ <property name="connectors">
+ <list>
+ <bean class="java.net.InetSocketAddress">
+ <constructor-arg index="0" type="java.lang.String" value="${rtmp.host}" />
+ <constructor-arg index="1" type="int" value="${rtmp.port}" />
+ </bean>
+ <!-- You can now add additional ports and ip addresses
+ <bean class="java.net.InetSocketAddress">
+ <constructor-arg index="0" type="java.lang.String" value="${rtmp.host}" />
+ <constructor-arg index="1" type="int" value="1936" />
+ </bean>
+ -->
+ </list>
+ </property>
+ <property name="ioThreads" value="${rtmp.io_threads}" />
+ <!-- This is the interval at which the sessions are polled for stats. If mina monitoring is not
+ enabled, polling will not occur. -->
+ <property name="jmxPollInterval" value="1000" />
+ <property name="tcpNoDelay" value="${rtmp.tcp_nodelay}" />
+ </bean>
+
+ <!-- RTMP Mina Connection -->
+ <bean id="rtmpMinaConnection" scope="prototype" class="org.red5.server.net.rtmp.RTMPMinaConnection">
+ <!-- Ping clients every X ms. Set to 0 to disable ghost detection code. -->
+ <property name="pingInterval" value="${rtmp.ping_interval}" />
+ <!-- Disconnect client after X ms of not responding. -->
+ <property name="maxInactivity" value="${rtmp.max_inactivity}" />
+ <!-- Max. time in milliseconds to wait for a valid handshake. -->
+ <property name="maxHandshakeTimeout" value="5000" />
+ <!-- Default server bandwidth per connection -->
+ <property name="defaultServerBandwidth" value="${rtmp.default_server_bandwidth}" />
+ <!-- Default client bandwidth per connection -->
+ <property name="defaultClientBandwidth" value="${rtmp.default_client_bandwidth}" />
+ <!-- Client bandwidth limit type: 0 = hard, 1 = soft, 2 = dynamic -->
+ <property name="limitType" value="${rtmp.client_bandwidth_limit_type}" />
+ <!-- Bandwidth detection. If "false" the server will NOT initiate a check -->
+ <property name="bandwidthDetection" value="${rtmp.bandwidth_detection}" />
+ </bean>
+
+ <!-- RTMPT -->
+
+ <bean id="rtmptConnManager"
+ class="org.red5.server.net.rtmp.RTMPConnManager">
+ </bean>
+
+ <!-- RTMPT Handler -->
+ <bean id="rtmptHandler"
+ class="org.red5.server.net.rtmpt.RTMPTHandler" autowire="byType">
+ <property name="codecFactory" ref="rtmptCodecFactory" />
+ </bean>
+
+ <!-- Use injection to store RTMPT handler in servlet -->
+ <bean id="rtmptServlet"
+ class="org.red5.server.net.rtmpt.RTMPTServlet">
+ <property name="handler" ref="rtmptHandler" />
+ <property name="rtmpConnManager" ref="rtmptConnManager" />
+ </bean>
+
+ <!-- RTMPT Connection -->
+ <bean id="rtmptConnection" scope="prototype"
+ class="org.red5.server.net.rtmpt.RTMPTConnection">
+ <!-- Ping clients every X ms. Set to 0 to disable ghost detection code. -->
+ <property name="pingInterval" value="${rtmpt.ping_interval}" />
+ <!-- Disconnect client after X ms of not responding. -->
+ <property name="maxInactivity" value="${rtmpt.max_inactivity}" />
+ <!-- Max. time in milliseconds to wait for a valid handshake. -->
+ <property name="maxHandshakeTimeout" value="5000" />
+ </bean>
+
+ <!-- RTMPS -->
+<!--
+ <bean id="rtmpsMinaIoHandler"
+ class="org.red5.server.net.rtmps.RTMPSMinaIoHandler">
+ <property name="handler" ref="rtmpHandler" />
+ <property name="codecFactory" ref="rtmpCodecFactory" />
+ <property name="rtmpConnManager" ref="rtmpMinaConnManager" />
+ <property name="keyStorePassword" value="${rtmps.keystorepass}" />
+ <property name="keystoreFile" value="conf/keystore" />
+ </bean>
+
+ <bean id="rtmpsTransport" class="org.red5.server.net.rtmp.RTMPMinaTransport" init-method="start" destroy-method="stop">
+ <property name="ioHandler" ref="rtmpsMinaIoHandler" />
+ <property name="connectors">
+ <list>
+ <bean class="java.net.InetSocketAddress">
+ <constructor-arg index="0" type="java.lang.String" value="${rtmps.host}" />
+ <constructor-arg index="1" type="int" value="${rtmps.port}" />
+ </bean>
+ </list>
+ </property>
+ <property name="ioThreads" value="${rtmp.io_threads}" />
+ <property name="jmxPollInterval" value="1000" />
+ <property name="tcpNoDelay" value="${rtmp.tcp_nodelay}" />
+ </bean>
+-->
+
+ <!-- Enable when you need it. - - >
+ <bean id="rtmpProxyTransport" class="org.red5.server.net.rtmp.RTMPMinaTransport" init-method="start" destroy-method="stop">
+ <property name="ioHandler" ref="debugProxyIoHandler" />
+ <property name="address" value="${proxy.source_host}" />
+ <property name="port" value="${proxy.source_port}" />
+ <property name="receiveBufferSize" value="${rtmp.receive_buffer_size}" />
+ <property name="sendBufferSize" value="${rtmp.send_buffer_size}" />
+ <property name="eventThreadsCore" value="${rtmp.event_threads_core}" />
+ <property name="eventThreadsMax" value="${rtmp.event_threads_max}" />
+ <property name="eventThreadsQueue" value="${rtmp.event_threads_queue}" />
+ <property name="eventThreadsKeepalive" value="${rtmp.event_threads_keepalive}" />
+ </bean>
+
+ <bean id="debugProxyIoHandler"
+ class="org.red5.server.net.proxy.DebugProxyHandler">
+ <property name="codecFactory" ref="rtmpCodecFactory" />
+ <property name="forward" value="${proxy.destination_host}:${proxy.destination_port}" />
+ <property name="dumpTo" value="./webapps/dump/" />
+ </bean>
+ -->
+</beans>