RED5 introduced in the configuration file

2010-10-12  来源:本站原创  分类:Flash  人气:188 

Red5 is built on Jetty6 (servlet engine), Mina (networking) basis, and will play through the use of integrating Spring Framework. So we need to have some configuration files. We may load the properties file through simplified configuration, so users do not need to understand XML. This document is to novices to attribute these profiles, some of which need to be changed, some do not care.
Jetty Config
------------
/ Conf / jetty.xml
servlet engine the main configuration file, if your application is on file in the webapps, and you do not need to change the configuration file. The file is like a Swiss Army knife. you any sort. on the more detailed information, see jetty official documentation.
/ Conf / web-default.xml
The default web xml, used before in WEB-INF/web.xml, it makes all the servlets to the application. Can be understood as a webapp template file.
/ Conf / keystore file is stored fingerprint.
/ Conf / realm.properties web of ownership, users, passwords and other settings.
Red5 Server configuration file ------------
/ Conf/red5.properties
By modifying the file we can easily specify a port, configuration parameters, without having to edit xml file. We tried to put all the common configuration file.
/ Conf/red5.xml
Connection context. I do not know what that means? Oh, do not worry, you do not need to edit the file, unless you want to add another global context. You may, when in the management of Red5 would do such a thing.
/ Conf/red5-common.xml
Used to configure the context root of the tree, all services can be used for sub-environment. If you want to share in the global context of your service, you will need to modify the file .99% of users do not need to edit the file .
/ Conf/log4j.properties
Set at the value layer, and output files and so on. The document acts on the entire server. Unless you want to webapp's WEB-INF folder, replace the used log4j configuration file, then you need to modify the file.
/ Conf/red5-net.xml
Mina and start installation of Jetty. Users do not need to modify the file, similar to the port settings need to red5.properties file configuration.
/ Webapps/red5-default-global.xml
This is the global context, most of the servers only need one, but the management of the virtual host in the security when the need for separation of the global context. If you want to share in the application of the service, will add it here. The context the client can operate similar to the register and the global scope.
Webapp configuration file ------------
/ Webapps / myapp / WEB-INF / web.xml
Standard webapp configuration file, add servlets, context parameters and so on. Loading spring, it is associated in the red5 global context.
/ Webapps/myapp/WEB-INF/red5-web.xml
Control the application context, here is what you add applications and services areas.
/ Webapps/myapp/WEB-INF/red5-web.properties
The file can be easy to use red5-web.xml, red5 jetty configurator will also be read in order to set ebapp.virtualHosts and webapp.contextPath. Attention to the requirements of the different servlet engine configuration file is different to discretion.
/ Webapps/myapp/WEB-INF/log4j.properties
Respectively, for each webapp allows you to set the log level and so on. The document will also be spring loaded automatically. Listen to my advice, do not modify it.

