Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 9368 invoked from network); 17 Aug 2006 17:04:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Aug 2006 17:04:41 -0000 Received: (qmail 7950 invoked by uid 500); 17 Aug 2006 17:04:39 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 7906 invoked by uid 500); 17 Aug 2006 17:04:39 -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 7894 invoked by uid 99); 17 Aug 2006 17:04:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Aug 2006 10:04:38 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of mr.system.architect@gmail.com designates 64.233.182.187 as permitted sender) Received: from [64.233.182.187] (HELO nf-out-0910.google.com) (64.233.182.187) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Aug 2006 10:04:37 -0700 Received: by nf-out-0910.google.com with SMTP id n29so1155246nfc for ; Thu, 17 Aug 2006 10:04:03 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=FCa8KduLcz/NqgxT2TMV2QsyTHup9Nz5BemIJAMu/RdiVDVwJIzY9UA+OvMwgDvsA2MJiqFCPvsFHwXiNZuLe+SRrSX5VzJRpmwGac0WTUv54Es/yhSM17MbpuQCLducVxCIQ/kdttjEgd3HDI6wTpM2oq5RFYR5e1sWQidATDM= Received: by 10.49.41.18 with SMTP id t18mr2654157nfj; Thu, 17 Aug 2006 10:04:03 -0700 (PDT) Received: by 10.78.140.18 with HTTP; Thu, 17 Aug 2006 10:04:02 -0700 (PDT) Message-ID: <15767b500608171004w22adb08p3e8c6f37eaeab021@mail.gmail.com> Date: Thu, 17 Aug 2006 10:04:03 -0700 From: "System Architect" To: dev@geronimo.apache.org Subject: Re: GERONIMO-2324 In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_225307_11390094.1155834243078" References: <435E4719-51BA-4127-A63E-07039DCCFAEF@gmail.com> <15767b500608170846u67ee3a2bq18c28a4e0f9ae78d@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_225307_11390094.1155834243078 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 8/17/06, Sachin Patel wrote: > > > On Aug 17, 2006, at 11:46 AM, System Architect wrote: > > I feel strongly that is should be stated: > > Testing is not a "relatively specific use case" but a natural stage in a > lifecycle of an application. You cannot grow into an adult without being a > kid first. And how well one were treated as a child, how much warmth one > received from parents - defines the adulthood success or failure. This - > unmodified - applies to any complex program. > > "Testing and dubugging" mode is a first class citizen of an application > server and should be treated as such. > > But Ian made a good point - we don't always want test facilities being > available in production environment. And because they are IDE specific - > maybe they belong to the IDE adapter? Sort of modified SharedLib GBean > installed by IDE integration. > > > Yes this is certainly a good point. A modified SharedLib GBean is a good > idea, but keep in mind that you would not want to change your application's > deployment plan to reference this modified sharedlib and keep the existing > dependency as-is. If this is possible, then its certainly something to look > into. > Reference is just a name. What's deployed under that name - it could be the same SharedLib bean but with, possibly, another parameter, telling it to be more promiscuous. So IDE adapter can take control over it and manipulate it's bahavior? And then - the resolver, when looking for resources, asks this bean first > before going to startdard Geronimo classloaders? This bean - in turn - > maintains a pool of classloaders to dynamically supply IDE resources to > other - IDE based - applications? > > > Modifying the classloaders is something kind of what we tried last > release, but it only solved very minimal set of cases and thus quickly > discovered its not a runtime issue, its a build time issue. The builders > themselves need to be changed, when the configuration is built up. > And SharedLib is one of those builders? ~oleg > > On 8/17/06, ian.d.stewart@jpmchase.com > wrote: > > > > Hi Sachin, > > > > I apologize in advance if I say anything exceedingly ignorant and/or > > foolish... > > > > Given that this functionality is meant for a relatively specific use > > case > > (utilizing Geronimo as a developer's test environment), and that having > > this functionality in a production environment is generally considered > > undesirable, would it be possible to implement this functionality within > > an > > external plugin which wouldn't normally be present in a Production or QA > > environment, but which could be installed in a development environment? > > > > > > Ian > > > > It's better to be hated for who you are > > than loved for who you're not > > > > Ian D. Stewart > > Distributed Computing Engineer II > > DSS eCommerce Engineering > > JPMorganChase Global Technology Infrastructure > > Phone: (614) 244-2564 > > > > > > > > Sachin Patel > > > > > om> To > > Sent by: Sachin dev@geronimo.apache.org > > > > Patel cc > > < sppatel@gmail.co > > > > m> Subject > > GERONIMO-2324 > > > > 08/17/2006 08:06 > > AM > > > > > > Please respond to > > dev@geronimo.apac > > he.org > > > > > > > > > > > > > > So does anyone have any ideas on an agreeable solution to this JIRA? I > > don't think David's comments in the JIRA as an alternate solution don't > > fully address the problem. > > > > (1) Need to be able to provide external individual jar entries to the > > shared library > > (2) Need to be able to add additional external classes folder to the > > shared > > library > > (3) Do both without having to modify the server config which requires a > > server restart, which needs to be avoided. At worst case the shared lib > > config should need to be recycled. > > > > This again I must stress, is a development time scenario to be able to > > treat Geronimo as a "test environment". I understand the implications of > > doing this, and agree that this should not be an in-production feature > > that > > we should be promoting. But in order to improve our tooling integration > > with the runtime, we must start putting in features that may not > > necessarily make sense from a pure runtime perspective but certainly > > does > > from a development standpoint. > > > > Input appreciated. > > > > -sachin > > > > > > > > > > ----------------------------------------- > > This transmission may contain information that is privileged, > > confidential, legally privileged, and/or exempt from disclosure > > under applicable law. If you are not the intended recipient, you > > are hereby notified that any disclosure, copying, distribution, or > > use of the information contained herein (including any reliance > > thereon) is STRICTLY PROHIBITED. Although this transmission and > > any attachments are believed to be free of any virus or other > > defect that might affect any computer system into which it is > > received and opened, it is the responsibility of the recipient to > > ensure that it is virus free and no responsibility is accepted by > > JPMorgan Chase & Co., its subsidiaries and affiliates, as > > applicable, for any loss or damage arising in any way from its use. > > If you received this transmission in error, please immediately > > contact the sender and destroy the material in its entirety, > > whether in electronic or hard copy format. Thank you. > > > > > > > -sachin > > > ------=_Part_225307_11390094.1155834243078 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

