somehow you have bad red5.root
please try
export RED5_HOME=`pwd`
./red5.sh

no need for sudo not sure what environment is set for user root


On Wed, Mar 26, 2014 at 8:40 PM, Giovanni <[email protected]> wrote:

> I unzipped to
> /opt/OM-3.0.0
>
> and there's no boot.jar file under that path...
>
>
>
> 2014-03-26 14:19 GMT+01:00 Maxim Solodovnik <[email protected]>:
>
>> What is the folder you have unzipped OM?
>> /opt/OM-3.0.0 ?
>> /opt/OM-3.0.0/WebContent/red5 ?
>>
>> does this file exists /opt/OM-3.0.0/WebContent/red5/boot.jar ?
>>
>>
>> On Wed, Mar 26, 2014 at 7:49 PM, Giovanni <[email protected]> wrote:
>>
>>> Hi Maxim!
>>> My final command is
>>> $ sudo ./red5.sh
>>>
>>> Here's the last chunk of what I get from the interpreter:
>>>
>>> Starting Red5
>>> + exec /usr/bin/java -Dpython.home=lib
>>> -Dred5.root=/opt/OM-3.0.0/WebContent/red5
>>> -Dlogback.ContextSelector=org.red5.logging.LoggingContextSelector
>>> -Dcatalina.useNaming=true -Djava.security.debug=failure -XX:PermSize=192m
>>> -XX:MaxPermSize=512m -XX:+CMSClassUnloadingEnabled -cp
>>> /opt/OM-3.0.0/WebContent/red5/boot.jar:/opt/OM-3.0.0/WebContent/red5/conf:
>>> org.red5.server.Bootstrap
>>> Exception in thread "main" java.lang.NoClassDefFoundError:
>>> org/red5/server/Bootstrap
>>> 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:306)
>>>     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>>> Could not find the main class: org.red5.server.Bootstrap.  Program will
>>> exit.
>>>
>>>
>>>
>>>
>>> 2014-03-26 12:18 GMT+01:00 Maxim Solodovnik <[email protected]>:
>>>
>>>> what was the final command?
>>>>
>>>> like
>>>> exec /usr/bin/java .....
>>>>
>>>>
>>>> On Wed, Mar 26, 2014 at 6:10 PM, Giovanni <[email protected]> wrote:
>>>>
>>>>> Hi everybody!
>>>>> I'm trying to install OM 3.0.0 on a Ubuntu 12.04 server, with Java 6
>>>>> just recently installed through install oracle-java6-installer.
>>>>> I'd like to perform the 3 steps installation: I unzip the .zip dile on
>>>>> a OPT folder, but as I sudo red5.sh I got the following error:
>>>>>
>>>>> Starting Red5
>>>>> Exception in thread "main" java.lang.NoClassDefFoundError:
>>>>> org/red5/server/Bootstrap
>>>>> 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:306)
>>>>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>>>>> Could not find the main class: org.red5.server.Bootstrap. Program will
>>>>> exit.
>>>>>
>>>>> Adding -x to the script doesn't highlight anything suspicious.
>>>>> Any good tip for me?
>>>>> Cheers!
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> WBR
>>>> Maxim aka solomax
>>>>
>>>
>>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>


-- 
WBR
Maxim aka solomax

Reply via email to