[Red5] addSheduledJob broken
Daniel Daley
dan at chameleoncode.jp
Thu Nov 16 19:39:31 EST 2006
I think the ApplicationAdapter#addScheduledJob method may be broken
in some instances. My previously working job now crashes the server
on startup with the following:
2006-11-16 19:18:39.091379500
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.StackOverflowError
2006-11-16 19:18:39.091383500 Caused by:
2006-11-16 19:18:39.091385500 java.lang.StackOverflowError
2006-11-16 19:18:39.091387500 at java.util.HashMap.hash
(HashMap.java:264)
2006-11-16 19:18:39.091434500 at java.util.HashMap.containsKey
(HashMap.java:342)
2006-11-16 19:18:39.091437500 at
org.red5.server.AttributeStore.hasAttribute(AttributeStore.java:58)
2006-11-16 19:18:39.091439500 at
org.red5.server.api.ScopeUtils.getScopeService(ScopeUtils.java:278)
2006-11-16 19:18:39.091442500 at
org.red5.server.adapter.ApplicationAdapter.addScheduledJob
(ApplicationAdapter.java:776)
2006-11-16 19:18:39.091444500 at
org.red5.server.adapter.ApplicationAdapter.addScheduledJob
(ApplicationAdapter.java:779)
2006-11-16 19:18:39.091455500 at
org.red5.server.adapter.ApplicationAdapter.addScheduledJob
(ApplicationAdapter.java:779)
2006-11-16 19:18:39.091458500 at
org.red5.server.adapter.ApplicationAdapter.addScheduledJob
(ApplicationAdapter.java:779)
2006-11-16 19:18:39.091460500 at
org.red5.server.adapter.ApplicationAdapter.addScheduledJob
(ApplicationAdapter.java:779)
(repeats until I stop the service)
I'm guessing it came from Changeset 1538 and that ApplicationAdapter
is caught in a recursive loop but I'm not sure why. I would add a
ticket for this but I think the button has gone missing from trac.
Thanks,
--Dan--
More information about the Red5
mailing list