[Red5] Error setting up context: /oflaDemo due to: null

Mondain mondain at gmail.com
Mon Feb 2 17:56:16 PST 2009


It seems that you have the spring context loader listeners in your web.xml
files, remove those entries and try again.
Paul

On Mon, Feb 2, 2009 at 3:27 PM, Art Clarke <aclarke at xuggle.com> wrote:

> Hi there,
>
> Sorry, wish I could help more.  If you have a friend who knows Java they
> might be able to help you, but usually somewhere in your log file there'll
> be a hint.
>
> - Art
>
>
> On Mon, Feb 2, 2009 at 3:21 PM, abshirf2 <abshirf2 at yahoo.co.uk> wrote:
>
>>
>> I have looked through the log file and there seems to be quite a few
>> errors!
>> I have to work out which one they stem from, if that is even the case.
>>
>> --------------------------------------------
>> 2009-02-02 23:40:18,506 [main] ERROR o.a.c.c.C.[.[0.0.0.0].[/oflaDemo] -
>> Exception sending context initialized event to listener instance of class
>> org.springframework.web.context.ContextLoaderListener
>>
>>  Error creating bean with name 'red5.common' defined in URL
>> [file:/opt/red5/dist/conf/red5.xml]: Instantiation of bean failed; nested
>> exception is org.springframework.beans.BeanInstantiationException: Could
>> not
>> instantiate bean class
>> [org.springframework.context.support.FileSystemXmlApplicationContext]:
>> Constructor threw exception;
>>
>> nested exception is
>> org.springframework.beans.factory.BeanCreationException:
>> Error creating bean with name 'warDeployService' defined in class path
>> resource [red5-common.xml]: Invocation of init method failed; nested
>> exception is java.lang.RuntimeException:
>> org.quartz.ObjectAlreadyExistsException: Unable to store Job with name:
>> 'ScheduledJob_0' and group: 'DEFAULT', because one already exists with
>> this
>> identification.
>>
>> 2009-02-02 23:40:19,162 [main] ERROR o.a.catalina.core.StandardContext -
>> Error listenerStart
>> 2009-02-02 23:40:19,162 [main] ERROR o.a.catalina.core.StandardContext -
>> Context [/oflaDemo] startup failed due to previous errors
>> 2009-02-02 23:40:19,350 [main] ERROR org.red5.server.tomcat.TomcatLoader -
>> Error setting up context: /oflaDemo due to: null
>> --------------------------------------------
>>
>> If I remove my oflaDemo and install using the red5 installer - oflaDemo
>> will
>> work fine and there won't be any errors. This seems to suggest that there
>> is
>> something wrong with my oflaDemo application.
>>
>> Any guidance? To be honest, Java isn't really my domain. I am a total
>> noob.
>> :)
>>
>>
>> Art Clarke-2 wrote:
>> >
>> > Hi there,
>> >
>> > The log snipped you posted before claimed that startup was failing due
>> to
>> > previous errors.  Look further up in the log file and find the errors
>> it's
>> > complaining about and that might give you a hint.
>> >
>> > Hope that helps,
>> >
>> > - Art
>> >
>> > On Mon, Feb 2, 2009 at 2:43 PM, abshirf2 <abshirf2 at yahoo.co.uk> wrote:
>> >
>> >>
>> >> Thank you for the reply. I have just installed red5 from trunk (3494)
>> and
>> >> I
>> >> got the same error as before.
>> >>
>> >> I think it must be due to my application? I have uploaded it as .tar
>> file
>> >> if
>> >> you would like to have a look. Its exactly the same as oflaDemo but
>> with
>> >> an
>> >> extra class "CustomFileGenerator".
>> >>
>> >> For red5 0.8, am I supposed to have the logback jar files in the lib
>> >> folder?
>> >> Will this cause the Error setting up context: /oflaDemo due to: null? I
>> >> guess it shouldn't?
>> >>
>> >> Thank you for anymore help.
>> >> http://www.nabble.com/file/p21800186/oflaDemo.tar oflaDemo.tar
>> >>
>> >>
>> >> Art Clarke-2 wrote:
>> >> >
>> >> > Please upgrade to the lasted 0.8 RC2 candidate and try again:
>> >> > http://blog.xuggle.com/2009/01/28/red5-08-rc2-first-candidate-build/
>> >> >
>> >> > - Art
>> >> >
>> >> > On Mon, Feb 2, 2009 at 1:34 PM, abshirf2 <abshirf2 at yahoo.co.uk>
>> wrote:
>> >> >
>> >> >>
>> >> >> Hello all,
>> >> >>
>> >> >> I have just put a custom oflaDemo in the dist/webapps directory so
>> >> that
>> >> >> oflaDemo can stream to different directories.
>> >> >>
>> >> >> I started red5 and I got these errors. Can someone please help me
>> >> >> troubleshoot this?
>> >> >>
>> >> >> 2009-02-02 22:21:12,834 [main] ERROR
>> o.a.catalina.core.StandardContext
>> >> -
>> >> >> Context [/oflaDemo] startup failed due to previous errors
>> >> >> 2009-02-02 22:21:13,076 [main] ERROR
>> >> org.red5.server.tomcat.TomcatLoader
>> >> >> -
>> >> >> Error setting up context: /oflaDemo due to: null
>> >> >>
>> >> >> I am using Java 1.6 and I am using 0.8 RC 1 on a Fedora Core 10
>> >> machine.
>> >> >>
>> >> >> Thanks all
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://www.nabble.com/Error-setting-up-context%3A--oflaDemo-due-to%3A-null-tp21798863p21798863.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
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > http://www.xuggle.com/
>> >> > xu‧ggle (zŭ' gl) v. To freely encode, decode, and experience audio
>> and
>> >> > video.
>> >> >
>> >> > Use Xuggle to get the power of FFMPEG in Java.
>> >> >
>> >> > _______________________________________________
>> >> > Red5 mailing list
>> >> > Red5 at osflash.org
>> >> > http://osflash.org/mailman/listinfo/red5_osflash.org
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Error-setting-up-context%3A--oflaDemo-due-to%3A-null-tp21798863p21800186.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
>> >>
>> >
>> >
>> >
>> > --
>> > http://www.xuggle.com/
>> > xu‧ggle (zŭ' gl) v. To freely encode, decode, and experience audio and
>> > video.
>> >
>> > Use Xuggle to get the power of FFMPEG in Java.
>> >
>> > _______________________________________________
>> > Red5 mailing list
>> > Red5 at osflash.org
>> > http://osflash.org/mailman/listinfo/red5_osflash.org
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Error-setting-up-context%3A--oflaDemo-due-to%3A-null-tp21798863p21800837.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
>>
>
>
>
> --
> http://www.xuggle.com/
> xu‧ggle (zŭ' gl) v. To freely encode, decode, and experience audio and
> video.
>
> Use Xuggle to get the power of FFMPEG in Java.
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>


-- 
http://gregoire.org/
http://osflash.org/red5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/red5_osflash.org/attachments/20090202/68574aa8/attachment-0001.html>


More information about the Red5 mailing list