From user-return-12053-apmail-geronimo-user-archive=geronimo.apache.org@geronimo.apache.org Wed Dec 03 02:09:33 2008 Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 31665 invoked from network); 3 Dec 2008 02:09:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Dec 2008 02:09:33 -0000 Received: (qmail 39800 invoked by uid 500); 3 Dec 2008 02:09:44 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 39766 invoked by uid 500); 3 Dec 2008 02:09:44 -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 39755 invoked by uid 99); 3 Dec 2008 02:09:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Dec 2008 18:09:44 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of genspring@gmail.com designates 209.85.146.180 as permitted sender) Received: from [209.85.146.180] (HELO wa-out-1112.google.com) (209.85.146.180) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2008 02:08:16 +0000 Received: by wa-out-1112.google.com with SMTP id j4so1673355wah.3 for ; Tue, 02 Dec 2008 18:09:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=9NvT60klitGEyBVTE1qHlKn4idsD0kJFJdXH45sU3Gg=; b=oKuzbSgbNRkyUikiBtyU6t0zhJFzixV0/ydiTroANPfFEnV4bSwh3+3yfm1xABb0DA hJpYyrwXA16YFHZZZerV6ISZDpBeQ6lNOGkFkerG4VDEDwR2dxTfFhfSpczJoGCaQh2r 9Vnk7v5V/wJdCauT45YxJMgwTNkeHqZoiVwqs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=iKSQtWHranuj3pxzIE43aOVF1BkGlof/TKWzhloRf1/7OQIlqZ7gStvrG76RDhF6pu vj/ALG55Sm+mxDsIEr2zD9adbQp0oKv/b9h5z8rJ+mr3F2/RXNy18WvnpqqwZ40ZpHHY 4U3qG38bVpJLav9ZisoBIhPKFzyuUeB2xUkFk= Received: by 10.115.18.3 with SMTP id v3mr7773713wai.178.1228270143967; Tue, 02 Dec 2008 18:09:03 -0800 (PST) Received: by 10.114.203.7 with HTTP; Tue, 2 Dec 2008 18:09:03 -0800 (PST) Message-ID: Date: Wed, 3 Dec 2008 10:09:03 +0800 From: "Shawn Jiang" To: user@geronimo.apache.org Subject: Re: Unable to deploy on a remote server in GEP In-Reply-To: <493479D6.2040602@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20717090.post@talk.nabble.com> <493437DB.9060507@gmail.com> <4934418F.3000005@gmail.com> <49345833.8000508@apache.org> <493479D6.2040602@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org If this is not a part of current document, I suggest to add a task "How to deploy on a remote geronimo server in GEP" somewhere under http://cwiki.apache.org/GMOxDOC22/development-environment.html 2008/12/2 Tim McConnell : > I did not. Once I did it works as expected. Thanks much Donald !! > > Donald Woods wrote: >> >> Did you update the RemoteDeployHostname value in >> config-substitutions.properties on the remote machine to listen on something >> besides localhost? >> >> >> -Donald >> >> >> Tim McConnell wrote: >>> >>> Hi again antoine, looks like there may be a problem. I'm getting a >>> java.net.ConnectException even after following my own instructions. I'm >>> pretty sure this used to work, but meanwhile have opened a JIRA and will >>> investigate. Thanks much for bringing to my attention.... >>> >>> -----> https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-537 >>> >>> Tim McConnell wrote: >>>> >>>> Hi antoine, although the support in the GEP for remote servers is very >>>> limited, I believe what you are trying to do is valid although I'm not >>>> exactly sure that you've followed all the necessary steps. Here they are >>>> briefly: >>>> >>>> 1. First define a local server and make sure it starts within Eclipse. >>>> If it starts okay, then double-click on the server and change the hostname >>>> from "localhost" to the remote server's hostname or IP. >>>> >>>> 2. Leave Eclipse up and then start the server on the remote system. Even >>>> though you can't use Eclipse to start/stop the server on the remote system >>>> Eclipse should still synchronize with the remote server. If it does >>>> synchronize you will see the status of the server in Eclipse change from >>>> "Stopped" to *Started". It make take a few seconds to synchronize, but then >>>> you should be able to deploy to that Server. >>>> >>>> 3. Ensure the server on the remote system is still running and then try >>>> to deploy via Eclipse. >>>> >>>> Can you retry using these steps ?? I'll do the same to ensure it still >>>> works correctly on my side..... >>>> >>>> >>>> antoine_ wrote: >>>>> >>>>> Hi, >>>>> I am currently testing Geronimo, but I have problems when trying to >>>>> deploy >>>>> on a remote server. >>>>> On my local laptop, I run Ubuntu, Java from Sun, Eclipse Ganymede for >>>>> JEE >>>>> developpers, Geronimo v2.1.3 and I installed the Geronimo Eclipse >>>>> Plugin by >>>>> following the documentation. >>>>> On the remote server, I have installed Geronimo. I do not see how the >>>>> plugin >>>>> could start Geronimo remotely, so I start it manually. It works : I can >>>>> access the console, and the launch process tells me that it is >>>>> listening on >>>>> some ports including 1099 for RMI and 8080 for the console. >>>>> >>>>> In Eclipse, I also succeed to deploy an application locally. It works >>>>> perfectly. >>>>> >>>>> But in Eclipse, the remote server always has the status "stopped". If I >>>>> try >>>>> an action like "start" or "publish" I get the following error message : >>>>> "Server Apache Geronimo v2.1 Server at 192.168.16.60 failed to start". >>>>> >>>>> There is no firewall between me and the remote server. >>>>> >>>>> I seem to be the only one having such a problem. I did not find >>>>> anything in >>>>> the documentation about using remote servers. Did I miss something ? Do >>>>> you >>>>> have any ideas ? >>>>> Thank you... >>>>> >>>>> >>>> >>> >> >