You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by so...@apache.org on 2012/10/25 12:26:00 UTC
svn commit: r1402083 - in
/incubator/openmeetings/trunk/singlewebapp/WebContent/red5: admin.bat
admin.sh
Author: solomax
Date: Thu Oct 25 10:26:00 2012
New Revision: 1402083
URL: http://svn.apache.org/viewvc?rev=1402083&view=rev
Log:
Command line admin is fixed after Tomcat upgrade
Modified:
incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.bat
incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.sh
Modified: incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.bat
URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.bat?rev=1402083&r1=1402082&r2=1402083&view=diff
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.bat (original)
+++ incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.bat Thu Oct 25 10:26:00 2012
@@ -15,7 +15,7 @@ REM ####################################
set RED5_HOME=%~dp0
set OM_CONTEXT=openmeetings
-set CLASSPATH=%RED5_HOME%\*;%RED5_HOME%\conf;%RED5_HOME%\lib\*;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF\lib\*;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF\classes
+set CLASSPATH=%RED5_HOME%\*;%RED5_HOME%\conf;%RED5_HOME%\plugins\*;%RED5_HOME%\lib\*;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF\lib\*;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF\classes
java -cp "%CLASSPATH%" -Dcontext=%OM_CONTEXT% -Dlogback.ContextSelector=org.red5.logging.LoggingContextSelector org.apache.openmeetings.cli.Admin %*
Modified: incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.sh
URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.sh?rev=1402083&r1=1402082&r2=1402083&view=diff
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.sh (original)
+++ incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.sh Thu Oct 25 10:26:00 2012
@@ -15,7 +15,7 @@
export RED5_HOME=$(cd $(dirname "$0"); pwd)
export OM_CONTEXT=openmeetings
-export CLASSPATH=$RED5_HOME/*:$RED5_HOME/conf:$RED5_HOME/lib/*:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF/lib/*:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF/classes
+export CLASSPATH=$RED5_HOME/*:$RED5_HOME/conf:$RED5_HOME/plugins/*:$RED5_HOME/lib/*:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF/lib/*:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF/classes
java -cp "$CLASSPATH" -Dcontext=${OM_CONTEXT} -Dlogback.ContextSelector=org.red5.logging.LoggingContextSelector org.apache.openmeetings.cli.Admin $*
Re: svn commit: r1402083 - in /incubator/openmeetings/trunk/singlewebapp/WebContent/red5:
admin.bat admin.sh
Posted by Maxim Solodovnik <so...@gmail.com>.
Fixed
revision 1402109
perform test with "admin.bat -b -v"
works as expected
On Thu, Oct 25, 2012 at 6:43 PM, Maxim Solodovnik <so...@gmail.com>wrote:
> Sorry :(
> will doublecheck
>
>
> On Thu, Oct 25, 2012 at 6:17 PM, seba.wagner@gmail.com <
> seba.wagner@gmail.com> wrote:
>
>> I've done that, now I receive another exception:
>> Setting default logging context: default
>> [ERROR] [main] org.apache.openmeetings.cli.Admin - Install failed
>> java.lang.NullPointerException: null
>> at
>> org.apache.openmeetings.utils.OMContextListener.pathToName(OMContextListener.java:42)
>> ~[openmeetings-2.1.0-SNAPSHOT.jar:na]
>> at
>> org.apache.openmeetings.utils.OMContextListener.contextInitialized(OMContextListener.java:33)
>> ~[openmeetings-2.1.0-SNAPSHOT.jar:na]
>> at
>> org.apache.openmeetings.cli.Admin.getApplicationContext(Admin.java:159)
>> [openmeetings-2.1.0-SNAPSHOT.jar:na]
>> at
>> org.apache.openmeetings.cli.Admin.checkAdminDetails(Admin.java:555)
>> [openmeetings-2.1.0-SNAPSHOT.jar:na]
>> at org.apache.openmeetings.cli.Admin.process(Admin.java:263)
>> [openmeetings-2.1.0-SNAPSHOT.jar:na]
>> at org.apache.openmeetings.cli.Admin.main(Admin.java:612)
>> [openmeetings-2.1.0-SNAPSHOT.jar:na]
>>
>> Sebastian
>>
>> 2012/10/25 Maxim Solodovnik <so...@gmail.com>
>>
>>> you need to manually copy admin.sh/bat or delete "build/red5/server"
>>> first
>>>
>>>
>>> On Thu, Oct 25, 2012 at 5:42 PM, seba.wagner@gmail.com <
>>> seba.wagner@gmail.com> wrote:
>>>
>>>> I've svn up and run: ant dist
>>>> => cd dist/red5
>>>> ==> admin.bat ....
>>>> ===> same error:
>>>> Exception in thread "main" java.lang.NoClassDefFoundError:
>>>> javax/servlet/ServletContext
>>>> Caused by: java.lang.ClassNotFoundException:
>>>> javax.servlet.ServletContext
>>>> 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.apache.openmeetings.cli.Admin.
>>>> Program will exit.
>>>>
>>>> Sebastian
>>>>
>>>> 2012/10/25 <so...@apache.org>
>>>>
>>>>> Author: solomax
>>>>> Date: Thu Oct 25 10:26:00 2012
>>>>> New Revision: 1402083
>>>>>
>>>>> URL: http://svn.apache.org/viewvc?rev=1402083&view=rev
>>>>> Log:
>>>>> Command line admin is fixed after Tomcat upgrade
>>>>>
>>>>> Modified:
>>>>> incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.bat
>>>>> incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.sh
>>>>>
>>>>> Modified:
>>>>> incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.bat
>>>>> URL:
>>>>> http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.bat?rev=1402083&r1=1402082&r2=1402083&view=diff
>>>>>
>>>>> ==============================================================================
>>>>> ---
>>>>> incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.bat
>>>>> (original)
>>>>> +++
>>>>> incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.bat Thu Oct
>>>>> 25 10:26:00 2012
>>>>> @@ -15,7 +15,7 @@ REM ####################################
>>>>> set RED5_HOME=%~dp0
>>>>> set OM_CONTEXT=openmeetings
>>>>>
>>>>> -set
>>>>> CLASSPATH=%RED5_HOME%\*;%RED5_HOME%\conf;%RED5_HOME%\lib\*;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF\lib\*;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF\classes
>>>>> +set
>>>>> CLASSPATH=%RED5_HOME%\*;%RED5_HOME%\conf;%RED5_HOME%\plugins\*;%RED5_HOME%\lib\*;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF\lib\*;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF\classes
>>>>>
>>>>> java -cp "%CLASSPATH%" -Dcontext=%OM_CONTEXT%
>>>>> -Dlogback.ContextSelector=org.red5.logging.LoggingContextSelector
>>>>> org.apache.openmeetings.cli.Admin %*
>>>>>
>>>>>
>>>>> Modified:
>>>>> incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.sh
>>>>> URL:
>>>>> http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.sh?rev=1402083&r1=1402082&r2=1402083&view=diff
>>>>>
>>>>> ==============================================================================
>>>>> --- incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.sh
>>>>> (original)
>>>>> +++ incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.sh
>>>>> Thu Oct 25 10:26:00 2012
>>>>> @@ -15,7 +15,7 @@
>>>>> export RED5_HOME=$(cd $(dirname "$0"); pwd)
>>>>> export OM_CONTEXT=openmeetings
>>>>>
>>>>> -export
>>>>> CLASSPATH=$RED5_HOME/*:$RED5_HOME/conf:$RED5_HOME/lib/*:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF/lib/*:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF/classes
>>>>> +export
>>>>> CLASSPATH=$RED5_HOME/*:$RED5_HOME/conf:$RED5_HOME/plugins/*:$RED5_HOME/lib/*:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF/lib/*:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF/classes
>>>>>
>>>>> java -cp "$CLASSPATH" -Dcontext=${OM_CONTEXT}
>>>>> -Dlogback.ContextSelector=org.red5.logging.LoggingContextSelector
>>>>> org.apache.openmeetings.cli.Admin $*
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Sebastian Wagner
>>>> https://twitter.com/#!/dead_lock
>>>> http://www.webbase-design.de
>>>> http://www.wagner-sebastian.com
>>>> seba.wagner@gmail.com
>>>>
>>>
>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>
>>
>>
>> --
>> Sebastian Wagner
>> https://twitter.com/#!/dead_lock
>> http://www.webbase-design.de
>> http://www.wagner-sebastian.com
>> seba.wagner@gmail.com
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>
--
WBR
Maxim aka solomax
Re: svn commit: r1402083 - in /incubator/openmeetings/trunk/singlewebapp/WebContent/red5:
admin.bat admin.sh
Posted by Maxim Solodovnik <so...@gmail.com>.
Sorry :(
will doublecheck
On Thu, Oct 25, 2012 at 6:17 PM, seba.wagner@gmail.com <
seba.wagner@gmail.com> wrote:
> I've done that, now I receive another exception:
> Setting default logging context: default
> [ERROR] [main] org.apache.openmeetings.cli.Admin - Install failed
> java.lang.NullPointerException: null
> at
> org.apache.openmeetings.utils.OMContextListener.pathToName(OMContextListener.java:42)
> ~[openmeetings-2.1.0-SNAPSHOT.jar:na]
> at
> org.apache.openmeetings.utils.OMContextListener.contextInitialized(OMContextListener.java:33)
> ~[openmeetings-2.1.0-SNAPSHOT.jar:na]
> at
> org.apache.openmeetings.cli.Admin.getApplicationContext(Admin.java:159)
> [openmeetings-2.1.0-SNAPSHOT.jar:na]
> at
> org.apache.openmeetings.cli.Admin.checkAdminDetails(Admin.java:555)
> [openmeetings-2.1.0-SNAPSHOT.jar:na]
> at org.apache.openmeetings.cli.Admin.process(Admin.java:263)
> [openmeetings-2.1.0-SNAPSHOT.jar:na]
> at org.apache.openmeetings.cli.Admin.main(Admin.java:612)
> [openmeetings-2.1.0-SNAPSHOT.jar:na]
>
> Sebastian
>
> 2012/10/25 Maxim Solodovnik <so...@gmail.com>
>
>> you need to manually copy admin.sh/bat or delete "build/red5/server"
>> first
>>
>>
>> On Thu, Oct 25, 2012 at 5:42 PM, seba.wagner@gmail.com <
>> seba.wagner@gmail.com> wrote:
>>
>>> I've svn up and run: ant dist
>>> => cd dist/red5
>>> ==> admin.bat ....
>>> ===> same error:
>>> Exception in thread "main" java.lang.NoClassDefFoundError:
>>> javax/servlet/ServletContext
>>> Caused by: java.lang.ClassNotFoundException: javax.servlet.ServletContext
>>> 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.apache.openmeetings.cli.Admin.
>>> Program will exit.
>>>
>>> Sebastian
>>>
>>> 2012/10/25 <so...@apache.org>
>>>
>>>> Author: solomax
>>>> Date: Thu Oct 25 10:26:00 2012
>>>> New Revision: 1402083
>>>>
>>>> URL: http://svn.apache.org/viewvc?rev=1402083&view=rev
>>>> Log:
>>>> Command line admin is fixed after Tomcat upgrade
>>>>
>>>> Modified:
>>>> incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.bat
>>>> incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.sh
>>>>
>>>> Modified:
>>>> incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.bat
>>>> URL:
>>>> http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.bat?rev=1402083&r1=1402082&r2=1402083&view=diff
>>>>
>>>> ==============================================================================
>>>> --- incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.bat
>>>> (original)
>>>> +++ incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.bat
>>>> Thu Oct 25 10:26:00 2012
>>>> @@ -15,7 +15,7 @@ REM ####################################
>>>> set RED5_HOME=%~dp0
>>>> set OM_CONTEXT=openmeetings
>>>>
>>>> -set
>>>> CLASSPATH=%RED5_HOME%\*;%RED5_HOME%\conf;%RED5_HOME%\lib\*;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF\lib\*;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF\classes
>>>> +set
>>>> CLASSPATH=%RED5_HOME%\*;%RED5_HOME%\conf;%RED5_HOME%\plugins\*;%RED5_HOME%\lib\*;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF\lib\*;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF\classes
>>>>
>>>> java -cp "%CLASSPATH%" -Dcontext=%OM_CONTEXT%
>>>> -Dlogback.ContextSelector=org.red5.logging.LoggingContextSelector
>>>> org.apache.openmeetings.cli.Admin %*
>>>>
>>>>
>>>> Modified:
>>>> incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.sh
>>>> URL:
>>>> http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.sh?rev=1402083&r1=1402082&r2=1402083&view=diff
>>>>
>>>> ==============================================================================
>>>> --- incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.sh
>>>> (original)
>>>> +++ incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.sh
>>>> Thu Oct 25 10:26:00 2012
>>>> @@ -15,7 +15,7 @@
>>>> export RED5_HOME=$(cd $(dirname "$0"); pwd)
>>>> export OM_CONTEXT=openmeetings
>>>>
>>>> -export
>>>> CLASSPATH=$RED5_HOME/*:$RED5_HOME/conf:$RED5_HOME/lib/*:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF/lib/*:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF/classes
>>>> +export
>>>> CLASSPATH=$RED5_HOME/*:$RED5_HOME/conf:$RED5_HOME/plugins/*:$RED5_HOME/lib/*:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF/lib/*:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF/classes
>>>>
>>>> java -cp "$CLASSPATH" -Dcontext=${OM_CONTEXT}
>>>> -Dlogback.ContextSelector=org.red5.logging.LoggingContextSelector
>>>> org.apache.openmeetings.cli.Admin $*
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Sebastian Wagner
>>> https://twitter.com/#!/dead_lock
>>> http://www.webbase-design.de
>>> http://www.wagner-sebastian.com
>>> seba.wagner@gmail.com
>>>
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com
>
--
WBR
Maxim aka solomax
Re: svn commit: r1402083 - in /incubator/openmeetings/trunk/singlewebapp/WebContent/red5:
admin.bat admin.sh
Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
I've done that, now I receive another exception:
Setting default logging context: default
[ERROR] [main] org.apache.openmeetings.cli.Admin - Install failed
java.lang.NullPointerException: null
at
org.apache.openmeetings.utils.OMContextListener.pathToName(OMContextListener.java:42)
~[openmeetings-2.1.0-SNAPSHOT.jar:na]
at
org.apache.openmeetings.utils.OMContextListener.contextInitialized(OMContextListener.java:33)
~[openmeetings-2.1.0-SNAPSHOT.jar:na]
at
org.apache.openmeetings.cli.Admin.getApplicationContext(Admin.java:159)
[openmeetings-2.1.0-SNAPSHOT.jar:na]
at
org.apache.openmeetings.cli.Admin.checkAdminDetails(Admin.java:555)
[openmeetings-2.1.0-SNAPSHOT.jar:na]
at org.apache.openmeetings.cli.Admin.process(Admin.java:263)
[openmeetings-2.1.0-SNAPSHOT.jar:na]
at org.apache.openmeetings.cli.Admin.main(Admin.java:612)
[openmeetings-2.1.0-SNAPSHOT.jar:na]
Sebastian
2012/10/25 Maxim Solodovnik <so...@gmail.com>
> you need to manually copy admin.sh/bat or delete "build/red5/server" first
>
>
> On Thu, Oct 25, 2012 at 5:42 PM, seba.wagner@gmail.com <
> seba.wagner@gmail.com> wrote:
>
>> I've svn up and run: ant dist
>> => cd dist/red5
>> ==> admin.bat ....
>> ===> same error:
>> Exception in thread "main" java.lang.NoClassDefFoundError:
>> javax/servlet/ServletContext
>> Caused by: java.lang.ClassNotFoundException: javax.servlet.ServletContext
>> 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.apache.openmeetings.cli.Admin.
>> Program will exit.
>>
>> Sebastian
>>
>> 2012/10/25 <so...@apache.org>
>>
>>> Author: solomax
>>> Date: Thu Oct 25 10:26:00 2012
>>> New Revision: 1402083
>>>
>>> URL: http://svn.apache.org/viewvc?rev=1402083&view=rev
>>> Log:
>>> Command line admin is fixed after Tomcat upgrade
>>>
>>> Modified:
>>> incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.bat
>>> incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.sh
>>>
>>> Modified:
>>> incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.bat
>>> URL:
>>> http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.bat?rev=1402083&r1=1402082&r2=1402083&view=diff
>>>
>>> ==============================================================================
>>> --- incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.bat
>>> (original)
>>> +++ incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.bat
>>> Thu Oct 25 10:26:00 2012
>>> @@ -15,7 +15,7 @@ REM ####################################
>>> set RED5_HOME=%~dp0
>>> set OM_CONTEXT=openmeetings
>>>
>>> -set
>>> CLASSPATH=%RED5_HOME%\*;%RED5_HOME%\conf;%RED5_HOME%\lib\*;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF\lib\*;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF\classes
>>> +set
>>> CLASSPATH=%RED5_HOME%\*;%RED5_HOME%\conf;%RED5_HOME%\plugins\*;%RED5_HOME%\lib\*;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF\lib\*;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF\classes
>>>
>>> java -cp "%CLASSPATH%" -Dcontext=%OM_CONTEXT%
>>> -Dlogback.ContextSelector=org.red5.logging.LoggingContextSelector
>>> org.apache.openmeetings.cli.Admin %*
>>>
>>>
>>> Modified:
>>> incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.sh
>>> URL:
>>> http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.sh?rev=1402083&r1=1402082&r2=1402083&view=diff
>>>
>>> ==============================================================================
>>> --- incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.sh
>>> (original)
>>> +++ incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.sh
>>> Thu Oct 25 10:26:00 2012
>>> @@ -15,7 +15,7 @@
>>> export RED5_HOME=$(cd $(dirname "$0"); pwd)
>>> export OM_CONTEXT=openmeetings
>>>
>>> -export
>>> CLASSPATH=$RED5_HOME/*:$RED5_HOME/conf:$RED5_HOME/lib/*:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF/lib/*:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF/classes
>>> +export
>>> CLASSPATH=$RED5_HOME/*:$RED5_HOME/conf:$RED5_HOME/plugins/*:$RED5_HOME/lib/*:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF/lib/*:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF/classes
>>>
>>> java -cp "$CLASSPATH" -Dcontext=${OM_CONTEXT}
>>> -Dlogback.ContextSelector=org.red5.logging.LoggingContextSelector
>>> org.apache.openmeetings.cli.Admin $*
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Sebastian Wagner
>> https://twitter.com/#!/dead_lock
>> http://www.webbase-design.de
>> http://www.wagner-sebastian.com
>> seba.wagner@gmail.com
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>
--
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com
Re: svn commit: r1402083 - in /incubator/openmeetings/trunk/singlewebapp/WebContent/red5:
admin.bat admin.sh
Posted by Maxim Solodovnik <so...@gmail.com>.
you need to manually copy admin.sh/bat or delete "build/red5/server" first
On Thu, Oct 25, 2012 at 5:42 PM, seba.wagner@gmail.com <
seba.wagner@gmail.com> wrote:
> I've svn up and run: ant dist
> => cd dist/red5
> ==> admin.bat ....
> ===> same error:
> Exception in thread "main" java.lang.NoClassDefFoundError:
> javax/servlet/ServletContext
> Caused by: java.lang.ClassNotFoundException: javax.servlet.ServletContext
> 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.apache.openmeetings.cli.Admin. Program
> will exit.
>
> Sebastian
>
> 2012/10/25 <so...@apache.org>
>
>> Author: solomax
>> Date: Thu Oct 25 10:26:00 2012
>> New Revision: 1402083
>>
>> URL: http://svn.apache.org/viewvc?rev=1402083&view=rev
>> Log:
>> Command line admin is fixed after Tomcat upgrade
>>
>> Modified:
>> incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.bat
>> incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.sh
>>
>> Modified:
>> incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.bat
>> URL:
>> http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.bat?rev=1402083&r1=1402082&r2=1402083&view=diff
>>
>> ==============================================================================
>> --- incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.bat
>> (original)
>> +++ incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.bat
>> Thu Oct 25 10:26:00 2012
>> @@ -15,7 +15,7 @@ REM ####################################
>> set RED5_HOME=%~dp0
>> set OM_CONTEXT=openmeetings
>>
>> -set
>> CLASSPATH=%RED5_HOME%\*;%RED5_HOME%\conf;%RED5_HOME%\lib\*;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF\lib\*;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF\classes
>> +set
>> CLASSPATH=%RED5_HOME%\*;%RED5_HOME%\conf;%RED5_HOME%\plugins\*;%RED5_HOME%\lib\*;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF\lib\*;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF\classes
>>
>> java -cp "%CLASSPATH%" -Dcontext=%OM_CONTEXT%
>> -Dlogback.ContextSelector=org.red5.logging.LoggingContextSelector
>> org.apache.openmeetings.cli.Admin %*
>>
>>
>> Modified:
>> incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.sh
>> URL:
>> http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.sh?rev=1402083&r1=1402082&r2=1402083&view=diff
>>
>> ==============================================================================
>> --- incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.sh
>> (original)
>> +++ incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.sh
>> Thu Oct 25 10:26:00 2012
>> @@ -15,7 +15,7 @@
>> export RED5_HOME=$(cd $(dirname "$0"); pwd)
>> export OM_CONTEXT=openmeetings
>>
>> -export
>> CLASSPATH=$RED5_HOME/*:$RED5_HOME/conf:$RED5_HOME/lib/*:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF/lib/*:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF/classes
>> +export
>> CLASSPATH=$RED5_HOME/*:$RED5_HOME/conf:$RED5_HOME/plugins/*:$RED5_HOME/lib/*:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF/lib/*:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF/classes
>>
>> java -cp "$CLASSPATH" -Dcontext=${OM_CONTEXT}
>> -Dlogback.ContextSelector=org.red5.logging.LoggingContextSelector
>> org.apache.openmeetings.cli.Admin $*
>>
>>
>>
>>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com
>
--
WBR
Maxim aka solomax
Re: svn commit: r1402083 - in /incubator/openmeetings/trunk/singlewebapp/WebContent/red5:
admin.bat admin.sh
Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
I've svn up and run: ant dist
=> cd dist/red5
==> admin.bat ....
===> same error:
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/servlet/ServletContext
Caused by: java.lang.ClassNotFoundException: javax.servlet.ServletContext
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.apache.openmeetings.cli.Admin. Program
will exit.
Sebastian
2012/10/25 <so...@apache.org>
> Author: solomax
> Date: Thu Oct 25 10:26:00 2012
> New Revision: 1402083
>
> URL: http://svn.apache.org/viewvc?rev=1402083&view=rev
> Log:
> Command line admin is fixed after Tomcat upgrade
>
> Modified:
> incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.bat
> incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.sh
>
> Modified:
> incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.bat
> URL:
> http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.bat?rev=1402083&r1=1402082&r2=1402083&view=diff
>
> ==============================================================================
> --- incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.bat
> (original)
> +++ incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.bat
> Thu Oct 25 10:26:00 2012
> @@ -15,7 +15,7 @@ REM ####################################
> set RED5_HOME=%~dp0
> set OM_CONTEXT=openmeetings
>
> -set
> CLASSPATH=%RED5_HOME%\*;%RED5_HOME%\conf;%RED5_HOME%\lib\*;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF\lib\*;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF\classes
> +set
> CLASSPATH=%RED5_HOME%\*;%RED5_HOME%\conf;%RED5_HOME%\plugins\*;%RED5_HOME%\lib\*;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF\lib\*;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF;%RED5_HOME%\webapps\%OM_CONTEXT%\WEB-INF\classes
>
> java -cp "%CLASSPATH%" -Dcontext=%OM_CONTEXT%
> -Dlogback.ContextSelector=org.red5.logging.LoggingContextSelector
> org.apache.openmeetings.cli.Admin %*
>
>
> Modified:
> incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.sh
> URL:
> http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.sh?rev=1402083&r1=1402082&r2=1402083&view=diff
>
> ==============================================================================
> --- incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.sh
> (original)
> +++ incubator/openmeetings/trunk/singlewebapp/WebContent/red5/admin.sh Thu
> Oct 25 10:26:00 2012
> @@ -15,7 +15,7 @@
> export RED5_HOME=$(cd $(dirname "$0"); pwd)
> export OM_CONTEXT=openmeetings
>
> -export
> CLASSPATH=$RED5_HOME/*:$RED5_HOME/conf:$RED5_HOME/lib/*:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF/lib/*:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF/classes
> +export
> CLASSPATH=$RED5_HOME/*:$RED5_HOME/conf:$RED5_HOME/plugins/*:$RED5_HOME/lib/*:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF/lib/*:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF:$RED5_HOME/webapps/${OM_CONTEXT}/WEB-INF/classes
>
> java -cp "$CLASSPATH" -Dcontext=${OM_CONTEXT}
> -Dlogback.ContextSelector=org.red5.logging.LoggingContextSelector
> org.apache.openmeetings.cli.Admin $*
>
>
>
>
--
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com