相关文章
  • RED5 introduced in the configuration file 2010-10-12

    Red5 is built on Jetty6 (servlet engine), Mina (networking) basis, and will play through the use of integrating Spring Framework. So we need to have some configuration files. We may load the properties file through simplified configuration, so users

  • Shell programs can be introduced in the configuration file 2011-06-14

    #!/usr/bin/env bash set -x export ORIGDIR=`dirname $0` export ABSDIR=`cd ${ORIGDIR} && pwd` export COLUMNS=300 ct=/usr/atria/bin/cleartool sed=/bin/sed awk=/bin/awk diff=/usr/bin/diff if [ $# -ne 2 ]; then echo """ Usage: ./firmware

  • DWR.xml configuration file specification 2009-05-24

    1, set up configuration files dwr.xml Dwr.xml any of the required documents are included in the statement DWR DOCTYPE line in the following format: <! DOCTYPE dwr PUBLIC "- / / GetAhead Limited / / DTD Direct Web Remoting 1.0 / / EN" "ht

  • Xiang Jie Struts configuration file, web.xml and struts-cofig.xml, as well as the struts-cofig.xml in the role of the various labels 2010-04-19

    Struts applications use two XML-based configuration files to configure, respectively web.xml and struts-cofig.xml file. Web.xml file is the configuration for all web applications, while the struts-config.xml file is struts-specific configuration file

  • Nutch1.0 Getting Started (3) - load the configuration file 2010-03-27

    /** * I am also a starter, if not the correct place please advise . Thank you ! * Part of the contents of the reference from the Internet, such as bluntly , Please forgive me . *QQ:472429029 *Email:[email protected] **/ Nutch's configuration file

  • Detailed iBatis configuration file 2010-09-23

    ibatis code base include: 1. ibatis example configuration of a typical configuration file is as follows (the meaning of the specific configuration items see below): <? Xml version = "1.0" encoding = "UTF-8"?> <! DOCTYPE sqlMap

  • iBatis configuration file Xiangjie 2010-09-23

    ibatis based code include: 1. ibatis example of configuration of a typical configuration file is as follows (the meaning of specific configuration items see below): <? Xml version = "1.0" encoding = "UTF-8"?> <! DOCTYPE sqlMap

  • Struts configuration file of the Struts.xml 2010-09-29

    Struts.xml as a very important struts2 a configuration file, master that he is for the flexible use of struts of great benefit. This article I'm going to struts2 in the configuration file for the great detail to analyze it again. First, starting from

  • Help Documentation-dwr.xml DWR configuration file 2010-10-27

    Maybe my friends will think this is what the official release of DWR help, but sorry it is not. DWR is now a lot of friends in the use of development projects, I am one of them, but suffer on the DWR's Help documentation is too small, many problems h

  • Detailed Struts configuration file 2010-11-09

    <zt> http://blog.csdn.net/FutureInHands/archive/2006/11/15/1385681.aspx Struts framework reads when it starts its configuration file, according to it to create and configure the various Struts components. Struts configuration file allows developers

  • MySQL my.ini configuration file Detailed 2010-12-27

    (1), back_log: Required number of connections MySQL can be some. When the main MySQL thread in a very short period of time a lot of connection requests, which play a role, the main thread and then spend some time (although very short) check the conne

  • Bash environment configuration file 2011-02-17

    Introduced at the beginning of the bash configuration file, you need to understand is that login shell and non-login shell. This difference between the two shell as follows: * Login shell: bash is needed to obtain a complete landing process is login

  • linux garbled solve and modify the configuration file directly into the command line interface 2011-03-03

    [B] for domestic Linux users, often troubling question is: The system often needs to display Chinese, when they display become garbled, but for some reason, the English interface, the system needs time, but could not normally enter the system and sho

  • Hibernate.cfg.xml configuration file (including the primary key generation strategy Introduction) 2009-02-27

    Hibernate.cfg.xml configuration file: <? xml version = "1.0" encoding = "utf-8"?> <! DOCTYPE hibernate-configuration PUBLIC "- / / Hibernate / Hibernate Configuration DTD / / EN" "hibernate-configuration-2.0.dtd

  • spring on the hibernate configuration file configuration skills (reprint ...) 2009-04-05

    mappingLocations, mappingDirectoryLocations with distinction mappingJarLocations Because of spring on the hibernate configuration file hibernate.cfg.xml integrated pretty good, Therefore, in the project I have been using the spring to replace the org

  • From the database to the hibernate configuration file, JAVABEAN and HTML form instrument 1.2 2009-04-19

    Function: HBM to achieve from the database configuration files and JavaBean automatic generation, of course, you can also choose to generate a simple HTML form. Description: The maintenance of this instrument is not a long time, and now released vers

  • Hibernate's main configuration file 2009-05-15

    1. Configuration file named Default name: hibernate.cfg.xml / hibernate.properties direct use Other names: xxxxxxx.cfg.xml defined procedures need to specify the time Configuration 1. Configuration Item JDBC configuration items: Must be】 【hibernate.c

  • SSH configuration file architecture 2009-05-20

    SSH (Struts1.3 + Spring2.0 + Hibernate3.1) architecture configuration document briefly Contents 1. 2 Runtime Environment 2. Configuration 2 2.1 New Project 2 2.2 Add Struts framework supports 3 (1) add the Struts package and the setting up of the pat

  • dwr configuration file dwr.xml 2009-06-26

    I dwr Chinese document on a collation do dwr.xml purely jobs they take, there are useful do not forget to top friend you, leave a contact with the exchange of learning! Welcome to my site to exchange technical www.ithuzhu.com dwr.xml is the DWR confi

  • Cart combat II: entity class and the hibernate configuration file 2009-07-27

    1. According to the above four tables set up, we Mr. category into four entities, namely: Account, Order, Item, Product Account as a result we will be in the city and the street into an abstract entity class Address, therefore, there is a category Ac