在centOS中启动时,Red5需要更多时间。我查过stdout.log了。存在JMX超时错误。
[ERROR] [main] org.red5.server.jmx.JMXAgent - {}
java.io.IOException: Cannot bind to URL [rmi://:9999/red5]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 69.164.154.24; nested exception is:
java.net.ConnectException: Connection timed out]如何在red5中禁用jmx..?
发布于 2012-09-28 17:06:43
Red5使用JMX从远程监控已部署的应用程序。默认情况下,端口9999用于JMX。如果程序不能与端口9999建立连接,它将等待100/200秒。要禁用JMX监控,您必须将red5服务器的conf文件夹中red5-common.xml中的"enableRmiAdapter“设置为false。
<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="false"/>
....仅供参考,我在red5.properties文件中使用red5-0.9.1和JMX端口和主机配置。
对于1.0和更高版本,请遵循此https://code.google.com/p/red5/wiki/SlowStartup
https://stackoverflow.com/questions/12636911
复制相似问题