Mondain,

Just another note.

When I compile from the native Jetty app and run it
with the red5 server environment, everything runs fine.

It is only when I try to run after compiling as webwar.

I can get to the index.html page but no rtmp stuff at all
and the /WEB_INF/red5.properties is on the classpath.

Regards,

Lenny


On 3/2/07, Lenny Sorey <[EMAIL PROTECTED]> wrote:

Thanks Mondain.

I appreciate your response.

I look forward to your reply.

Regards,

Lenny


 On 3/1/07, Mondain <[EMAIL PROTECTED]> wrote:
>
> It was working... ill look into it.
>
>  On 3/1/07, Lenny Sorey < [EMAIL PROTECTED] > wrote:
>
> >  Hello All.
> >
> > Got a Question.
> >
> > I downloaded the latest from the SVN Trunk, updated to Java 1.6 and
> > proceeded to build RED5  as a WebWar app with Ant 1.7.0. I read this
> > from a note in the War Branch.
> >
> > Before I start I just want to say how much I appreciate everyone's
> > effort that have gone into creating RED5. I am really excited about RED5.
> >
> > Was just wondering if someone could shed some light as to either what
> > I am doing wrong or if there area some problems with building the WebWar
> > from the svn trunk.
> >
> > When I build wih the downloaded sources I get no errors until I deploy
> > the war file in Tomcat 5.5.17.
> >
> > It seems that the application is looking for some files that are not
> > in the in the downloaded svn trunk source.
> >
> > The following is one error I got when trying to run RED5 from Tomcat:
> >
> > [ERROR] 3750 Thread-1:( org.red5.server.MainServlet.contextInitialized)
> > org.springframework.beans.factory.CannotLoadBeanClassException: Cannot
> > find class [org.red5.server.stream.BalancedFlowControlService] for
> > bean with name 'FlowControlService' defined in ServletContext resource
> > [/WEB-INF/red5- common.xml]; nested exception is
> > java.lang.ClassNotFoundException:
> > org.red5.server.stream.BalancedFlowControlService
> >
> >
> > Seems that BalancedFlowControlService.class nor
> > BalancedFlowControlService.java is nowhere to be found in the svn
> > server trunk.
> >
> > However, I did see that BalancedFlowControlService.java  along with a
> > few other files were in /java/server/tags/0_6rc2 src source folder.
> >
> > So I am a bit confuse as to what to use here.
> >
> >
> > The next error I am not really sure how to address:
> >
> > I don't know where to go to hunt down this error. It appears to be a
> > Spring error.
> >
> > Is this someone configured wrong in the applicationContext.xml in the
> > WEB-INF Folder?
> >
> > [INFO] 6726610 Thread-1:( org.red5.server.MainServlet.contextDestroyed) 
Webapp shutdown
> > [ERROR] 6726719 Thread-1:(
> > org.springframework.web.context.support.XmlWebApplicationContext.error) 
Exception thrown from ApplicationListener handling ContextClosedEvent
> > java.lang.IllegalStateException: ApplicationEventMulticaster not
> > initialized - call 'refresh' before multicasting events via the context:
> > org.springframework.web.context.support.XmlWebApplicationContext:
> > display name [Root WebApplicationContext]; startup date [Thu Mar 01 15:54:57
> > CST 2007]; root of context hierarchy; config locations
> > [/WEB-INF/applicationContext.xml,/WEB-INF/red5- common.xml
> > ,/WEB-INF/red5-core.xml,/WEB-INF/*-context.xml]
> >  at
> > 
org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster
> > (AbstractApplicationContext.java:254)
> >  at
> > org.springframework.context.support.AbstractApplicationContext.publishEvent(
> > AbstractApplicationContext.java:241)
> >  at
> > org.springframework.context.support.AbstractApplicationContext.doClose
> > (AbstractApplicationContext.java:603)
> >  at
> > org.springframework.context.support.AbstractApplicationContext.close (
> > AbstractApplicationContext.java:578)
> >  at org.red5.server.MainServlet.contextDestroyed(MainServlet.java:170)
> >  at org.apache.catalina.core.StandardContext.listenerStop(
> > StandardContext.java:3770)
> >  at org.apache.catalina.core.StandardContext.stop (
> > StandardContext.java:4339)
> >  at org.apache.catalina.core.ContainerBase.removeChild(
> > ContainerBase.java:892)
> >  at org.apache.catalina.startup.HostConfig.undeployApps(
> > HostConfig.java:1164)
> >  at org.apache.catalina.startup.HostConfig.stop (HostConfig.java:1135)
> >  at org.apache.catalina.startup.HostConfig.lifecycleEvent(
> > HostConfig.java:312)
> >  at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
> > LifecycleSupport.java:119)
> >  at org.apache.catalina.core.ContainerBase.stop (ContainerBase.java
> > :1054)
> >  at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java
> > :1066)
> >  at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java
> > :447)
> >  at org.apache.catalina.core.StandardService.stop (
> > StandardService.java:512)
> >  at org.apache.catalina.core.StandardServer.stop(StandardServer.java
> > :743)
> >  at org.apache.catalina.startup.Catalina.stop(Catalina.java:601)
> >  at org.apache.catalina.startup.Catalina.start (Catalina.java:576)
> >  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> >  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> >  at java.lang.reflect.Method.invoke(Unknown Source)
> >  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
> >  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
> > [ERROR] 6726766 Thread-1:( 
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/red5].error
> > ) Exception sending context destroyed event to listener instance of class
> > org.red5.server.MainServlet
> > org.springframework.beans.factory.CannotLoadBeanClassException :
> > Cannot find class [org.red5.server.stream.BalancedFlowControlService]
> > for bean with name 'FlowControlService' defined in ServletContext resource
> > [/WEB-INF/red5-common.xml]; nested exception is
> > java.lang.ClassNotFoundException :
> > org.red5.server.stream.BalancedFlowControlService
> > Caused by:
> > java.lang.ClassNotFoundException:
> > org.red5.server.stream.BalancedFlowControlService
> >  at org.apache.catalina.loader.WebappClassLoader.loadClass(
> > WebappClassLoader.java :1352)
> >  at org.apache.catalina.loader.WebappClassLoader.loadClass(
> > WebappClassLoader.java:1198)
> >  at org.springframework.util.ClassUtils.forName(ClassUtils.java:183)
> >  at
> > 
org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(
> > AbstractBeanDefinition.java:317)
> >  at
> > 
org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass
> > (AbstractBeanFactory.java:1044)
> >  at
> > 
org.springframework.beans.factory.support.AbstractBeanFactory.isBeanClassMatch(
> > AbstractBeanFactory.java:1072)
> >  at
> > 
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType
> > (DefaultListableBeanFactory.java:165)
> >  at
> > 
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(
> > DefaultListableBeanFactory.java:231)
> >  at
> > 
org.springframework.context.support.AbstractApplicationContext.getLifecycleBeans
> > (AbstractApplicationContext.java:816)
> >  at
> > org.springframework.context.support.AbstractApplicationContext.stop (
> > AbstractApplicationContext.java:791)
> >  at
> > org.springframework.context.support.AbstractApplicationContext.doClose
> > (AbstractApplicationContext.java:609)
> >  at
> > org.springframework.context.support.AbstractApplicationContext.close (
> > AbstractApplicationContext.java:578)
> >  at org.red5.server.MainServlet.contextDestroyed(MainServlet.java:170)
> >  at org.apache.catalina.core.StandardContext.listenerStop(
> > StandardContext.java:3770)
> >  at org.apache.catalina.core.StandardContext.stop (
> > StandardContext.java:4339)
> >  at org.apache.catalina.core.ContainerBase.removeChild(
> > ContainerBase.java:892)
> >  at org.apache.catalina.startup.HostConfig.undeployApps(
> > HostConfig.java:1164)
> >  at org.apache.catalina.startup.HostConfig.stop (HostConfig.java:1135)
> >  at org.apache.catalina.startup.HostConfig.lifecycleEvent(
> > HostConfig.java:312)
> >  at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
> > LifecycleSupport.java:119)
> >  at org.apache.catalina.core.ContainerBase.stop (ContainerBase.java
> > :1054)
> >  at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java
> > :1066)
> >  at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java
> > :447)
> >  at org.apache.catalina.core.StandardService.stop (
> > StandardService.java:512)
> >  at org.apache.catalina.core.StandardServer.stop(StandardServer.java
> > :743)
> >  at org.apache.catalina.startup.Catalina.stop(Catalina.java:601)
> >  at org.apache.catalina.startup.Catalina.start (Catalina.java:576)
> >  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> >  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> >  at java.lang.reflect.Method.invoke(Unknown Source)
> >  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
> >  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
> >
> >
> > Thanks,
> >
> > Lenny
> >
> > _______________________________________________
> > Red5 mailing list
> > [email protected]
> > http://osflash.org/mailman/listinfo/red5_osflash.org
> >
> >
>
>
> --
> The early bird may get the worm, but the second mouse gets the cheese.
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to