Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 5590 invoked from network); 29 Nov 2007 07:40:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Nov 2007 07:40:48 -0000 Received: (qmail 33797 invoked by uid 500); 29 Nov 2007 07:40:34 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 33774 invoked by uid 500); 29 Nov 2007 07:40:34 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 33762 invoked by uid 99); 29 Nov 2007 07:40:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2007 23:40:33 -0800 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2007 07:40:34 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Ixe0L-0004RS-I9 for user@geronimo.apache.org; Wed, 28 Nov 2007 23:40:13 -0800 Message-ID: <14020710.post@talk.nabble.com> Date: Wed, 28 Nov 2007 23:40:13 -0800 (PST) From: abpb2006 To: user@geronimo.apache.org Subject: Re: How to shut donwn one of the instances on Gronimo while they were started by Multiple server command cmd line In-Reply-To: <1b5bfeb50711282316j5c753606o59c2d6d614af6260@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: abpb2006@yahoo.com References: <14020472.post@talk.nabble.com> <1b5bfeb50711282316j5c753606o59c2d6d614af6260@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org 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 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 > should work fine. > > jlaskowski@dev /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: > > jlaskowski@dev /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. > > jlaskowski@dev /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. > > jlaskowski@dev /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.