[Red5] Urgent- NEED HELP WITH THE OFLA DEMO

PHUGpuba brotherbrendan at gmail.com
Fri Jul 4 09:01:28 PDT 2008


Yes I have the Application.class file in that location.

I do call rtmp://yourserver/zos.

what do you mean by tha app just stops working 
Basically the swf runs but the shared object is not launched and you can't
talk in the chat tool.

do you a have NetConnection.connect.InvalipApp or something else ?
no, still confused on some of that...


lionel breduillieard wrote:
> 
> do you have that file named  created Application.class in the folder
> 
> WEB-INF/classes/org/red5/server/webapp/zos ?
> 
> do call rtmp://yourserver/zos
> 
> what do you mean by tha app just stops working / you can't connect with
> flash ? do you a have NetConnection.connect.InvalipApp or something else ?
> 
> Lionel
> 
> 2008/7/4 PHUGpuba <brotherbrendan at gmail.com>:
> 
>>
>> Hey Lionel,
>>
>> Thats the problem....i don;t get any errors...the app just stops
>> working...but if i connect to the original OFLA Demo then no problem...
>>
>> Here is web.xml
>> <?xml version="1.0" encoding="ISO-8859-1"?>
>> <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
>>        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>        xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
>> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
>>        version="2.4">
>>
>>        <display-name>Red5 zos Test App</display-name>
>>
>>        <context-param>
>>                <param-name>globalScope</param-name>
>>                <param-value>default</param-value>
>>        </context-param>
>>
>>        <context-param>
>>                <param-name>contextConfigLocation</param-name>
>>                <param-value>/WEB-INF/red5-*.xml</param-value>
>>        </context-param>
>>
>>        <context-param>
>>                <param-name>locatorFactorySelector</param-name>
>>                <param-value>red5.xml</param-value>
>>        </context-param>
>>
>>        <context-param>
>>                <param-name>parentContextKey</param-name>
>>                <param-value>default.context</param-value>
>>        </context-param>
>>
>>        <context-param>
>>                <param-name>webAppRootKey</param-name>
>>                 <param-value>/zos</param-value>
>>        </context-param>
>>
>>        <listener>
>>                <listener-class>
>>
>>  org.springframework.web.context.ContextLoaderListener
>>                </listener-class>
>>        </listener>
>>
>>        <security-constraint>
>>                <web-resource-collection>
>>                        <web-resource-name>Forbidden</web-resource-name>
>>                        <url-pattern>/streams/*</url-pattern>
>>                </web-resource-collection>
>>                <auth-constraint />
>>        </security-constraint>
>>
>> </web-app>
>>
>> and here is red5-web.xml
>> <?xml version="1.0" encoding="UTF-8"?>
>> <beans xmlns="http://www.springframework.org/schema/beans"
>>        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>        xmlns:lang="http://www.springframework.org/schema/lang"
>>        xsi:schemaLocation="http://www.springframework.org/schema/beans
>> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
>>                           http://www.springframework.org/schema/lang
>> http://www.springframework.org/schema/lang/spring-lang-2.0.xsd">
>>
>>        <bean id="placeholderConfig"
>>
>>
>> class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
>>                <property name="location"
>> value="/WEB-INF/red5-web.properties" />
>>        </bean>
>>
>>        <bean id="web.context" class="org.red5.server.Context"
>>                autowire="byType" />
>>
>>        <bean id="web.scope" class="org.red5.server.WebScope"
>>                init-method="register">
>>                <property name="server" ref="red5.server" />
>>                <property name="parent" ref="global.scope" />
>>                <property name="context" ref="web.context" />
>>                <property name="handler" ref="web.handler" />
>>                <property name="contextPath" value="${webapp.contextPath}"
>> />
>>                <property name="virtualHosts"
>> value="${webapp.virtualHosts}"
>> />
>>        </bean>
>>
>>        <bean id="web.handler"
>>                class="org.red5.server.webapp.zos.Application" />
>>
>>        <bean id="demoService.service"
>>                class="org.red5.server.webapp.zos.DemoService" />
>>
>>
>>        <bean
>>
>>  class="org.springframework.scripting.support.ScriptFactoryPostProcessor"
>> />
>>
>>
>> </beans>
>>
>> I'm still learning red5...AS is my strong point.
>>
>>
>> lionel breduillieard wrote:
>> >
>> > in order to help you, can you tell us what kind of error you have, and
>> > perhaps, you can post the xml config file
>> >
>> > Lionel
>> >
>> >
>> > 2008/7/4 PHUGpuba <brotherbrendan at gmail.com>:
>> >
>> >>
>> >> yes, when I was re-compile in eclipse I made sure to change all name
>> >> references.
>> >>
>> >> I'm really at a loss, not sure why I cannot connect without any
>> error...
>> >>
>> >>
>> >> james taylor-20 wrote:
>> >> >
>> >> >
>> >> > Have you updated all the configuration files with new filenames?
>> i.e.
>> >> > application name and bean refeences?
>> >> >
>> >> > in web.xml:
>> >> >
>> >> > <context-param>
>> >> > <param-name>webAppRootKey</param-name>
>> >> > <param-value>ureApp</param-value>
>> >> > </context-param>
>> >> > and added all your classes to the beans definition in red5-web.xml
>> >> >
>> >> > <bean id="web.handler"
>> >> > class="org.red5.core.Application"
>> >> > singleton="true" />
>> >> >
>> >> > etc
>> >> > sure you have, but just a thought   :-)
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > Date: Thu, 3 Jul 2008 22:07:52 -0400From:
>> brotherbrendan at gmail.comTo:
>> >> > red5 at osflash.orgSubject: [Red5] Urgent- NEED HELP WITH THE OFLA
>> DEMOI
>> >> have
>> >> > posted this before, I really need some advice ASAP....I am using the
>> >> OFLA
>> >> > demo to build a chat tool. I have recompiled all the files in order
>> to
>> >> > rename and add extra functionality, so basically using the OFLA Demo
>> as
>> >> > template to build on.When i compile everything in eclipse i receive
>> no
>> >> > errors. The problem once I have uploaded everything to my red5
>> server
>> >> and
>> >> > try to connect to the new renamed version of the OFLA Demo, I get
>> >> > noting!!! It doesn't connect!!!Am i missing something??? I could
>> really
>> >> > use some help on this, I need to have this working ASAP for a
>> >> commercial
>> >> > project.Thanks in advance,- Brendan-- Brendan Sera-ShriarFlash
>> >> Technical
>> >> > DirectorLifecapture Interactivewww.lifecaptureinc.comFounder - Board
>> >> > Director PHUG - Open Source Culturewww.phug.ca Professor - Seneca
>> >> College
>> >> > of Applied Arts and TechnologyDMA: Digital Media Arts Program MFD -
>> >> Media
>> >> > Fundamentalswww.senecac.on.ca Owner / CEO -
>> >> > BackSpaceStudioswww.backspacestudios.com
>> >> > _________________________________________________________________
>> >> > Get Messenger on your mobile, text MSN to 63463 now!
>> >> > http://mobile.uk.msn.com/pc/messenger.aspx
>> >> > _______________________________________________
>> >> > Red5 mailing list
>> >> > Red5 at osflash.org
>> >> > http://osflash.org/mailman/listinfo/red5_osflash.org
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Urgent--NEED-HELP-WITH-THE-OFLA-DEMO-tp18271512p18279756.html
>> >> Sent from the Red5 - English mailing list archive at Nabble.com.
>> >>
>> >>
>> >> _______________________________________________
>> >> Red5 mailing list
>> >> Red5 at osflash.org
>> >> http://osflash.org/mailman/listinfo/red5_osflash.org
>> >>
>> >
>> > _______________________________________________
>> > Red5 mailing list
>> > Red5 at osflash.org
>> > http://osflash.org/mailman/listinfo/red5_osflash.org
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Urgent--NEED-HELP-WITH-THE-OFLA-DEMO-tp18271512p18280421.html
>> Sent from the Red5 - English mailing list archive at Nabble.com.
>>
>>
>> _______________________________________________
>> Red5 mailing list
>> Red5 at osflash.org
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
> 
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
> 
> 

-- 
View this message in context: http://www.nabble.com/Urgent--NEED-HELP-WITH-THE-OFLA-DEMO-tp18271512p18282175.html
Sent from the Red5 - English mailing list archive at Nabble.com.




More information about the Red5 mailing list