Return-Path: X-Original-To: apmail-geronimo-dev-archive@www.apache.org Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 01DB99178 for ; Wed, 22 Feb 2012 19:50:48 +0000 (UTC) Received: (qmail 95639 invoked by uid 500); 22 Feb 2012 19:50:47 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 95585 invoked by uid 500); 22 Feb 2012 19:50:47 -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 95578 invoked by uid 99); 22 Feb 2012 19:50:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2012 19:50:47 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [209.174.123.75] (HELO samarium-v1.sys.ma.cait.org) (209.174.123.75) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2012 19:50:39 +0000 Received: from samarium-v2.sys.ma.cait.org ([209.174.123.67] helo=vanadium.sys.ma.cait.org) by samarium-v1.sys.ma.cait.org with esmtp (Exim 4.63) (envelope-from ) id 1S0ICg-0006OE-Qm for dev@geronimo.apache.org; Wed, 22 Feb 2012 13:50:19 -0600 Received: from localhost (localhost.localdomain [127.0.0.1]) by vanadium.sys.ma.cait.org (Postfix) with ESMTP id C73828694002 for ; Wed, 22 Feb 2012 13:50:18 -0600 (CST) X-Virus-Scanned: amavisd-new at vanadium.sys.ma.cait.org Received: from vanadium.sys.ma.cait.org ([127.0.0.1]) by localhost (vanadium.sys.ma.cait.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dAFD0xRtlF-T for ; Wed, 22 Feb 2012 13:50:18 -0600 (CST) Received: from russ-linux.cait.org (unknown [10.0.0.18]) by vanadium.sys.ma.cait.org (Postfix) with ESMTPSA id B3CBF8694001 for ; Wed, 22 Feb 2012 13:50:18 -0600 (CST) Message-ID: <4F4546F9.4080100@cait.org> Date: Wed, 22 Feb 2012 13:50:17 -0600 From: Russell E Glaue User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: dev@geronimo.apache.org Subject: Re: Can't create second repository References: <4F453BC9.9080709@cait.org> In-Reply-To: <4F453BC9.9080709@cait.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -1.9 (-) The documented procedures in https://cwiki.apache.org/GMOxDOC30/configuring-multiple-repositories.html work for /data/geronimo2/geronimo-tomcat6-javaee5-2.2.1 Something changed between 2.2 and 3.0. And ether that change breaks the support for multiple repositories, or the documented procedure needs to be updated to reflect the changes if that support still exists. Can anyone weigh in on what they know? -RG On 02/22/2012 01:02 PM, Russell E Glaue wrote: > Does anyone know why the documented procedure for creating a second repository > throws an error? > https://cwiki.apache.org/GMOxDOC30/configuring-multiple-repositories.html > > Unpack geronimo-tomcat7-javaee6-3.0-SNAPSHOT-20111220 as /opt/geronimo3 > Or unpack geronimo-tomcat7-javaee6-3.0-beta-1 as /opt/geronimo3 > > [root@server geronimo3]$ cd /opt/geronimo3 > [root@server geronimo3]$ bin/geronimo start > Using GERONIMO_HOME: /opt/geronimo3 > Using GERONIMO_TMPDIR: /opt/geronimo3/var/temp > Using JRE_HOME: /usr/jdk1.6.0/jre > Using GERONIMO_OUT: /opt/geronimo3/var/log/geronimo.out > > Geronimo started in background. PID: 8625 > [root@server geronimo3]$ bin/deploy -port 1099 deploy repo2.xml > Using GERONIMO_HOME: /opt/geronimo3 > Using GERONIMO_TMPDIR: var/temp > Using JRE_HOME: /usr/jdk1.6.0_25/jre > Username: system > Password: ******* > 2012-02-22 13:09:32,223 ERROR [DeployTool] Error: > org.apache.geronimo.common.DeploymentException: Unable to deploy repo2.xml: > Unable to resolve reference "ServerInfo" > in gbean > org.example.configs/myrepo/2.2/car?ServiceModule=org.example.configs/myrepo/2.2/car,j2eeType=Repository,name=Repo2 > > to a gbean matching the pattern > [?j2eeType=GBean,name=ServerInfo#org.apache.geronimo.system.serverinfo.ServerInfo] > due to: No matches for referencePatterns: > [?j2eeType=GBean,name=ServerInfo#org.apache.geronimo.system.serverinfo.ServerInfo] > (no matches) > > at > org.apache.geronimo.deployment.cli.CommandDeploy.runCommand(CommandDeploy.java:43) > at > org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(CommandDistribute.java:148) > > at > org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:124) > > at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:171) > at org.apache.geronimo.system.main.MainBridge.execute(MainBridge.java:64) > at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:65) > at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) > at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:32)