Problems running red5 from trunk in windows 7

133 views
Skip to first unread message

Juan Diego

unread,
Oct 9, 2012, 1:02:09 PM10/9/12
to red5in...@googlegroups.com
Hi,

I did some tests in Linux a Red5 runned without a problem, no I want to do some test with the apps so I installed windows on my machine, apache-ant, Ivy, etc.  It seems to compile without any problems but when ever I try to run i get this error,

Exception org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'red5.common' defined in class path resource [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 'mbeanExporter': Invocation of init method failed; nested exception is org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [clientBroadcastStream] with key 'clientBroadcastStream'; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class org.red5.server.stream.ClientBroadcastStream]: Common causes of this problem include using a final class or a non-visible class; nested exception is net.sf.cglib.core.CodeGenerationException: java.lang.Error-->Unresolved compilation problems: 
The import org.apache.mina cannot be resolved
IoBuffer cannot be resolved to a type
The method getData() from the type IStreamData<capture#3-of ?> refers to the missing type IoBuffer
IoBuffer cannot be resolved
IoBuffer cannot be resolved
IoBuffer cannot be resolved
IoBuffer cannot be resolved
IoBuffer cannot be resolved to a type
The method getDecoderConfiguration() from the type IVideoStreamCodec refers to the missing type IoBuffer
IoBuffer cannot be resolved to a type
The method getDecoderConfiguration() from the type IAudioStreamCodec refers to the missing type IoBuffer

Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.MethodInvokingFactoryBean#0' defined in class path resource [red5-common.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: IoBuffer
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.MethodInvokingFactoryBean#1' defined in class path resource [red5-common.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: IoBuffer
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.MethodInvokingFactoryBean#0' defined in class path resource [red5-common.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: IoBuffer
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.MethodInvokingFactoryBean#1' defined in class path resource [red5-common.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: IoBuffer


I also se a warning when it compiles,

[copy] Warning: C:\Users\flash\trunk\deploy does not exist.

Which make sense in the build there is this

<copy todir="${webapps.build.dir}/root/demos" failonerror="false">
<fileset dir="../../../flash/trunk/deploy">
<include name="**/*.*"/>
<exclude name=".svn"/>
</fileset>
</copy>

So it is looking outside the workspace on eclipse.

Thanks,

Juan Diego

Mondain

unread,
Oct 9, 2012, 1:14:35 PM10/9/12
to red5in...@googlegroups.com
The build scripts and / or targets of some of the modules expect that the whole repo is checked out; some day we'll make this easier, like when we move to Maven.

Paul

Juan Diego

unread,
Oct 9, 2012, 1:17:51 PM10/9/12
to red5in...@googlegroups.com

So is there a workaround

--
 
 
 

Mondain

unread,
Oct 9, 2012, 1:19:48 PM10/9/12
to red5in...@googlegroups.com
The workaround would be to comment out that target in the script on your box.

Juan Diego

unread,
Oct 15, 2012, 11:45:40 AM10/15/12
to red5in...@googlegroups.com
Hi, sorry to bother you again, but what should I comment out,  'mbeanExporter'? I read former post of you http://osflash.org/pipermail/red5_osflash.org/2008-October/027406.html, but I dont know what should I comment.

--
 
 
 

Mondain

unread,
Oct 15, 2012, 3:42:30 PM10/15/12
to red5in...@googlegroups.com
In the build.xml change this:

<copy todir="${webapps.build.dir}/root/demos" failonerror="false">
<fileset dir="../../../flash/trunk/deploy">
<include name="**/*.*"/>
<exclude name=".svn"/>
</fileset>
</copy>
to this:
<!--
<copy todir="${webapps.build.dir}/root/demos" failonerror="false">
<fileset dir="../../../flash/trunk/deploy">
<include name="**/*.*"/>
<exclude name=".svn"/>
</fileset>
</copy>
-->

Juan Diego

unread,
Oct 15, 2012, 5:03:45 PM10/15/12
to red5in...@googlegroups.com
Is that generating the other problems when I try to run Red5, I thought that was just a warning. What about the other problems I had.

--
 
 
 

Juan Diego

unread,
Oct 15, 2012, 5:09:42 PM10/15/12
to red5in...@googlegroups.com
Lol, sorry  I commented that and worked, thanks.
Reply all
Reply to author
Forward
0 new messages