In Red5, you have pretty much full access to manipulate the embedded Tomcat engine via Spring. With that being said I would like to give details on how to change the http connector between two available options; there are several other options, but I'll only be covering NIO and BIO. First a quick explanation of these two options:
<property name="connector">
<bean class="org.apache.catalina.connector.Connector">
<constructor-arg type="java.lang.String" value="org.apache.coyote.http11.Http11Protocol" />
<property name="port"><value>80</value></property>
<property name="redirectPort"><value>443</value></property>
<property name="enableLookups"><value>false</value></property>
</bean>
</property>
To use the NIO connector simply change the constructor arg as shown below:
<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>80</value></property>
<property name="redirectPort"><value>443</value></property>
<property name="enableLookups"><value>false</value></property>
</bean>
</property>
Tags: connector, http, linux, nio, osx, RTMPS, rtmpt, spring, tomcat
What kind of problems did you have? Did you try to disable epoll in the arguments to the Java VM?
View this Comment in:

I didnt look into it, I just went by all the problems posted on the list. Have you found success disabling the epoll?
View this Comment in:

No, but I’ve recently stumbled over at least two blog posts which mentioned the problem. I can only find one which is this one:
http://www.rogue-development.com/blog2/2007/09/red5-11-and-epoll/
From 2007 which means its quite old but maybe worth a try…
View this Comment in:
