AppServer/JEEContainerPlugins

JEE Container Plug-ins

The Containers

There are three JEE (Java Enterprise Edition) containers available for embedding within your Red5 server. The Tomcat container was previously embedded by default, but it has since been extracted to allow the users to select or create their own. We offer the following containers:

 Tomcat Server  pre-compiled  source

 Winstone Server  pre-compiled  source

None of the containers is enabled by default; an empty jee-container.xml file exists within the Red5 configuration directory to prevent startup issues. To enable a container you must extract the plugin's jee-container.xml file and place it the Red5 configuration directory and restart your server.

Fixing plug-in startup errors

The most likely cause of any start up issues you may experience is their missing dependent libraries. But if "beans" are not found, extract the jee-container.xml file from plugin jar and place it in the "conf" directory.

If you see an error about a "Loader" class not being found, this will be because the container

you have chosen has not been deployed to the "plugins" directory. Ensure that your selected containers jar is in the plugins directory directly under your red5 home directory.

The exception will read like so for a missing tomcat plugin jar.

org.springframework.beans.factory.CannotLoadBeanClassException: Cannot
find class [org.red5.server.tomcat.TomcatLoader] for bean with name
'tomcat.server' defined in class path resource [jee-container.xml]; nested exception is
java.lang.ClassNotFoundException: org.red5.server.tomcat.TomcatLoader 

Tomcat Plugin

The following jars are required by Tomcat, place these in the red5/plugins directory:

catalina-6.0.26.jar
jasper-6.0.26.jar
jasper-jdt-6.0.26.jar
jasper-el-6.0.26.jar
tomcat-coyote-6.0.26.jar
tomcat-juli-slf4j-1.5.0.jar

Jetty Plugin

The following jars are required by Jetty , place these in the red5/plugins directory:

jetty-continuation-7.1.6.v20100715.jar
jetty-deploy-7.1.6.v20100715.jar
jetty-http-7.1.6.v20100715.jar
jetty-io-7.1.6.v20100715.jar
jetty-security-7.1.6.v20100715.jar
jetty-server-7.1.6.v20100715.jar
jetty-servlet-7.1.6.v20100715.jar
jetty-util-7.1.6.v20100715.jar
jetty-webapp-7.1.6.v20100715.jar
jetty-xml-7.1.6.v20100715.jar

Winstone Plugin

The following jar is required by Winstone , place these in the red5/plugins directory:

winstone-lite-0.9.10.jar

 corsage  boutonniere