Hello,
I was using Red5 0.6.2, but I had a problem with my video's buffer
locking up... (keeps flashing Full, and Empty if I remember right) I
guess it's a common problem? I was hoping that if I updated to the
newest trunk that I would solve that problem... (it's pretty bad when
the video stops playing...).
The first problem I had was figuring out how to add commons-
fileupload... Before it was a couple config files in lib/, but I
guess that's changed to something called "Ivy". After a bit of
fiddling around, and having to add my own chain, I got commons-
fileupload in there... At least I think I do... I haven't had a
chance to test my applications just yet. What happens if I have to
add dependencies later? It doesn't seem to run Ivy again after
running ant for the first time.
The issue is when I run ./red5.sh I get the following error:
[INFO] 2007-08-26 14:52:39,233 main:
( org.springframework.beans.factory.support.DefaultListableBeanFactory.d
estroySingletons ) Destroying singletons in
[EMAIL PROTECTED]
2f6: defining beans
[placeholderConfig,red5.server,jmxFactory,jmxAgent,serializer,deserializ
er,statusObjectService,rtmpCodecFactory,remotingCodecFactory,videoCodecF
actory,streamableFileFactory,sharedObjectService,streamService,providerS
ervice,consumerService,BWControlService,schedulingService,threadFactory,
remotingPool,remotingClient,object.cache,keyframe.cache,flv.impl,flvread
er.impl,mp3reader.impl,org.springframework.beans.factory.config.MethodIn
vokingFactoryBean,org.springframework.beans.factory.config.MethodInvokin
gFactoryBean#1,streamExecutor,playlistSubscriberStream,clientBroadcastSt
ream]; root of factory hierarchy
Exception in thread "main" java.io.FileNotFoundException: /opt/red5/
conf/webapps/red5-default.xml (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at
org.springframework.core.io.FileSystemResource.getInputStream
(FileSystemResource.java:85)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDe
finitions(XmlBeanDefinitionReader.java:297)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDe
finitions(XmlBeanDefinitionReader.java:280)
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.l
oadBeanDefinitions(AbstractBeanDefinitionReader.java:131)
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.l
oadBeanDefinitions(AbstractBeanDefinitionReader.java:147)
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.l
oadBeanDefinitions(AbstractBeanDefinitionReader.java:173)
at
org.springframework.context.support.AbstractXmlApplicationContext.loadBe
anDefinitions(AbstractXmlApplicationContext.java:112)
at
org.springframework.context.support.AbstractXmlApplicationContext.loadBe
anDefinitions(AbstractXmlApplicationContext.java:79)
at
org.springframework.context.support.AbstractRefreshableApplicationContex
t.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101)
at
org.springframework.context.support.AbstractApplicationContext.obtainFre
shBeanFactory(AbstractApplicationContext.java:389)
at
org.springframework.context.support.AbstractApplicationContext.refresh
(AbstractApplicationContext.java:324)
at
org.springframework.context.support.FileSystemXmlApplicationContext.<ini
t>(FileSystemXmlApplicationContext.java:93)
at org.red5.server.ContextLoader.loadContext
(ContextLoader.java:127)
at org.red5.server.ContextLoader.init(ContextLoader.java:114)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:
1240)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1205)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory.initializeBean(AbstractAutowireCapableBeanFactory.java:1171)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory.createBean(AbstractAutowireCapableBeanFactory.java:425)
at
org.springframework.beans.factory.support.AbstractBeanFactory
$1.getObject(AbstractBeanFactory.java:251)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.g
etSingleton(DefaultSingletonBeanRegistry.java:156)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:248)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:160)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.pre
InstantiateSingletons(DefaultListableBeanFactory.java:287)
at
org.springframework.context.support.AbstractApplicationContext.refresh
(AbstractApplicationContext.java:352)
at
org.springframework.context.access.ContextSingletonBeanFactoryLocator.in
itializeDefinition(ContextSingletonBeanFactoryLocator.java:141)
at
org.springframework.beans.factory.access.SingletonBeanFactoryLocator.use
BeanFactory(SingletonBeanFactoryLocator.java:382)
at org.red5.server.Standalone.main(Standalone.java:155)
It looks like something is seriously messed up because that path
should be "/opt/red5/webapps/red5-default.xml".
Is there anything else that I should know that's different between
0.6.2 and this version?
Another thing... The build.xml file is so dang confusing! It's really
hard to add/remove applications. Wouldn't it be better for it to auto-
detect applications in the webapps directory and add a file inside
each app for special build preferences, like copying files and what-
not? And what if you don't use WAR?
-Luke
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org