[Red5] Remoting: Problems with Tomcat
Gordon Leland Hempton
ghempton at gmail.com
Mon Aug 11 18:55:01 PDT 2008
Anyone have any insight on this? I believe this is a common problem: I have
seen several other posts on the echo sample app not working under Tomcat.
On Sun, Aug 10, 2008 at 3:30 PM, Gordon Leland Hempton
<ghempton at gmail.com>wrote:
> I am trying to get remoting to work running red5 in war mode, however there
> is some weird behavior I will outline below:
> If I add the service to my webapp-web.xml as follows:
> <bean id="myRemote" class="MyRemoteObject"
> <bean id="flexMessaging.service"
> <property name="serviceInvoker" ref="global.serviceInvoker" />
> <property name="endpoints">
> <entry key="myDestination">
> <ref bean="myRemote" />
> Then I set the endpoint in mxml to http://localhost:8080/gateway, it
> complains that the flexMessaging service cannot be found. Note, that this
> same error message happens when I run the echo sample application.
> However, I can make everything work by adding the above xml fragment to the
> defaultContext.xml file instead of webapp-web.xml, however this seems like a
> hack and will only allow a single web application to use remoting.
> Does anyone know what is going on here?
> Gordon Hempton
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Red5