Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 41230 invoked from network); 13 Feb 2006 18:36:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Feb 2006 18:36:52 -0000 Received: (qmail 81586 invoked by uid 500); 13 Feb 2006 18:36:46 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 81537 invoked by uid 500); 13 Feb 2006 18:36:46 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 81526 invoked by uid 99); 13 Feb 2006 18:36:46 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2006 10:36:46 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [213.41.78.209] (HELO smtp-ft6.fr.colt.net) (213.41.78.209) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2006 10:36:45 -0800 Received: from vma (host.244.109.41.213.rev.coltfrance.com [213.41.109.244]) by smtp-ft6.fr.colt.net (8.13.4/8.13.4/Debian-3) with ESMTP id k1DIaNHP030420 for ; Mon, 13 Feb 2006 19:36:23 +0100 Message-Id: <200602131836.k1DIaNHP030420@smtp-ft6.fr.colt.net> From: "Vincent Massol" To: Subject: RE: offline deployment with deploy distribute? Date: Mon, 13 Feb 2006 19:36:36 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 thread-index: AcYwx5SbcUUXiAokRe2gELVwTOMvzwABKQ0A In-reply-to: <200602131801.k1DI1muE021743@smtp-ft6.fr.colt.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N For the record I got the answer on IRC: Apparently (and unfortunately) = this --offline feature was removed before the 1.0 release. So there's no way in G 1.0 to perform a deploy distribute without the container being started... So I need to fin another way to implement G support in Cargo. Thanks -Vincent > -----Original Message----- > From: Vincent Massol [mailto:vmassol@pivolis.com] > Sent: lundi 13 f=E9vrier 2006 19:02 > To: dev@geronimo.apache.org > Subject: offline deployment with deploy distribute? >=20 > Hi, >=20 > Still working on the G integration in Cargo. I need to find a way to > deploy > an archive before the container is started. I read on > http://tinyurl.com/8dfxj that I should use the distribute command with = the > --offline option. >=20 > I'm using G 1.0 and it's failing: >=20 > C:\apps\geronimo-1.0-tomcat\bin>java -jar deployer.jar --offline > distribute > C:\dev\m2book\code\j2ee\daytrader\ear\target\daytrader-ear-1.0- > SNAPSHOT.ear > C:\dev\m2book\code\j2ee\daytrader\ear\src\main\deployment\dayTrader- > plan.xml >=20 > Error: No such command: '--offline' >=20 >=20 > Command-line deployer syntax: > deployer [general options] command [command options] >=20 > [...] >=20 > If I don't use --offline I get: >=20 > C:\apps\geronimo-1.0-tomcat\bin>java -jar deployer.jar distribute > C:\dev\m2book\code\j2ee\daytrader\ear\target\daytrader-ear-1.0- > SNAPSHOT.ear > C:\dev\m2book\code\j2ee\daytrader\ear\src\main\deployment\dayTrader- > plan.xml > Error: Unable to connect to server at deployer:geronimo:jmx -- > javax.naming.ServiceUnavailableException [Root exception is > java.rmi.ConnectException: Connection refused to host: localhost; > nested exception is: >=20 > java.net.ConnectException: Connection refused: connect] >=20 > Any idea? Is the --offline option supported in G 1.0? >=20 > Thanks > -Vincent