[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.
Thanks,
Gordon
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"
> singleton="true">
> </bean>
>
> <bean id="flexMessaging.service"
> class="org.red5.server.net.remoting.FlexMessagingService">
> <property name="serviceInvoker" ref="global.serviceInvoker" />
> <property name="endpoints">
> <map>
> <entry key="myDestination">
> <ref bean="myRemote" />
> </entry>
> </map>
> </property>
> </bean>
>
> 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?
>
> Thanks,
> --
> Gordon Hempton
> http://hempton.com
>
--
Gordon Hempton
http://hempton.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20080811/0d51114b/attachment.html
More information about the Red5
mailing list