Just wondering...
I followed the migration guide
(http://www.joachim-bauch.de/tutorials/red5/MigrationGuide.txt/view).
When I came to this part :
ISharedObject so = getSharedObject(scope, "sampleSO");
so.addSharedObjectListener(new SampleSharedObjectListener())
I tried to listen from the appStart function but the compiler throwed
me an error :
( demo.Application ) myapp.appStart
( demo.Application ) myapp.AdditionCallback resultReceived
( org.springframework.beans.factory.support.DefaultListableBeanFactory
) Destroying singletons in
[EMAIL PROTECTED]:
defining beans [placeholderConfig,web.context,web.scope,web.handler];
parent: [EMAIL PROTECTED]
( org.springframework.web.context.ContextLoader ) Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'web.scope' defined in ServletContext resource
[/WEB-INF/red5-web.xml]: Invocation of init method failed; nested
exception is java.lang.NullPointerException
Caused by:
java.lang.NullPointerException
at demo.Application.appStart(Application.java:67)
at
org.red5.server.adapter.ApplicationAdapter.start(ApplicationAdapter.java:322)
--------
Then I tried to listen after the appStart(with appConnect) and it stop
the error. I don't like the idea of using this in appConnect. If
anyone can explain me this it would be great.
--
Guillaume Malartre
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org