From user-return-5561-apmail-geronimo-user-archive=geronimo.apache.org@geronimo.apache.org Wed Jan 03 13:49:06 2007 Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 12267 invoked from network); 3 Jan 2007 13:49:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jan 2007 13:49:05 -0000 Received: (qmail 43398 invoked by uid 500); 3 Jan 2007 13:49:08 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 43378 invoked by uid 500); 3 Jan 2007 13:49:08 -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 43367 invoked by uid 99); 3 Jan 2007 13:49:08 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jan 2007 05:49:08 -0800 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,RCVD_IN_SORBS_WEB,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of sppatel2@gmail.com designates 72.14.246.246 as permitted sender) Received: from [72.14.246.246] (HELO ag-out-0708.google.com) (72.14.246.246) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jan 2007 05:48:57 -0800 Received: by ag-out-0708.google.com with SMTP id 9so2308856agd for ; Wed, 03 Jan 2007 05:48:37 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:in-reply-to:references:content-type:message-id:from:subject:date:to:x-mailer; b=U2pf3IKMUlNIg8MpYFQM9v0InAIH6vEDM7npi3LovOyo2JdmRVAXjlgDGVjzkLsjsM7RmyuAtS6Lyu4j2G3twhVQYzWaKWlZYG9Jqan7UlsNseiIu3GhGrcibLYoevrbaxBY60pb3nBosDU4xEcLdpOR2eBJTqu7Wk8/LRJPWL8= Received: by 10.70.33.7 with SMTP id g7mr13533026wxg.1167832116786; Wed, 03 Jan 2007 05:48:36 -0800 (PST) Received: from ?9.27.152.175? ( [129.33.49.251]) by mx.google.com with ESMTP id g3sm1485852wra.2007.01.03.05.48.35; Wed, 03 Jan 2007 05:48:35 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: References: <7A3BDB4E-2C42-4D18-83B3-381DE0DFDA64@yahoo.com> Content-Type: multipart/alternative; boundary=Apple-Mail-2-546372314 Message-Id: <82E7E4DA-4D2C-4535-BA96-B4A8073D0ACB@gmail.com> From: Sachin Patel Subject: Re: Development Setup for Apache Geronimo Date: Wed, 3 Jan 2007 08:48:53 -0500 To: user@geronimo.apache.org X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-2-546372314 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Actually to share a remote server in a development environment is a common usage scenario. I've heard of this done before in development environments of other app servers. If you are able to set this up, please give us your feedback and suggestions for the server and development tools to make this type of configuration easier. On Jan 3, 2007, at 12:28 AM, problems mail wrote: > David, > > Thanks for the reply, I will study this and see how I can set it > up. Here are couple of reasons: > > i) when a developer has completed the task he currently deploys the > application to the server. It is easier to show the changes to the > users on the common development box for the work that has been > completed instead of having to display from his/her machine. > > ii) currently our development environment is centralized (a > percentage of security reason) + task visibility + user > productivity etc. and all the mgmt b*** ****. This is pretty much > how things work here, and has to stay that way :(. > > There was an option to make changes in their development > environments and deploy them to a common environment but we > currently have this done into staging. The issues that can arise > when people deploy into a common server location is very difficult > to debug. > > Also, I was hoping if someone has already taken the pain of setting > this up to share his/her information. If I manage to complete this > and make the environments, I will certainly publish this over here. > > -- > Regards, > Simon > > On 1/2/07, David Jencks wrote: > > On Jan 2, 2007, at 10:58 PM, problems mail wrote: > > > Hello, > > > > I would like to setup a development server for multiple developers > > on Geronimo. Is there a development setup for this ? > > > > Using tomcat we would have different ports and separate > > installations of tomcat. > > > > Anyone already setup their development environments ? - Please > > provide details. > > This is possible, but I have to wonder why your developers don't just > run geronimo on their own machines. > > You can change the ports using the config.xml file. > > You can actually share the geronimo repository by starting with a > command line argument > > java -Dorg.apache.geronimo.server.name=myServer -jar bin/server.jar -- > long > > in which case the server specific files will be located in myServer/ > var > > However you may find that each developer deploying the same app on > their server interferes with the same app deployed by other > developers. > > this will require you to change a lot of ports, such as jndi (1099), > remote deploy, possibly the ejb listener, etc etc. > > You can also just start a lot of tomcat instances in one copy of > geronimo -- basically copy the tomcat plan, rename the configuration, > and change all the ports, and deploy it. the app deployment plan can > select the tomcat instance using the element (IIRC). > However the apps will all have to have different moduleIds determined > by the plan. > > I hope you have a good reason to try to do this because it is going > to be a substantial amount of nuisance to set up. > > thanks > david jencks > > > > > > -- > > Regards, > > Simon > -sachin --Apple-Mail-2-546372314 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 Actually to share a remote = server in a development=A0environment is a common usage scenario.=A0 = I've heard of this done before in development environments of other app = servers. If you are able to set this up, please give us your feedback = and suggestions for the server and development tools to make this type = of configuration easier.

On Jan 3, 2007, at = 12:28 AM, problems mail wrote:

David,
=A0
Thanks for the = reply, I will study this and see how I can set it up. Here are couple of = reasons:
=A0
i) when a developer has completed the = task he currently deploys the application to the server. It is easier to = show the changes to the users on the common development box for the work = that has been completed instead of having to display from his/her = machine.
=A0
ii) currently our development = environment is centralized (a percentage of security reason) + task = visibility + user productivity etc. and all the mgmt b*** ****. This is = pretty much how things work here, and has to stay that way :(.
=
=A0
There was an option to make changes in their = development environments and deploy them to a common environment but we = currently have this done into staging. The issues that can arise when = people deploy into a=A0common server location is very difficult to = debug.
=A0
Also, I was hoping if someone has = already taken the pain of setting this up to share his/her information. = If I manage to complete this and make the environments, I will certainly = publish this over here.

--
Regards,
Simon
=A0
=
On 1/2/07, David Jencks <david_jencks@yahoo.com> = wrote:

On Jan = 2, 2007, at 10:58 PM, problems mail wrote:

> = Hello,
>
> I would like to setup a development server for = multiple developers
> on Geronimo. Is there a development setup = for this ?
>
> Using tomcat we would have different ports = and separate
> installations of tomcat.
>
> Anyone = already setup their development environments ? - Please
> provide = details.

This is possible, but I have to wonder why your = developers don't just
run geronimo on their own machines.

You = can change the=A0=A0ports using the config.xml file.

You can = actually share the geronimo repository by starting with a
command = line argument

java -Dorg.apache.geronimo.server.name=3DmyServer = -jar bin/server.jar --
long

in which case the server specific = files will be located in myServer/var

However you may find that = each developer deploying the same app on
their server interferes = with the same app deployed by other developers.

this will require = you to change a lot of ports, such as jndi (1099),
remote deploy, = possibly the ejb listener, etc etc.

You can also just start a lot = of tomcat instances in one copy of
geronimo -- basically copy the = tomcat plan, rename the configuration,
and change all the ports, and = deploy it.=A0=A0the app deployment plan can
select the tomcat = instance using the <web-container> element (IIRC).
However the = apps will all have to have different moduleIds determined
by the = plan.

I hope you have a good reason to try to do this because it = is going
to be a substantial amount of nuisance to set up.
=
thanks
david jencks


>
> --
> = Regards,
> = Simon



=

= --Apple-Mail-2-546372314--