From 1617543153c0ae8dfd18cfea0a2796476978421a Mon Sep 17 00:00:00 2001 From: Paul Gregoire Date: Tue, 8 Sep 2015 14:05:55 -0400 Subject: [PATCH 1/2] Updated release --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6bb917aa3..a621cc9c1 100644 --- a/README.md +++ b/README.md @@ -25,10 +25,13 @@ Automatic builds (Courtesy of Apache / OpenMeetings): * [Red5](https://builds.apache.org/view/M-R/view/OpenMeetings/job/Red5-server/) * [Windows Installer](https://builds.apache.org/view/M-R/view/OpenMeetings/job/red5-installer/) -Current version is 1.0.6-SNAPSHOT +Current version is 1.0.6-RELEASE [Latest Releases](https://github.com/Red5/red5-server/releases/latest) ---------------- +

Red5 1.0.6 Release (8 September 2015)

+[Tarball & ZIP](https://github.com/Red5/red5-server/releases/tag/v1.0.6-RELEASE) +

Red5 1.0.5 Release (7 February 2015)

[Tarball & ZIP](https://github.com/Red5/red5-server/releases/tag/v1.0.5-RELEASE) | [Windows] (https://mega.co.nz/#!cAVGCJJR!flZqMKTB9mcD1_nvbQ_xlG88ADTEkFk7-jtuGw2uNOc) @@ -87,7 +90,7 @@ mvn eclipse:eclipse 3. Access the right-click menu and select "Configure" and then "Convert to Maven Project". 4. Now the project will build automatically, if you have the maven plugin installed. -[http://screencast.com/t/2sgjMevf9 Screencast] +[Screencast](http://screencast.com/t/2sgjMevf9) Previous Releases ------------------- From ed2817754b3c712e68a31132babed954f8de8290 Mon Sep 17 00:00:00 2001 From: Maxim Solodovnik Date: Sun, 13 Sep 2015 15:35:21 +0600 Subject: [PATCH 2/2] Servlet-api matching with tomcat is used, empty 'tomcat.8080' is not created, code clean-up --- pom.xml | 10 +++++----- src/main/assembly/server.xml | 2 +- src/main/server/red5.bat | 4 +++- src/main/server/red5.sh | 4 +++- src/main/server/webapps/root/flvdemo.html | 1 + 5 files changed, 13 insertions(+), 8 deletions(-) diff --git a/pom.xml b/pom.xml index edbf5df8e..c2037554e 100644 --- a/pom.xml +++ b/pom.xml @@ -67,6 +67,7 @@ 2.2.1 1.52 4.12 + 8.0.26 @@ -256,11 +257,10 @@ - org.jboss.spec.javax.servlet - jboss-servlet-api_3.0_spec - 1.0.2.Final - - compile + org.apache.tomcat + tomcat-servlet-api + ${tomcat.version} + provided org.slf4j diff --git a/src/main/assembly/server.xml b/src/main/assembly/server.xml index cbe855664..fc4cda52d 100644 --- a/src/main/assembly/server.xml +++ b/src/main/assembly/server.xml @@ -42,7 +42,7 @@ *.jar - jboss-servlet-api_3.0_spec-1.0.2.Final.jar + tomcat-servlet-api-8.0.26.jar antlr-2.7.7.jar asm-analysis-4.0.jar asm-commons-4.0.jar diff --git a/src/main/server/red5.bat b/src/main/server/red5.bat index 13055f9f1..2352e7b68 100644 --- a/src/main/server/red5.bat +++ b/src/main/server/red5.bat @@ -16,10 +16,12 @@ set LOGGING_OPTS=-Dlogback.ContextSelector=org.red5.logging.LoggingContextSelect REM Set up security options REM set SECURITY_OPTS=-Djava.security.debug=failure -Djava.security.manager -Djava.security.policy="%RED5_HOME%/conf/red5.policy" set SECURITY_OPTS=-Djava.security.debug=failure +REM Set up tomcat options +set TOMCAT_OPTS=-Dcatalina.home="%RED5_HOME%" REM Setup python/jython path set JYTHON_OPTS=-Dpython.home=lib REM Combined java options -set JAVA_OPTS=%LOGGING_OPTS% %SECURITY_OPTS% %JAVA_OPTS% %JVM_OPTS% %JYTHON_OPTS% +set JAVA_OPTS=%LOGGING_OPTS% %SECURITY_OPTS% %JAVA_OPTS% %JVM_OPTS% %TOMCAT_OPTS% %JYTHON_OPTS% set RED5_CLASSPATH=%RED5_HOME%\red5-service.jar;%RED5_HOME%\conf;%CLASSPATH% diff --git a/src/main/server/red5.sh b/src/main/server/red5.sh index 3f2e38395..030055b75 100644 --- a/src/main/server/red5.sh +++ b/src/main/server/red5.sh @@ -34,10 +34,12 @@ fi LOGGING_OPTS="-Dlogback.ContextSelector=org.red5.logging.LoggingContextSelector -Dcatalina.useNaming=true" # Set up security options SECURITY_OPTS="-Djava.security.debug=failure" +# Set up tomcat options +TOMCAT_OPTS="-Dcatalina.home=$RED5_HOME" # Jython options JYTHON="-Dpython.home=lib" -export JAVA_OPTS="$LOGGING_OPTS $SECURITY_OPTS $JAVA_OPTS $JVM_OPTS $JYTHON" +export JAVA_OPTS="$LOGGING_OPTS $SECURITY_OPTS $JAVA_OPTS $JVM_OPTS $TOMCAT_OPTS $JYTHON" if [ -z "$RED5_MAINCLASS" ]; then export RED5_MAINCLASS=org.red5.server.Bootstrap diff --git a/src/main/server/webapps/root/flvdemo.html b/src/main/server/webapps/root/flvdemo.html index 9738292c6..a761f24b5 100644 --- a/src/main/server/webapps/root/flvdemo.html +++ b/src/main/server/webapps/root/flvdemo.html @@ -7,6 +7,7 @@ +

You need the Adobe Flash Player for this demo, download it by clicking the image below.