On 8/17/06, Sachin Patel <sppatel2@gmail.com> wrote:

On Aug 17, 2006, at 11:46 AM, System Architect wrote:

I feel strongly that is should be stated:

Testing is not a "relatively specific use case" but a natural stage in a lifecycle of an application. You cannot grow into an adult without being a kid first. And how well one were treated as a child, how much warmth one received from parents - defines the adulthood success or failure. This - unmodified - applies to any complex program.

"Testing and dubugging" mode is a first class citizen of an application server and should be treated as such.

But Ian made a good point - we don't always want test facilities being available in production environment. And because they are IDE specific - maybe they belong to the IDE adapter? Sort of modified SharedLib GBean installed by IDE integration.

Yes this is certainly a good point.  A modified SharedLib GBean is a good idea, but keep in mind that you would not want to change your application's deployment plan to reference this modified sharedlib and keep the existing dependency as-is.  If this is possible, then its certainly something to look into.   

Reference is just a name. What's deployed under that name - it could be the same SharedLib bean but with, possibly, another parameter, telling it to be more promiscuous. So IDE adapter can take control over it and manipulate it's bahavior?

And then - the resolver, when looking for resources, asks this bean first before going to startdard Geronimo classloaders? This bean - in turn - maintains a pool of classloaders to dynamically supply IDE resources to other - IDE based - applications?

Modifying the classloaders is something kind of what we tried last release, but it only solved very minimal set of cases and thus quickly discovered its not a runtime issue, its a build time issue.  The builders themselves need to be changed, when the configuration is built up.

And SharedLib is one of those builders?

~oleg

On 8/17/06, ian.d.stewart@jpmchase.com <ian.d.stewart@jpmchase.com > wrote:
Hi Sachin,

I apologize in advance if I say anything exceedingly ignorant and/or
foolish...

Given that this functionality is meant for a relatively specific use case
(utilizing Geronimo as a developer's test environment), and that having
this functionality in a production environment is generally considered
undesirable, would it be possible to implement this functionality within an
external plugin which wouldn't normally be present in a Production or QA
environment, but which could be installed in a development environment?


Ian

It's better to be hated for who you are
than loved for who you're not

Ian D. Stewart
Distributed Computing Engineer II
DSS eCommerce Engineering
JPMorganChase Global Technology Infrastructure
Phone: (614) 244-2564



             Sachin Patel
             < sppatel2@gmail.c
             om>                                                        To
             Sent by: Sachin           dev@geronimo.apache.org
             Patel                                                      cc
             < sppatel@gmail.co
             m>                                                    Subject
                                       GERONIMO-2324

             08/17/2006 08:06
             AM


             Please respond to
             dev@geronimo.apac
                   he.org






So does anyone have any ideas on an agreeable solution to this JIRA? I
don't think David's comments in the JIRA as an alternate solution don't
fully address the problem.

(1) Need to be able to provide external individual jar entries to the
shared library
(2) Need to be able to add additional external classes folder to the shared
library
(3) Do both without having to modify the server config which requires a
server restart, which needs to be avoided. At worst case the shared lib
config should need to be recycled.

This again I must stress, is a development time scenario to be able to
treat Geronimo as a "test environment". I understand the implications of
doing this, and agree that this should not be an in-production feature that
we should be promoting. But in order to improve our tooling integration
with the runtime, we must start putting in features that may not
necessarily make sense from a pure runtime perspective but certainly does
from a development standpoint.

Input appreciated.

-sachin




-----------------------------------------
This transmission may contain information that is privileged,
confidential, legally privileged, and/or exempt from disclosure
under applicable law.  If you are not the intended recipient, you
are hereby notified that any disclosure, copying, distribution, or
use of the information contained herein (including any reliance
thereon) is STRICTLY PROHIBITED.  Although this transmission and
any attachments are believed to be free of any virus or other
defect that might affect any computer system into which it is
received and opened, it is the responsibility of the recipient to
ensure that it is virus free and no responsibility is accepted by
JPMorgan Chase & Co., its subsidiaries and affiliates, as
applicable, for any loss or damage arising in any way from its use.
If you received this transmission in error, please immediately
contact the sender and destroy the material in its entirety,
whether in electronic or hard copy format. Thank you.




-sachin



------=_Part_225307_11390094.1155834243078--