Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 15018 invoked from network); 9 Jun 2008 20:35:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Jun 2008 20:35:12 -0000 Received: (qmail 51038 invoked by uid 500); 9 Jun 2008 20:35:13 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 50986 invoked by uid 500); 9 Jun 2008 20:35:12 -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 50927 invoked by uid 99); 9 Jun 2008 20:35:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jun 2008 13:35:12 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jun 2008 20:34:24 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7A2A7234C135 for ; Mon, 9 Jun 2008 13:34:46 -0700 (PDT) Message-ID: <287177519.1213043686492.JavaMail.jira@brutus> Date: Mon, 9 Jun 2008 13:34:46 -0700 (PDT) From: "Jarek Gawor (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Resolved: (GERONIMO-4111) Plugin installation works with search-plugins command but fails with install-plugin command In-Reply-To: <338120238.1213037206535.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-4111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jarek Gawor resolved GERONIMO-4111. ----------------------------------- Resolution: Fixed Fix Version/s: 2.2 2.1.2 The install-plugin command is calling PluginInstallerGBean.install(File) method. That method after validating the plugin information copied the car file to Geronimo repository and called PluginInstallerGBean.install(PluginListType) method. The PluginInstallerGBean.install(PluginListType) method performed the plugin validation again but this time the validation failed becuase the car file was already copied to the Geronimo repository. That is, the installer thought the plugin was already installed and therefore the dependencies were not downloaded. Thus, the missing dependency exceptions. The fix was do disable the plugin validation in PluginInstallerGBean.install(PluginListType) method when plugin was installed via PluginInstallerGBean.install(File) method. Committed fixes to trunk (revision 665872) and branches/2.1 (revision 665873). > Plugin installation works with search-plugins command but fails with install-plugin command > ------------------------------------------------------------------------------------------- > > Key: GERONIMO-4111 > URL: https://issues.apache.org/jira/browse/GERONIMO-4111 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: Plugins > Affects Versions: 2.1.1, 2.2 > Reporter: Jarek Gawor > Assignee: Jarek Gawor > Fix For: 2.1.2, 2.2 > > > Installation of the same plugin works using search-plugins command but fails with install-plugin command. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.