[Red5] red5.bat file gives error

durga prasad ddprasad at gmail.com
Thu Mar 11 19:24:11 PST 2010


Seems you are in a position that I cannot do much. Are you using the
standalone version or other version? I have faced the problem once in Linux
environment, but the windows version works fantastic (starting from v0.6.xx
to v0.9xx) !!

On Thu, Mar 11, 2010 at 10:23 PM, daka daka <dakasadakared5 at gmail.com>wrote:

> ok I did next: eclipse work map changed into c:\red\red5server\dist\r4068
> and eclipse to c:\red5\eclipse\
>
> when I start red.bat it gives me same as if I want to start red5 from
> eclipse:
>
> 17:50:20,704 |-INFO in ch.qos.logback.classic.joran.action.LevelAction -
> org.red
> 5.server.stream.consumer level set to WARN
> 17:50:20,704 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
> Settin
> g additivity of logger [org.red5.server.net.mrtmp] to true
> 17:50:20,704 |-INFO in ch.qos.logback.classic.joran.action.LevelAction -
> org.red
> 5.server.net.mrtmp level set to WARN
> 17:50:20,704 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
> Settin
> g additivity of logger [org.red5.server.net.mrtmp.codec] to true
> 17:50:20,704 |-INFO in ch.qos.logback.classic.joran.action.LevelAction -
> org.red
> 5.server.net.mrtmp.codec level set to WARN
> 17:50:20,704 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
> Settin
> g additivity of logger [org.apache.mina] to true
> 17:50:20,704 |-INFO in ch.qos.logback.classic.joran.action.LevelAction -
> org.apa
> che.mina level set to WARN
> 17:50:20,704 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
> Settin
> g additivity of logger [org.apache.mina.filter] to true
> 17:50:20,704 |-INFO in ch.qos.logback.classic.joran.action.LevelAction -
> org.apa
> che.mina.filter level set to WARN
> 17:50:20,704 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
> Settin
> g additivity of logger
> [org.red5.server.adapter.MultiThreadedApplicationAdapter]
>  to true
> 17:50:20,704 |-INFO in ch.qos.logback.classic.joran.action.LevelAction -
> org.red
> 5.server.adapter.MultiThreadedApplicationAdapter level set to INFO
> 17:50:20,704 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
> Settin
> g additivity of logger [org.apache.commons] to true
> 17:50:20,704 |-INFO in ch.qos.logback.classic.joran.action.LevelAction -
> org.apa
> che.commons level set to WARN
> 17:50:20,705 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
> Settin
> g additivity of logger [httpclient] to true
> 17:50:20,705 |-INFO in ch.qos.logback.classic.joran.action.LevelAction -
> httpcli
> ent level set to WARN
> 17:50:20,705 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
> Settin
> g additivity of logger [org.apache.catalina] to true
> 17:50:20,705 |-INFO in ch.qos.logback.classic.joran.action.LevelAction -
> org.apa
> che.catalina level set to INFO
> 17:50:20,705 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
> Settin
> g additivity of logger [org.apache.catalina.loader] to true
> 17:50:20,705 |-INFO in ch.qos.logback.classic.joran.action.LevelAction -
> org.apa
> che.catalina.loader level set to INFO
> 17:50:20,706 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
> Settin
> g additivity of logger [org.apache.catalina.realm] to true
> 17:50:20,706 |-INFO in ch.qos.logback.classic.joran.action.LevelAction -
> org.apa
> che.catalina.realm level set to WARN
> 17:50:20,706 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
> Settin
> g additivity of logger [org.apache.catalina.session] to true
> 17:50:20,706 |-INFO in ch.qos.logback.classic.joran.action.LevelAction -
> org.apa
> che.catalina.session level set to WARN
> 17:50:20,706 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
> Settin
> g additivity of logger [org.apache.jasper] to true
> 17:50:20,706 |-INFO in ch.qos.logback.classic.joran.action.LevelAction -
> org.apa
> che.jasper level set to INFO
> 17:50:20,706 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
> Settin
> g additivity of logger [org.apache.tomcat] to true
> 17:50:20,706 |-INFO in ch.qos.logback.classic.joran.action.LevelAction -
> org.apa
> che.tomcat level set to INFO
> 17:50:20,706 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
> Settin
> g additivity of logger [org.apache.tomcat.util.net] to true
> 17:50:20,706 |-INFO in ch.qos.logback.classic.joran.action.LevelAction -
> org.apa
> che.tomcat.util.net level set to WARN
> 17:50:20,706 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
> Settin
> g additivity of logger [org.apache.coyote.http11] to true
> 17:50:20,706 |-INFO in ch.qos.logback.classic.joran.action.LevelAction -
> org.apa
> che.coyote.http11 level set to INFO
> 17:50:20,706 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
> Settin
> g additivity of logger [org.springframework] to true
> 17:50:20,706 |-INFO in ch.qos.logback.classic.joran.action.LevelAction -
> org.spr
> ingframework level set to INFO
> 17:50:20,706 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
> Settin
> g additivity of logger [org.springframework.beans.factory] to true
> 17:50:20,706 |-INFO in ch.qos.logback.classic.joran.action.LevelAction -
> org.spr
> ingframework.beans.factory level set to INFO
> 17:50:20,706 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
> Settin
> g additivity of logger [org.springframework.beans.factory.xml] to true
> 17:50:20,706 |-INFO in ch.qos.logback.classic.joran.action.LevelAction -
> org.spr
> ingframework.beans.factory.xml level set to WARN
> 17:50:20,706 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
> Settin
> g additivity of logger [org.springframework.ui.context.support] to true
> 17:50:20,706 |-INFO in ch.qos.logback.classic.joran.action.LevelAction -
> org.spr
> ingframework.ui.context.support level set to WARN
> 17:50:20,706 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
> Settin
> g additivity of logger [org.springframework.web.context] to true
> 17:50:20,706 |-INFO in ch.qos.logback.classic.joran.action.LevelAction -
> org.spr
> ingframework.web.context level set to INFO
> 17:50:20,706 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
> Settin
> g additivity of logger [org.springframework.web.context.support] to true
> 17:50:20,706 |-INFO in ch.qos.logback.classic.joran.action.LevelAction -
> org.spr
> ingframework.web.context.support level set to WARN
> 17:50:20,706 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
> Settin
> g additivity of logger [org.quartz] to true
> 17:50:20,706 |-INFO in ch.qos.logback.classic.joran.action.LevelAction -
> org.qua
> rtz level set to WARN
> 17:50:20,706 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
> Settin
> g additivity of logger [net.sf.ehcache] to true
> 17:50:20,706 |-INFO in ch.qos.logback.classic.joran.action.LevelAction -
> net.sf.
> ehcache level set to INFO
> 17:50:20,706 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
> Settin
> g additivity of logger [ch.qos] to true
> 17:50:20,707 |-INFO in ch.qos.logback.classic.joran.action.LevelAction -
> ch.qos
> level set to WARN
>
> Setting default logging context: default
> [INFO] [main] org.red5.server.Launcher - Red5 Server 1.0.0 RC1 $Rev: 4063 $
> (htt
> p://code.google.com/p/red5/)
> Red5 Server 1.0.0 RC1 $Rev: 4063 $ (http://code.google.com/p/red5/)
> [INFO] [main]
> org.springframework.context.support.FileSystemXmlApplicationContex
> t - Refreshing
> org.springframework.context.support.FileSystemXmlApplicationConte
> xt at 922804: startup date [Thu Mar 11 17:50:21 CET 2010]; root of context
> hierarch
> y
> [INFO] [main]
> org.springframework.beans.factory.config.PropertyPlaceholderConfig
> urer - Loading properties file from class path resource [red5.properties]
> [INFO] [main]
> org.springframework.beans.factory.support.DefaultListableBeanFacto
> ry - Pre-instantiating singletons in
> org.springframework.beans.factory.support.D
> efaultListableBeanFactory at e6ff0d: defining beans
> [placeholderConfig,red5.common,
> red5.core,context.loader,pluginLauncher,tomcat.server]; root of factory
> hierarch
> y
> [INFO] [main]
> org.springframework.context.support.FileSystemXmlApplicationContex
> t - Refreshing
> org.springframework.context.support.FileSystemXmlApplicationConte
> xt at 290fbc: startup date [Thu Mar 11 17:50:21 CET 2010]; root of context
> hierarch
> y
> [INFO] [main]
> org.springframework.beans.factory.config.PropertyPlaceholderConfig
> urer - Loading properties file from class path resource [red5.properties]
> [INFO] [main]
> org.springframework.beans.factory.support.DefaultListableBeanFacto
> ry - Pre-instantiating singletons in
> org.springframework.beans.factory.support.D
> efaultListableBeanFactory at 1f6ba0f: defining beans
> [placeholderConfig,red5.server
>
> ,jmxFactory,jmxAgent,serializer,deserializer,statusObjectService,rtmpCodecFactor
>
> y,rtmptCodecFactory,remotingCodecFactory,streamableFileFactory,filePersistenceTh
>
> read,sharedObjectService,streamService,providerService,consumerService,bandwidth
>
> Filter,schedulingService,warDeployService,remotingClient,object.cache,keyframe.c
>
> ache,flv.impl,flvreader.impl,mp4reader.impl,mp3reader.impl,org.springframework.b
>
> eans.factory.config.MethodInvokingFactoryBean#0,org.springframework.beans.factor
>
> y.config.MethodInvokingFactoryBean#1,streamExecutor,playlistSubscriberStream,cli
> entBroadcastStream]; root of factory hierarchy
> [INFO] [main]
> org.springframework.beans.factory.support.DefaultListableBeanFacto
> ry - Destroying singletons in
> org.springframework.beans.factory.support.DefaultL
> istableBeanFactory at 1f6ba0f: defining beans
> [placeholderConfig,red5.server,jmxFac
>
> tory,jmxAgent,serializer,deserializer,statusObjectService,rtmpCodecFactory,rtmpt
>
> CodecFactory,remotingCodecFactory,streamableFileFactory,filePersistenceThread,sh
>
> aredObjectService,streamService,providerService,consumerService,bandwidthFilter,
>
> schedulingService,warDeployService,remotingClient,object.cache,keyframe.cache,fl
>
> v.impl,flvreader.impl,mp4reader.impl,mp3reader.impl,org.springframework.beans.fa
>
> ctory.config.MethodInvokingFactoryBean#0,org.springframework.beans.factory.confi
>
> g.MethodInvokingFactoryBean#1,streamExecutor,playlistSubscriberStream,clientBroa
> dcastStream]; root of factory hierarchy
> [INFO] [main]
> org.springframework.beans.factory.support.DefaultListableBeanFacto
> ry - Destroying singletons in
> org.springframework.beans.factory.support.DefaultL
> istableBeanFactory at e6ff0d: defining beans [placeholderConfig,red5.common,
> red5.co
> re,context.loader,pluginLauncher,tomcat.server]; root of factory hierarchy
>
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean wit
> h name 'red5.common' defined in class path resource [red5.xml]:
> Instantiation of
>
>  bean failed; nested exception is
> org.springframework.beans.BeanInstantiationExc
> eption: Could not instantiate bean class [
> org.springframework.context.support.Fi
> leSystemXmlApplicationContext]: Constructor threw exception; nested
> exception is
>  org.springframework.beans.factory.BeanCreationException: Error creating
> bean wi
>
> th name 'statusObjectService' defined in class path resource
> [red5-common.xml]:
> Instantiation of bean failed; nested exception is
> org.springframework.beans.Bean
> InstantiationException: Could not instantiate bean class
> [org.red5.server.net.rt
> mp.status.StatusObjectService]: Constructor threw exception; nested
> exception is
>  java.lang.Error: Unresolved compilation problems:
>         The import org.apache.mina.core cannot be resolved
>         IoBuffer cannot be resolved to a type
>         IoBuffer cannot be resolved
>         IoBuffer cannot be resolved to a type
>
>         at
> org.springframework.beans.factory.support.ConstructorResolver.autowir
> eConstructor(ConstructorResolver.java:283)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBean
> Factory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:984)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBean
> Factory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:886)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBean
> Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:479)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBean
> Factory.createBean(AbstractAutowireCapableBeanFactory.java:450)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
> ject(AbstractBeanFactory.java:290)
>         at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
> y.getSingleton(DefaultSingletonBeanRegistry.java:222)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
> an(AbstractBeanFactory.java:287)
>
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean
> (AbstractBeanFactory.java:189)
>         at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.
> preInstantiateSingletons(DefaultListableBeanFactory.java:557)
>         at
> org.springframework.context.support.AbstractApplicationContext.finish
> BeanFactoryInitialization(AbstractApplicationContext.java:842)
>         at
> org.springframework.context.support.AbstractApplicationContext.refres
> h(AbstractApplicationContext.java:416)
>         at org.red5.server.Launcher.launch(Launcher.java:62)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.red5.server.Bootstrap.bootStrap(Bootstrap.java:135)
>         at org.red5.server.Bootstrap.main(Bootstrap.java:50)
> Caused by: org.springframework.beans.BeanInstantiationException: Could not
> insta
> ntiate bean class
> [org.springframework.context.support.FileSystemXmlApplicationC
> ontext]: Constructor threw exception; nested exception is
> org.springframework.be
> ans.factory.BeanCreationException: Error creating bean with name
> 'statusObjectSe
> rvice' defined in class path resource [red5-common.xml]: Instantiation of
> bean f
>
> ailed; nested exception is
> org.springframework.beans.BeanInstantiationException:
>  Could not instantiate bean class
> [org.red5.server.net.rtmp.status.StatusObjectS
> ervice]: Constructor threw exception; nested exception is java.lang.Error:
> Unres
> olved compilation problems:
>         The import org.apache.mina.core cannot be resolved
>         IoBuffer cannot be resolved to a type
>         IoBuffer cannot be resolved
>         IoBuffer cannot be resolved to a type
>
>         at
> org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:1
> 41)
>         at
> org.springframework.beans.factory.support.SimpleInstantiationStrategy
> .instantiate(SimpleInstantiationStrategy.java:107)
>         at
> org.springframework.beans.factory.support.ConstructorResolver.autowir
> eConstructor(ConstructorResolver.java:275)
>         ... 18 more
> Caused by: org.springframework.beans.factory.BeanCreationException: Error
> creati
>
> ng bean with name 'statusObjectService' defined in class path resource
> [red5-com
> mon.xml]: Instantiation of bean failed; nested exception is
> org.springframework.
> beans.BeanInstantiationException: Could not instantiate bean class
> [org.red5.ser
> ver.net.rtmp.status.StatusObjectService]: Constructor threw exception;
> nested ex
> ception is java.lang.Error: Unresolved compilation problems:
>         The import org.apache.mina.core cannot be resolved
>         IoBuffer cannot be resolved to a type
>         IoBuffer cannot be resolved
>         IoBuffer cannot be resolved to a type
>
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBean
> Factory.instantiateBean(AbstractAutowireCapableBeanFactory.java:946)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBean
> Factory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:890)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBean
> Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:479)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBean
> Factory.createBean(AbstractAutowireCapableBeanFactory.java:450)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
> ject(AbstractBeanFactory.java:290)
>         at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
> y.getSingleton(DefaultSingletonBeanRegistry.java:222)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
> an(AbstractBeanFactory.java:287)
>
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean
> (AbstractBeanFactory.java:189)
>         at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.
> preInstantiateSingletons(DefaultListableBeanFactory.java:557)
>         at
> org.springframework.context.support.AbstractApplicationContext.finish
> BeanFactoryInitialization(AbstractApplicationContext.java:842)
>         at
> org.springframework.context.support.AbstractApplicationContext.refres
> h(AbstractApplicationContext.java:416)
>         at
> org.springframework.context.support.FileSystemXmlApplicationContext.<
> init>(FileSystemXmlApplicationContext.java:140)
>         at
> org.springframework.context.support.FileSystemXmlApplicationContext.<
> init>(FileSystemXmlApplicationContext.java:94)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>
>         at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
> orAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
> onstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>         at
> org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:1
> 26)
>         ... 20 more
> Caused by: org.springframework.beans.BeanInstantiationException: Could not
> insta
> ntiate bean class [org.red5.server.net.rtmp.status.StatusObjectService]:
> Constru
> ctor threw exception; nested exception is java.lang.Error: Unresolved
> compilatio
> n problems:
>         The import org.apache.mina.core cannot be resolved
>         IoBuffer cannot be resolved to a type
>         IoBuffer cannot be resolved
>         IoBuffer cannot be resolved to a type
>
>         at
> org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:1
> 41)
>         at
> org.springframework.beans.factory.support.SimpleInstantiationStrategy
> .instantiate(SimpleInstantiationStrategy.java:72)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBean
> Factory.instantiateBean(AbstractAutowireCapableBeanFactory.java:938)
>         ... 37 more
> Caused by: java.lang.Error: Unresolved compilation problems:
>         The import org.apache.mina.core cannot be resolved
>         IoBuffer cannot be resolved to a type
>         IoBuffer cannot be resolved
>         IoBuffer cannot be resolved to a type
>
>         at
> org.red5.server.net.rtmp.status.StatusObjectService.<init>(StatusObje
> ctService.java:26)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>
>         at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
> orAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
> onstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>         at
> org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:1
> 26)
>         ... 39 more
> Bootstrap complete
>
> if i try:http://localhost:5080/ it gives me nothing!
> The normal install of red5 I uninstalled it, maybe because of this!
>
> So wat can it be now????
>
> tnx.
> Davor
>
>
> On Thu, Mar 11, 2010 at 3:36 PM, daka daka <dakasadakared5 at gmail.com>wrote:
>
>> ok
>>
>> I printed with echo next things:
>>
>> echo "%JYTHON_OPTS%"
>> echo %JAVA_HOME%\bin\java
>> echo %JAVA_OPTS%
>> echo "%RED5_CLASSPATH%"
>> echo %RED5_MAINCLASS%
>> echo %RED5_OPTS%
>>
>> and results are next:
>>
>> C:\Users\m&d\workspace\red5_server\dist\r1>red5.bat
>>
>> The system cannot find the path specified.
>> Starting Red5
>> Exception in thread "main" java.lang.NoClassDefFoundError:
>> org/red5/server/Boots
>> trap
>> Caused by: java.lang.ClassNotFoundException: org.red5.server.Bootstrap
>>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>>         at java.security.AccessController.doPrivileged(Native Method)
>>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>>         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>>         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>> Could not find the main class: org.red5.server.Bootstrap.  Program will
>> exit.
>> "-Dpython.home=lib"
>> C:\Program Files\Java\jdk1.6.0_18\bin\java
>>
>> -Dlogback.ContextSelector=org.red5.logging.LoggingContextSelector
>> -Dcatalina.use
>>  Naming=true -Djava.security.debug=failure
>> "C:\Users\m\boot.jar;C:\Users\m\conf;.;C:\Program
>> Files\QuickTime\QTSystem\QTJav
>> a.zip"
>> org.red5.server.Bootstrap
>> ECHO is off.
>>
>> Press any key to continue . . .
>>
>> On Thu, Mar 11, 2010 at 3:28 PM, durga prasad <ddprasad at gmail.com> wrote:
>>
>>> Some how, your current directory, is not in the class path. Problem is
>>> with the class path.
>>>
>>>
>>> "%JAVA_HOME%\bin\java" %JYTHON_OPTS% %JAVA_OPTS% -cp "%RED5_CLASSPATH%"
>>> %RED5_MAINCLASS% %RED5_OPTS%
>>>
>>> Can you print the variables, say echo %JYTHON_OPTS%
>>>
>>>
>>>
>>> On Thu, Mar 11, 2010 at 7:41 PM, daka daka <dakasadakared5 at gmail.com>wrote:
>>>
>>>> My red5 dist/r1
>>>>
>>>> 03/10/2010  10:45 PM    <DIR>          .
>>>> 03/10/2010  10:45 PM    <DIR>          ..
>>>> 03/10/2010  10:45 PM            15,739 boot.jar
>>>> 03/10/2010  10:45 PM    <DIR>          conf
>>>> 03/10/2010  10:45 PM    <DIR>          lib
>>>> 03/10/2010  10:45 PM             1,504 license.txt
>>>> 03/10/2010  10:52 PM    <DIR>          log
>>>> 03/10/2010  10:45 PM               167 red5-debug.bat
>>>> 03/10/2010  10:45 PM               220 red5-debug.sh
>>>> 03/10/2010  10:45 PM             1,193 red5-highperf.bat
>>>> 03/10/2010  10:45 PM               437 red5-highperf.sh
>>>> 03/10/2010  10:45 PM               303 red5-shutdown.bat
>>>> 03/10/2010  10:45 PM               344 red5-shutdown.sh
>>>> 03/11/2010  02:54 PM             1,116 red5.bat
>>>> 03/10/2010  10:45 PM           864,008 red5.jar
>>>> 03/10/2010  10:45 PM             1,297 red5.sh
>>>> 03/10/2010  10:45 PM    <DIR>          webapps
>>>>               11 File(s)        886,328 bytes
>>>>                6 Dir(s)  24,084,660,224 bytes free
>>>>
>>>>
>>>> C:\Users\m&d\workspace\red5_server\dist\r1>
>>>>
>>>> and
>>>>  red5_server
>>>>
>>>>  Directory of C:\Users\m&d\workspace\red5_server
>>>>
>>>> 03/10/2010  10:44 PM    <DIR>          .
>>>> 03/10/2010  10:44 PM    <DIR>          ..
>>>> 03/10/2010  04:32 PM             1,030 .classpath
>>>> 03/10/2010  04:32 PM               387 .project
>>>> 03/10/2010  04:32 PM    <DIR>          .settings
>>>> 03/10/2010  04:45 PM    <DIR>          bin
>>>> 03/10/2010  04:46 PM            15,739 boot.jar
>>>> 03/10/2010  04:32 PM             1,818 build.properties
>>>> 03/10/2010  04:32 PM            57,896 build.xml
>>>> 03/10/2010  04:35 PM    <DIR>          cluster
>>>> 03/10/2010  10:44 PM    <DIR>          dist
>>>> 03/10/2010  04:32 PM    <DIR>          doc
>>>> 03/10/2010  04:32 PM             5,425 ivy.xml
>>>> 03/10/2010  04:32 PM             2,363 ivysettings.xml
>>>> 03/10/2010  04:43 PM    <DIR>          lib
>>>> 03/10/2010  04:32 PM             1,504 license.txt
>>>> 03/10/2010  04:35 PM    <DIR>          log
>>>> 03/10/2010  04:32 PM               434 Makefile
>>>> 03/10/2010  04:32 PM            10,464 project.zip
>>>> 03/10/2010  04:32 PM               167 red5-debug.bat
>>>> 03/10/2010  04:32 PM               220 red5-debug.sh
>>>> 03/10/2010  04:32 PM             1,193 red5-highperf.bat
>>>> 03/10/2010  04:32 PM               437 red5-highperf.sh
>>>> 03/10/2010  04:32 PM               303 red5-shutdown.bat
>>>> 03/10/2010  04:32 PM               344 red5-shutdown.sh
>>>> 03/10/2010  10:22 PM             1,116 red5.bat
>>>> 03/10/2010  10:45 PM           864,008 red5.jar
>>>> 03/10/2010  04:32 PM             1,297 red5.sh
>>>> 03/10/2010  04:31 PM    <DIR>          src
>>>> 03/10/2010  04:31 PM    <DIR>          test
>>>> 03/10/2010  04:32 PM             2,662 util.xml
>>>> 03/10/2010  04:32 PM    <DIR>          webapps
>>>>               20 File(s)        968,807 bytes
>>>>               12 Dir(s)  24,303,443,968 bytes free
>>>>
>>>>
>>>> C:\Users\m&d\workspace\red5_server>
>>>>
>>>>
>>>>
>>>> On Thu, Mar 11, 2010 at 3:06 PM, durga prasad <ddprasad at gmail.com>wrote:
>>>>
>>>>> how many jar files are there in your Red5 Home?
>>>>>
>>>>>
>>>>> On Thu, Mar 11, 2010 at 7:20 PM, daka daka <dakasadakared5 at gmail.com>wrote:
>>>>>
>>>>>> I tried but next the same error:
>>>>>>
>>>>>> The system cannot find the path specified.
>>>>>> Starting Red5
>>>>>> Exception in thread "main" java.lang.NoClassDefFoundError:
>>>>>> org/red5/server/Boots
>>>>>> trap
>>>>>> Caused by: java.lang.ClassNotFoundException: org.red5.server.Bootstrap
>>>>>>         at java.net.URLClassLoader$1.run(Unknown Source)
>>>>>>
>>>>>>         at java.security.AccessController.doPrivileged(Native Method)
>>>>>>         at java.net.URLClassLoader.findClass(Unknown Source)
>>>>>>         at java.lang.ClassLoader.loadClass(Unknown Source)
>>>>>>         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>>>>>>         at java.lang.ClassLoader.loadClass(Unknown Source)
>>>>>>
>>>>>> Could not find the main class: org.red5.server.Bootstrap.  Program
>>>>>> will exit.
>>>>>> Press any key to continue . . .
>>>>>>
>>>>>> Can I meke new user and all new things for new user? to escape &...
>>>>>> I'm trying now to install centos on vista
>>>>>>
>>>>>> http://www.lifehack.org/articles/technology/beginners-guide-run-linux-like-any-other-program-in-windows.html
>>>>>> to do it with centos, just because doesn't work on vista
>>>>>>
>>>>>>
>>>>>> On Thu, Mar 11, 2010 at 2:39 PM, durga prasad <ddprasad at gmail.com>wrote:
>>>>>>
>>>>>>> try adding
>>>>>>> FOR /F "skip=2 tokens=2*" %%A IN ('REG QUERY
>>>>>>> "HKLM\Software\JavaSoft\Java Runtime Environment" /v CurrentVersion') DO set
>>>>>>> CurVer=%%B
>>>>>>> FOR /F "skip=2 tokens=2*" %%A IN ('REG QUERY
>>>>>>> "HKLM\Software\JavaSoft\Java Runtime Environment\%CurVer%" /v JavaHome') DO
>>>>>>> set JAVA_HOME=%%B
>>>>>>>
>>>>>>> before SETLOCAL
>>>>>>> after @echo off
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Mar 11, 2010 at 7:06 PM, durga prasad <ddprasad at gmail.com>wrote:
>>>>>>>
>>>>>>>> Not sure tough,* m&d* might cause problem.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, Mar 11, 2010 at 6:32 PM, daka daka <
>>>>>>>> dakasadakared5 at gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Ok thanks,
>>>>>>>>> hier is how I checked all:
>>>>>>>>> 1. I'm running red5 server from my
>>>>>>>>> c:\Users\m&d\workspace\red5_server\dist\r1 directory
>>>>>>>>> 2. RED_HOME environment variable pointing to good direction; I
>>>>>>>>> don't know! Hier is my red5.bat:
>>>>>>>>>
>>>>>>>>> @echo off
>>>>>>>>>
>>>>>>>>> SETLOCAL
>>>>>>>>>
>>>>>>>>> if NOT DEFINED RED5_HOME set RED5_HOME=%CD%
>>>>>>>>>
>>>>>>>>> if NOT DEFINED RED5_MAINCLASS set
>>>>>>>>> RED5_MAINCLASS=org.red5.server.Bootstrap
>>>>>>>>>
>>>>>>>>> if NOT DEFINED JAVA_HOME goto err
>>>>>>>>>
>>>>>>>>> REM JAVA options
>>>>>>>>> REM You can set JAVA_OPTS to add additional options if you want
>>>>>>>>> REM Set up logging options
>>>>>>>>> set
>>>>>>>>> LOGGING_OPTS=-Dlogback.ContextSelector=org.red5.logging.LoggingContextSelector
>>>>>>>>> -Dcatalina.useNaming=true
>>>>>>>>> REM Set up security options
>>>>>>>>> REM set SECURITY_OPTS= -Djava.security.debug=failure
>>>>>>>>> -Djava.security.manager -Djava.security.policy=%RED5_HOME%/conf/red5.policy
>>>>>>>>> set SECURITY_OPTS=-Djava.security.debug=failure
>>>>>>>>> set JAVA_OPTS=%LOGGING_OPTS% %SECURITY_OPTS% %JAVA_OPTS%
>>>>>>>>>
>>>>>>>>> set JYTHON_OPTS=-Dpython.home=lib
>>>>>>>>>
>>>>>>>>> set
>>>>>>>>> RED5_CLASSPATH=%RED5_HOME%\boot.jar;%RED5_HOME%\conf;%CLASSPATH%
>>>>>>>>>
>>>>>>>>> if NOT DEFINED RED5_OPTS set RED5_OPTS=
>>>>>>>>>
>>>>>>>>> goto launchRed5
>>>>>>>>>
>>>>>>>>> :launchRed5
>>>>>>>>> echo Starting Red5
>>>>>>>>> "%JAVA_HOME%\bin\java" %JYTHON_OPTS% %JAVA_OPTS% -cp
>>>>>>>>> "%RED5_CLASSPATH%" %RED5_MAINCLASS% %RED5_OPTS%
>>>>>>>>> goto finally
>>>>>>>>>
>>>>>>>>> :err
>>>>>>>>> echo JAVA_HOME environment variable not set! Take a look at the
>>>>>>>>> readme.
>>>>>>>>> pause
>>>>>>>>>
>>>>>>>>> :finally
>>>>>>>>> ENDLOCAL
>>>>>>>>>
>>>>>>>>> pause
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> if I go to cmd.exe and type: set JAVA_HOME    i get path to java
>>>>>>>>> jdk.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> So what can it be???
>>>>>>>>>
>>>>>>>>> tnx.
>>>>>>>>> Davor
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Thu, Mar 11, 2010 at 7:29 AM, Trevor Burton <
>>>>>>>>> worldofpaper at googlemail.com> wrote:
>>>>>>>>>
>>>>>>>>>> Java can't find the Bootstrap class.
>>>>>>>>>>
>>>>>>>>>> check you're running the server from the correct location (ie NOT
>>>>>>>>>> the root red5 directory but the working directory - /dist or whatever).
>>>>>>>>>>
>>>>>>>>>> otherwise check if you have a RED5_HOME environment variable
>>>>>>>>>> pointing to the wrong location.
>>>>>>>>>>
>>>>>>>>>> lastly check your path environment variable to see if something
>>>>>>>>>> there is pointing Red5 in the wrong direction.
>>>>>>>>>>
>>>>>>>>>> T
>>>>>>>>>>
>>>>>>>>>> On Wed, Mar 10, 2010 at 4:03 PM, daka daka <
>>>>>>>>>> dakasadakared5 at gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hello there,
>>>>>>>>>>> I'm watching the tutorials on the youtube:
>>>>>>>>>>> http://www.youtube.com/watch?v=bplO44DQmvA&feature=related
>>>>>>>>>>> One video before I had to run as ant and it was failure, but
>>>>>>>>>>> after shuthing down red5 and doing procces again it builded succesfull.
>>>>>>>>>>> After this I needed to start red5.bat and it gives me next error:
>>>>>>>>>>> The system cannot find the path specified.
>>>>>>>>>>> Starting Red5
>>>>>>>>>>> Exception in thread "main" java.lang.NoClassDefFoundError:
>>>>>>>>>>> org/red5/server/Boots
>>>>>>>>>>> trap
>>>>>>>>>>> Caused by: java.lang.ClassNotFoundException:
>>>>>>>>>>> org.red5.server.Bootstrap
>>>>>>>>>>>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>>>>>>>>>>>         at java.security.AccessController.doPrivileged(Native
>>>>>>>>>>> Method)
>>>>>>>>>>>         at
>>>>>>>>>>> java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>>>>>>>>>>>         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>>>>>>>>>>>         at
>>>>>>>>>>> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>>>>>>>>>>>         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>>>>>>>>>>> Could not find the main class: org.red5.server.Bootstrap.
>>>>>>>>>>> Program will exit.
>>>>>>>>>>> Press any key to continue . . .
>>>>>>>>>>>
>>>>>>>>>>> So what can it be???
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Red5 mailing list
>>>>>>>>>>> Red5 at osflash.org
>>>>>>>>>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Trevor Burton
>>>>>>>>>> http://www.flashmonkey.org
>>>>>>>>>> http://www.infrared5.com
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> 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
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Thanking You,
>>>>>>>> Yours Sincerely.
>>>>>>>>
>>>>>>>> D DURGA PRASAD
>>>>>>>> Jr Technical Staff,
>>>>>>>> Computer Science Engineering Department.,
>>>>>>>> Indian Institute of Technology, Kharagpur, INDIA
>>>>>>>>
>>>>>>>> Contact:
>>>>>>>> ddprasad at iitkgp.ac.in,ddprasad at cse.iitkgp.ernet.in,
>>>>>>>> ddprasad at gmail.com
>>>>>>>> Mobile: +91 9474756471
>>>>>>>> Success is not final, failure is not fatal: it is the courage to
>>>>>>>> continue that counts!!
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Thanking You,
>>>>>>> Yours Sincerely.
>>>>>>>
>>>>>>> D DURGA PRASAD
>>>>>>> Jr Technical Staff,
>>>>>>> Computer Science Engineering Department.,
>>>>>>> Indian Institute of Technology, Kharagpur, INDIA
>>>>>>>
>>>>>>> Contact:
>>>>>>> ddprasad at iitkgp.ac.in,ddprasad at cse.iitkgp.ernet.in,
>>>>>>> ddprasad at gmail.com
>>>>>>> Mobile: +91 9474756471
>>>>>>> Success is not final, failure is not fatal: it is the courage to
>>>>>>> continue that counts!!
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> 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
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thanking You,
>>>>> Yours Sincerely.
>>>>>
>>>>> D DURGA PRASAD
>>>>> Jr Technical Staff,
>>>>> Computer Science Engineering Department.,
>>>>> Indian Institute of Technology, Kharagpur, INDIA
>>>>>
>>>>> Contact:
>>>>> ddprasad at iitkgp.ac.in,ddprasad at cse.iitkgp.ernet.in, ddprasad at gmail.com
>>>>> Mobile: +91 9474756471
>>>>> Success is not final, failure is not fatal: it is the courage to
>>>>> continue that counts!!
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>
>>>>
>>>
>>>
>>> --
>>> Thanking You,
>>> Yours Sincerely.
>>>
>>> D DURGA PRASAD
>>> Jr Technical Staff,
>>> Computer Science Engineering Department.,
>>> Indian Institute of Technology, Kharagpur, INDIA
>>>
>>> Contact:
>>> ddprasad at iitkgp.ac.in,ddprasad at cse.iitkgp.ernet.in, ddprasad at gmail.com
>>> Mobile: +91 9474756471
>>> Success is not final, failure is not fatal: it is the courage to continue
>>> that counts!!
>>>
>>>
>>> _______________________________________________
>>> 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
>
>


-- 
Thanking You,
Yours Sincerely.

D DURGA PRASAD
Jr Technical Staff,
Computer Science Engineering Department.,
Indian Institute of Technology, Kharagpur, INDIA

Contact:
ddprasad at iitkgp.ac.in,ddprasad at cse.iitkgp.ernet.in, ddprasad at gmail.com
Mobile: +91 9474756471
Success is not final, failure is not fatal: it is the courage to continue
that counts!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/red5_osflash.org/attachments/20100312/fd78fe7e/attachment-0001.html>


More information about the Red5 mailing list