[Red5] no red5.xml in war file (red5-0.6rc2.war)

Mondain mondain at gmail.com
Thu Mar 22 10:12:36 EST 2007


You are not looking at the most current version.. in the constructor, you
should see:

public Context() {
}

and a few lines below you would see this:

    /**
     * Setter for application context
     * @param context            App context
     */
    public void setApplicationContext(ApplicationContext context) {
        this.applicationContext = context;
        if (context instanceof FileSystemXmlApplicationContext) {
            //standalone core context
            coreContext = ContextSingletonBeanFactoryLocator.getInstance("
red5.xml").useBeanFactory("red5.core").getFactory();
        } else {
            //used by the WAR version
            coreContext = ((ConfigurableWebApplicationContext)
applicationContext).getBeanFactory();
        }
    }

Without checking the svn history, I can tell you that this has been in
0.6for some time....

Paul


On 3/22/07, Nikolay Nikolay <nikolay.forums at gmail.com> wrote:
>
> Sorry, then what about class Context:
>
> public Context() {
> coreContext = ContextSingletonBeanFactoryLocator
> .getInstance("red5.xml").useBeanFactory("red5.core")
> .getFactory();
> }
>
>
> On 3/22/07, Mondain <mondain at gmail.com> wrote:
> >
> > That file is not used in the war version, look at the
> > applicationContext.xml instead (this is a standard Spring web
> > application startup file).
> >
> > Paul
> >
> > On 3/21/07, Thijs Triemstra | Collab <lists at collab.nl> wrote:
> > >
> > > You can create an account for jira on http://jira.red5.org/secure/Signup!default.jspa
> > > <http://jira.red5.org/secure/Signup%21default.jspa>
> > > Op 21-mrt-2007, om 21:13 heeft Nikolay Nikolay het volgende
> > > geschreven:
> > >
> > > Sorry, but I do no thave access to your bug trucking system
> > >
> > > On 3/21/07, Thijs Triemstra | Collab <lists at collab.nl > wrote:
> > > >
> > > > You can create a ticket on http://jira.red5.org to help us track
> > > > bugs.
> > > >
> > > > Thijs
> > > >
> > > >
> > > > Op 21-mrt-2007, om 19:42 heeft Nikolay Nikolay het volgende
> > > > geschreven:
> > > >
> > > > > Hello Red5 developers.
> > > > > I am sorry, but there is not red5.xml in the war file.
> > > > > _______________________________________________
> > > > > 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
> > > >
> > >
> > > _______________________________________________
> > > 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
> > >
> > >
> >
> >
> > --
> > The early bird may get the worm, but the second mouse gets the cheese.
> > _______________________________________________
> > 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
>
>


-- 
The early bird may get the worm, but the second mouse gets the cheese.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20070322/01cc9060/attachment-0001.htm


More information about the Red5 mailing list