|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Red5 shutdown scripthi,
when I run the new red5 shutdown script it doesn't shut down the server, it only prints the command line options like below. How do you use this script? I'm testing it on macosx 10.4.9 Collab-Mactel:~/Sites/software/red5/trunk thijstriemstra$ ./red5- shutdown.sh Usage: java [-options] class [args...] (to execute a class) or java [-options] -jar jarfile [args...] (to execute a jar file) where options include: -client to select the "client" VM -server to select the "server" VM -jvm is a synonym for the "client" VM [deprecated] -hotspot is a synonym for the "client" VM [deprecated] The default VM is client. -cp <class search path of directories and zip/jar files> -classpath <class search path of directories and zip/jar files> A : separated list of directories, JAR archives, and ZIP archives to search for class files. -D<name>=<value> set a system property -verbose[:class|gc|jni] enable verbose output -version print product version and exit -version:<value> require the specified version to run -showversion print product version and continue -jre-restrict-search | -jre-no-restrict-search include/exclude user private JREs in the version search -? -help print this help message -X print help on non-standard options -ea[:<packagename>...|:<classname>] -enableassertions[:<packagename>...|:<classname>] enable assertions -da[:<packagename>...|:<classname>] -disableassertions[:<packagename>...|:<classname>] disable assertions -esa | -enablesystemassertions enable system assertions -dsa | -disablesystemassertions disable system assertions -agentlib:<libname>[=<options>] load native agent library <libname>, e.g. - agentlib:hprof see also, -agentlib:jdwp=help and - agentlib:hprof=help -agentpath:<pathname>[=<options>] load native agent library by full pathname -javaagent:<jarpath>[=<options>] load Java programming language agent, see java.lang.instrument Thijs _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: Red5 shutdown scriptI know this is cliche but it works on my Ubuntu box.. :)
Im assuming it will need to be edited for macos? Paul On 5/13/07, Thijs Triemstra | Collab
<lists@...> wrote: hi, -- It is difficult to free fools from the chains they revere. - Voltaire _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: Red5 shutdown scriptEl dom, 13-05-2007 a las 22:20 +0200, Thijs Triemstra | Collab escribió:
> hi, > > when I run the new red5 shutdown script it doesn't shut down the > server, it only prints the command line options like below. How do > you use this script? I'm testing it on macosx 10.4.9 > > Collab-Mactel:~/Sites/software/red5/trunk thijstriemstra$ ./red5- > shutdown.sh > Usage: java [-options] class [args...] > (to execute a class) > or java [-options] -jar jarfile [args...] > (to execute a jar file) > > where options include: > -client to select the "client" VM > -server to select the "server" VM > -jvm is a synonym for the "client" VM [deprecated] > -hotspot is a synonym for the "client" VM [deprecated] > The default VM is client. > > -cp <class search path of directories and zip/jar files> > -classpath <class search path of directories and zip/jar files> > A : separated list of directories, JAR archives, > and ZIP archives to search for class files. > -D<name>=<value> > set a system property > -verbose[:class|gc|jni] > enable verbose output > -version print product version and exit > -version:<value> > require the specified version to run > -showversion print product version and continue > -jre-restrict-search | -jre-no-restrict-search > include/exclude user private JREs in the version > search > -? -help print this help message > -X print help on non-standard options > -ea[:<packagename>...|:<classname>] > -enableassertions[:<packagename>...|:<classname>] > enable assertions > -da[:<packagename>...|:<classname>] > -disableassertions[:<packagename>...|:<classname>] > disable assertions > -esa | -enablesystemassertions > enable system assertions > -dsa | -disablesystemassertions > disable system assertions > -agentlib:<libname>[=<options>] > load native agent library <libname>, e.g. - > agentlib:hprof > see also, -agentlib:jdwp=help and - > agentlib:hprof=help > -agentpath:<pathname>[=<options>] > load native agent library by full pathname > -javaagent:<jarpath>[=<options>] > load Java programming language agent, see > java.lang.instrument Hi, i found this unresolved message in the list with same error for me in an Ubuntu feisty box with red5 0.6.1 source. This is the shutdown script: ----------------------------------------------------------- #!/bin/bash (... stuff to locate java... works fine) # stop red5 exec $JAVA -Djavax.net.ssl.keyStore=conf/keystore.jmx -Djavax.net.ssl.keyStorePassword=password -Djava.security.manager -Djava.security.policy=conf/red5.policy -cp red5.jar;conf org.red5.server.Shutdown 9999 red5user changeme ----------------------------------------------------------- I don't like this final "changeme" :-) (same with password, red5user, the ";" between red5.jar and conf... What's the correct shutdown script? Otherway i always have to kill the java process and the rmiregistry separately. Thanks, -- Jonathan Hernández aka jBilbo jhernandezblog at gmail.com http://jhernandez.gpltarragona.org/blog _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: Red5 shutdown scriptThe password is an example when using ssl+jmx, you could create your own keystore and truststore with their own passwords. The ';' is indeed not correct so I will fix that.
Paul
On 6/14/07, Jonathan Hernandez <jhernandezblog@...> wrote: El dom, 13-05-2007 a las 22:20 +0200, Thijs Triemstra | Collab escribió: -- It is difficult to free fools from the chains they revere. - Voltaire _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: Red5 shutdown scriptEl jue, 14-06-2007 a las 07:29 -0700, Mondain escribió:
> The password is an example when using ssl+jmx, you could create your > own keystore and truststore with their own passwords. The ';' is > indeed not correct so I will fix that. Thanks for fix it, now it works. The correct one is: exec $JAVA -Djavax.net.ssl.keyStore=conf/keystore.jmx -Djavax.net.ssl.keyStorePassword=password -Djava.security.manager -Djava.security.policy=conf/red5.policy -cp red5.jar:conf org.red5.server.Shutdown 9999 red5user changeme http://mirror1.cvsdude.com/trac/osflash/red5/changeset/2098 -- Jonathan Hernández aka jBilbo jhernandezblog at gmail.com http://jhernandez.gpltarragona.org/blog _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: Red5 shutdown scriptI fixed it on my Ubuntu box but forgot to check it in.. :)
On 6/14/07, Jonathan Hernandez <jhernandezblog@...> wrote: El jue, 14-06-2007 a las 07:29 -0700, Mondain escribió: -- It is difficult to free fools from the chains they revere. - Voltaire _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
| Free embeddable forum powered by Nabble | Forum Help |