[Red5] Creating Red5 Applications - In Laymans Terms

Richard Alam ritzalam at gmail.com
Fri Sep 11 06:39:10 PDT 2009


2009-09-11 12:57:31,886 [main] ERROR o.a.catalina.core.StandardContext -
Context [/myflashstore] startup failed due to previous errors

That's the problem.

It could be that libraries are not in your class path.

Make sure you have these jars in you webapps/myflashstore/lib folder
log4j-over-slf4j
logback-classic
logback-core
slf4j-api

Checkout also oflaDemo for a working example
http://code.google.com/p/red5/source/browse/#svn/java/example/trunk/oflaDemo

R



On Fri, Sep 11, 2009 at 8:03 AM, Wasim K <wasim.khamlichi at me.com> wrote:
>
> Thanks for the reply,
>
> My red5-web.properties file
>
> webapp.contextPath=/myflashstore
> webapp.virtualHosts=localhost, 127.0.0.1
>
>
> red5-web.xml
>
> <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>
>
> <context-param>
>        <param-name>webAppRootKey</param-name>
>        <param-value>/myflashstore</param-value>
> </context-param>
>
>
> The application starts perfectly fine.
>
> In my error log I have the following suspicious lines but i don't know what
> they mean...
>
> 2009-09-11 12:57:31,542 [main] ERROR o.a.c.c.C.[.[.0.0.0.[/myflashstore] -
> Exception sending context initialized event to listener instance of class
> org.springframework.web.util.Log4jConfigListener
> java.lang.NoClassDefFoundError: org/apache/log4j/PropertyConfigurator
>
> 2009-09-11 12:57:31,875 [main] ERROR o.a.c.c.C.[.[.0.0.0.[/myflashstore] -
> Exception sending context initialized event to listener instance of class
> org.springframework.web.context.ContextLoaderListener
>
> 2009-09-11 12:57:31,886 [main] ERROR o.a.catalina.core.StandardContext -
> Context [/myflashstore] startup failed due to previous errors
>
> 2009-09-11 12:57:31,889 [main] ERROR o.a.c.c.C.[.[.0.0.0.[/myflashstore] -
> Exception sending context destroyed event to listener instance of class
> org.springframework.web.util.Log4jConfigListener
> java.lang.NoClassDefFoundError: org/apache/log4j/LogManager
>
> --
> View this message in context: http://www.nabble.com/Creating-Red5-Applications---In-Laymans-Terms-tp25390278p25399697.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
>



-- 
---
BigBlueButton
http://www.bigbluebutton.org
http://code.google.com/p/bigbluebutton



More information about the Red5 mailing list