[Red5] red5.bat file gives error
daka daka
dakasadakared5 at gmail.com
Thu Mar 11 06:11:40 PST 2010
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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/red5_osflash.org/attachments/20100311/c855ff61/attachment-0001.html>
More information about the Red5
mailing list