thanks Jacek.. is there a way we where we dont have to enter system/manager at commnad line.
we r configuring multiple instances for many users and their onw repository for that instance. So while deploying thier repository...we run the below command : deploy --port 1109 deploy newrepo.xml but it asks for un and pwd....can we somehow automate it...where user does not has to enter un and pwd... thanks a lot ABPB Jacek Laskowski wrote: > > On Nov 29, 2007 8:06 AM, abpb2006 <[EMAIL PROTECTED]> wrote: > >> We have started 5 instances of Gronimo Server Installation using below : >> >> java java -Dorg.apache.geronimo.server.name=myserver >> -Djava.endorsed.dirs=lib /endorsed -javaagent:bin/jpa.jar -jar >> bin/server.jar >> >> Now if i need to shut down one of the intances using command line, how do >> i >> do that ? > > They listen to different RMI ports so ./bin/shutdown.sh --port <port> > should work fine. > > [EMAIL PROTECTED] /cygdrive/c/geronimo > $ ./bin/shutdown.sh -h > Using GERONIMO_BASE: c:\geronimo > Using GERONIMO_HOME: c:\geronimo > Using GERONIMO_TMPDIR: c:\geronimo\var\temp > Using JRE_HOME: c:\apps\java5\jre > > Command-line shutdown syntax: > shutdown [options] > > The available options are: > --user > --password > --port > > Here some sample sessions: > > [EMAIL PROTECTED] /cygdrive/c/geronimo > $ ./bin/shutdown.sh --port 1099 > Using GERONIMO_BASE: c:\geronimo > Using GERONIMO_HOME: c:\geronimo > Using GERONIMO_TMPDIR: c:\geronimo\var\temp > Using JRE_HOME: c:\apps\java5\jre > Username: system > Password: ******* > Locating server on port 1099... > Could not communicate with the server. The server may not be running > or the port number may be incorrect. > > [EMAIL PROTECTED] /cygdrive/c/geronimo > $ ./bin/shutdown.sh --port 2054 > Using GERONIMO_BASE: c:\geronimo > Using GERONIMO_HOME: c:\geronimo > Using GERONIMO_TMPDIR: c:\geronimo\var\temp > Using JRE_HOME: c:\apps\java5\jre > Username: system > Password: ******* > Locating server on port 2054... > Could not communicate with the server. The server may not be running > or the port number may be incorrect. > > You can use ./bin/geronimo.sh stop --port too. > > [EMAIL PROTECTED] /cygdrive/c/geronimo > $ ./bin/geronimo.sh --help > Using GERONIMO_BASE: c:\geronimo > Using GERONIMO_HOME: c:\geronimo > Using GERONIMO_TMPDIR: c:\geronimo\var\temp > Using JRE_HOME: c:\apps\java5\jre > Usage: geronimo.sh command [geronimo_args] > commands: > debug Debug Geronimo in jdb debugger > jpda run Start Geronimo in foreground under JPDA debugger > jpda start Start Geronimo in background under JPDA debugger > run Start Geronimo in the foreground > start Start Geronimo in the background > stop Stop Geronimo > stop --force Stop Geronimo (followed by kill -KILL) > > args for debug, jpda run, jpda start, run and start commands: > --quiet No startup progress > --long Long startup progress > -v --verbose INFO log level > -vv --veryverbose DEBUG log level > --override Override configurations. USE WITH CAUTION! > --help Detailed help. > > args for stop command: > --user Admin user > --password Admin password > --port RMI port to connect to > > Jacek > > -- > Jacek Laskowski > http://www.JacekLaskowski.pl > > -- View this message in context: http://www.nabble.com/How-to-shut-donwn-one-of-the-instances-on-Gronimo-while-they-were-started-by-Multiple-server-command-cmd-line-tf4895464s134.html#a14020710 Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
