Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 89027 invoked from network); 8 Mar 2007 14:08:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Mar 2007 14:08:12 -0000 Received: (qmail 92241 invoked by uid 500); 8 Mar 2007 14:08:17 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 92195 invoked by uid 500); 8 Mar 2007 14:08:17 -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 92184 invoked by uid 99); 8 Mar 2007 14:08:17 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2007 06:08:17 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [68.142.201.195] (HELO web31715.mail.mud.yahoo.com) (68.142.201.195) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 08 Mar 2007 06:08:07 -0800 Received: (qmail 42839 invoked by uid 60001); 8 Mar 2007 14:07:46 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=thBytXJ9FB+kixPAiV+ZHQr6/ThSIWegoG1gGy1rq5Ncod+4WpzSQ57D7ZyKbKEMc2VBTgg5m5R4HgJdBWFjjOK7LTqH6FMuBYSWB47zWU8gPmNjFbHvfk0aLiDHbFXzPLSveZt1Q543jWT/KvH5D15nvCn4MmqldNLv+TaDyKI=; X-YMail-OSG: L5wVFdAVM1nCu4bSuWEFFfAkqpJP6MVt2m4BXCn1 Received: from [24.211.208.98] by web31715.mail.mud.yahoo.com via HTTP; Thu, 08 Mar 2007 06:07:46 PST Date: Thu, 8 Mar 2007 06:07:46 -0800 (PST) From: Anita Kulshreshtha Subject: Re: Database pools To: dev@geronimo.apache.org In-Reply-To: <483507.84243.qm@web31710.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <406488.41364.qm@web31715.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org David J, I want to make sure that I have not overlooked anything.. Things seem to be working with these changes. They are waiting for your blessing.. Thanks Anita --- Anita Kulshreshtha wrote: > I added connector-deployer as a 'import classes' dependency of > jsr88-rar-configurer as you had suggested. I could get it to start > only > after adding gbean-deployer as a parent of jsr88-cli because of the > following error: > > > > 18:19:36,500 WARN [ConfigurationUtil] Could not load gbean > org.apache.geronimo.configs/jsr88-rar-configurer/2.0-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/jsr88-rar-configurer/2.0-SNAPSHOT/car,j2eeType=DeploymentConfigurer,name=RARConfigurer > org.apache.geronimo.gbean.InvalidConfigurationException: Getter > return > type in wrong classloader: type: class > javax.enterprise.deploy.shared.ModuleType wanted in classloader: > [org.apache.geronimo.kernel.classloader.JarFileClassLoader > id=org.apache.geronimo.configs/jsr88-cli/2.0-SNAPSHOT/car] actual: > [org.apache.geronimo.kernel.classloader.JarFileClassLoader > id=org.apache.geronimo.configs/geronimo-gbean-deployer/2.0-SNAPSHOT/car] > at > org.apache.geronimo.gbean.runtime.GBeanAttribute.(GBeanAttribute.java:241) > How does this fit with other things? > > > Thanks > Anita > > --- David Jencks wrote: > > > I agree that starting the existing jsr88-* configs is a better > > solution than adding gbeans to the deployer configs. There might > > > possibly be classloading problems from duplicate copies of e.g. > > geronimo-connector-builder.jar, but if that happens I think the > > better solution is to move the jsr88 code into separate jars, > > something I believe Aaron and I have been contemplating for years. > > > > I'm glad to know that there is already a LocalDeploymentManager. > > > > thanks > > david jencks > > > > On Mar 6, 2007, at 9:11 AM, Gianny Damour wrote: > > > > > Hello Anita, > > > > > > I had a quick look to GERONIMO-2916 and, as per David J. comment, > > > > it seems to me that if you simply start the pointed out modules > > > this bug will be fixed: DatabasePoolPortlet gets a > > > LocalDeploymentManager instance, which knows about all the > running > > > > > ModuleConfigurer GBean implementations. If > > > org.apache.geronimo.configs/jsr88-rar-configurer//car is started, > > > > then you will get a RARConfigurer running within the server. Then > > > > when DatabasePoolPortlet obtains its LocalDeploymentManager, this > > > > latter does know about RARConfigurer. > > > > > > Thanks, > > > Gianny > > > > > > > > > On 07/03/2007, at 12:18 AM, Anita Kulshreshtha wrote: > > > > > >> Minor (? :)) Clarification.... > > >> David, I meant to write connector-deployer config not > > >> system-database to add the GBean to. Will that change your > answer? > > I > > >> think having individual GBeans in the appropriate deployer > config > > > > >> will > > >> work well for minimal and framework servers. > > >> > > >> Thanks > > >> Anita > > >> > > >> --- Anita Kulshreshtha wrote: > > >> > > >>> > > >>> --- David Jencks wrote: > > >>> > > >>>> > > >>>> On Mar 5, 2007, at 6:31 PM, Anita Kulshreshtha wrote: > > >>>> > > >>>>> I need to add RARConfigurer GBean to system-database > config > > to > > >>>> fix > > >>>>> https://issues.apache.org/jira/browse/GERONIMO-2916 (see > > excerpts > > >>>>> below) > > >>>>> Is this the correct place to add it? > > >>>> > > >>>> No. > > >>>> > > >>>> Instead of adding gbeans to anything, I think you want to > start > > all > > >>> > > >>>> the jsr88-*configurer modules gianny recently added. See > > >>>> assemblies/ > > >>>> > > >>> > > > geronimo-jetty6-jee5/src/main/var/config/jsr88-configurer-config.xml > > >>>> > > >>>> which contains > > >>>> > > >>>> > >>>> name="org.apache.geronimo.configs/jsr88-cli/${version}/car"/> > > >>>> > name="org.apache.geronimo.configs/jsr88-jar-configurer/$ > > >>> > > >>>> {version}/car"/> > > >>>> > name="org.apache.geronimo.configs/jsr88-rar-configurer/$ > > >>> > > >>>> {version}/car"/> > > >>>> > name="org.apache.geronimo.configs/jsr88-war-configurer/$ > > >>> > > >>>> {version}/car"/> > > >>>> > name="org.apache.geronimo.configs/jsr88-ear-configurer/$ > > >>> > > >>>> {version}/car"/> > > >>>> > > >>>> > > >>>> I don't think you want to start the jsr88-cli in the server. > > If > > >>>> there isn't already an appropriate gbean for the > > DeploymentManager > > >>> > > >>>> we'd need a gbean like > > >>>> > > >>>> > >>>> > > >>> > > >> > > > class="org.apache.geronimo.deployment.plugin.jmx.RemoteDeploymentMana > > > > >> ger > > >>>> > > >>>> "> > > >>>> > > >>>> > > >>>> ClientConfigurer > > >>>> > > >>>> > > >>>> EARConfigurer > > >>>> > > >>>> > > >>>> RARConfigurer > > >>>> > > >>>> > > >>>> WARConfigurer > > >>>> > > >>>> > > >>>> > > >>>> > > >>>> somewhere appropriate but I don't think it should be the > > >>>> jmxRemoteDeploymentManager. (but I'm not sure) It does need > to > > be > > >>> > > >>>> able to accept the *Configurers registering with it. > > >>> > > >>> I found WARConfigurer GBean in tomcat6-deployer config. I > > did > > >>> not > > >>> find any EarConfigurer. I am still mesmerized by this stuff... > > The > > >>> ModuleConfigurerRegistry is a good choice. Where should this > > GBean > > >>> go? > > >>> > > >>> Thanks > > >>> Anita > > >>> > > >>>> > > >>>> > > >>>> thanks > > >>>> david jencks > > >>>> > > >>>>> > > >>>>> Thanks > > >>>>> Anita > > >>>>> > > >>>>> ........................................................ > > >>>>> 5:07:55,562 ERROR [DatabasePoolPortlet] Unable to save > > connection > > >>>> pool > > >>>>> > javax.enterprise.deploy.spi.exceptions.InvalidModuleException: > > No > === message truncated === ____________________________________________________________________________________ Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html