[Red5] TomcatVHostLoader
Daniel Rossi
spam at electroteque.org
Fri Jun 6 20:13:38 PDT 2008
Hi there sorry to bug people about this. But how do I manage to load
virtualhost webapps ? I'm looking at the class, and it seems each
virtualhost webapp can be configured. However how does it get loaded.
Do I simply add a config similar to this for each domain ? I believe
its configurable via JMX aswell.
<bean id="tomcat.server" class="org.red5.server.tomcat.TomcatLoader"
init-method="init" destroy-method="shutdown" depends-
on="context.loader">
<property name="webappFolder" value="${red5.root}/webapps" />
<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>${http.port}</value></property>
<property name="redirectPort"><value>${https.port}</value></
property>
<property name="enableLookups"><value>false</value></property>
</bean>
</property>
<property name="baseHost">
<bean class="org.apache.catalina.core.StandardHost">
<property name="name" value="${http.host}" />
<property name="unpackWARs" value="true" />
<property name="autoDeploy" value="true" />
<property name="xmlValidation" value="false" />
<property name="xmlNamespaceAware" value="false" />
</bean>
</property>
<property name="valves">
<list>
<bean id="valve.access"
class="org.apache.catalina.valves.AccessLogValve">
<property name="directory" value="log" />
<property name="prefix" value="${http.host}_access." />
<property name="suffix" value=".log" />
<property name="pattern" value="common" />
<property name="resolveHosts" value="false" />
<property name="rotatable" value="true" />
</bean>
</list>
</property>
</bean>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20080607/c3ccc767/attachment.html
More information about the Red5
mailing list