Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 37447 invoked from network); 27 May 2008 06:07:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 May 2008 06:07:41 -0000 Received: (qmail 98821 invoked by uid 500); 27 May 2008 06:07:42 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 98800 invoked by uid 500); 27 May 2008 06:07:42 -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 98786 invoked by uid 99); 27 May 2008 06:07:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 May 2008 23:07:42 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [98.136.44.62] (HELO smtp107.prem.mail.sp1.yahoo.com) (98.136.44.62) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 27 May 2008 06:06:44 +0000 Received: (qmail 50833 invoked from network); 27 May 2008 06:07:06 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Message-Id:From:To:In-Reply-To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:References:X-Mailer; b=wrfuhjOtsnvjJK4x3OlBKvmxX0OeplcQprejReM9r4wc0ipOw/VHXfonHpX8E7Tkjog4wEguNFasQmU2NOpmZnCjvTX9WPfDGvp1GzzV/7bTp405FtmW4t+D6ChAfmO84tZtLg6n1JHbnUjY2FWfT7aaLxg6HIx5GmeT9J/QLxo= ; Received: from unknown (HELO ?10.11.55.42?) (david_jencks@63.105.20.225 with plain) by smtp107.prem.mail.sp1.yahoo.com with SMTP; 27 May 2008 06:07:05 -0000 X-YMail-OSG: l9Ep3nkVM1lnUppJsxG.vGJzmzYLzUjEshJM.FphpP6XPPIU2e736cFJg.VhIbDClqw4rmGbFcgU8UvQE2os5Koh8d0hUFZiDhBQPeqZatwrtlzO7KkNoxu4QgM- X-Yahoo-Newman-Property: ymail-3 Message-Id: From: David Jencks To: user@geronimo.apache.org In-Reply-To: <17463513.post@talk.nabble.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: Retrieve server status from commandline Date: Mon, 26 May 2008 23:07:03 -0700 References: <20080428154834.184920@gmx.net> <5eb405c70805050955s85370bq37134f6383103862@mail.gmail.com> <17463513.post@talk.nabble.com> X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org On May 25, 2008, at 4:14 PM, MTS wrote: > > I am trying to do the same. > > But I can not locate the org.apache.geronimo.commands.ServerProxy > class or > the "geronimo-commands" module. Where can I find it? WasCE is > bundled with > Geronimo v1.1.0.0. Is this why I can not find it? Yes, the server proxy and the commands module are part of geronimo 2.1 (maybe 2.0.2, not sure). They are definitely not in geronimo 1.x. WASCE isn't exactly bundled "with" geronimo, it contains a modified version of parts of geronimo. The WASCE version numbers do correspond to some extent with the geronimo version numbers, but not exactly (for instance they have more components than the geronimo version numbers). thanks david jencks > > > > Jarek Gawor-2 wrote: >> >> Can you please open a JIRA on this issue? >> >> There is no such command line tool right now but there is some >> existing Java code that might help you with getting the server >> status. >> Take a look at org.apache.geronimo.commands.ServerProxy in >> geronimo-commands module. You should be able to do the following >> (roughly): >> >> ServerProxy proxy = new ServerProxy("localhost", 1099, "system", >> "manager"); >> while(!proxy.isFullyStarted()) { >> Thread.sleep(1000 * 10); >> } >> // if you are here, the server is fully started >> >> Jarek >> >> On Mon, Apr 28, 2008 at 11:48 AM, Jan Vandieken >> >> wrote: >>> Hi >>> >>> I am currently trying to automate the start & deployment for a >>> application running on IBM WAS CE (which uses the Geronimo). >>> >>> Now I am strugelling to figure out a way to detect from the windows >>> commandline when the server has been started sucessfully. >>> >>> For the user this is ovious, once the cmd-line says server >>> started. But >>> how can I script that to wait with the deployment step until the >>> server >>> has been started? >>> >>> Is there any command like serverstatus.bat or shutdown.bat -- >>> status I >>> might use? Is there maybe an existing class in a jar file I could >>> call to >>> obtain the proper status of the server? >>> >>> I saw this discussion in the developer mailing list: >>> http://www.mail-archive.com/dev@geronimo.apache.org/msg58189.html >>> Have there been any improvements so far? >>> >>> Thanks >>> Jan >>> -- >>> Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten >>> Browser-Versionen downloaden: http://www.gmx.net/de/go/browser >>> >> >> > > -- > View this message in context: http://www.nabble.com/Retrieve-server-status-from-commandline-tp16941856s134p17463513.html > Sent from the Apache Geronimo - Users mailing list archive at > Nabble.com. >