File: 11_change_jmx_port.diff

package info (click to toggle)
red5 1.0~svn4374-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 11,456 kB
  • sloc: java: 56,478; xml: 13,069; sh: 593; makefile: 33; jsp: 24
file content (28 lines) | stat: -rw-r--r-- 844 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Description: Change JMX port from 9999 to 9980
 (9999 may conflict with approx proxy server)
 Also change JMX listner to bind on loopback only.
Author: Damien Raude-Morvan <drazzib@debian.org>
Last-Update: 2011-03-04
Forwarded: not-needed

--- a/red5-shutdown.sh
+++ b/red5-shutdown.sh
@@ -8,6 +8,6 @@
 export JAVA_OPTS="-Djavax.net.ssl.keyStore=$RED5_HOME/conf/keystore.jmx -Djavax.net.ssl.keyStorePassword=password"
 
 # port, username, password
-export RED5_OPTS="9999 red5user changeme"
+export RED5_OPTS="9980 red5user changeme"
 export RED5_MAINCLASS=org.red5.server.Shutdown
 exec $RED5_HOME/red5.sh
--- a/src/conf/red5.properties
+++ b/src/conf/red5.properties
@@ -63,7 +63,7 @@
 
 # JMX
 jmx.rmi.host=localhost
-jmx.rmi.port=9999
+jmx.rmi.port=9980
 jmx.rmi.port.remoteobjects=
 jmx.keystorepass=password
 jmx.mina.monitor.enable=true