Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 87236 invoked from network); 18 Jun 2009 10:03:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Jun 2009 10:03:22 -0000 Received: (qmail 35688 invoked by uid 500); 18 Jun 2009 10:03:32 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 35578 invoked by uid 500); 18 Jun 2009 10:03:32 -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 35447 invoked by uid 99); 18 Jun 2009 10:03:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jun 2009 10:03:31 +0000 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; Thu, 18 Jun 2009 10:03:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 810C0234C053 for ; Thu, 18 Jun 2009 03:03:07 -0700 (PDT) Message-ID: <1853748610.1245319387527.JavaMail.jira@brutus> Date: Thu, 18 Jun 2009 03:03:07 -0700 (PDT) From: "Rodger Zhang (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Created: (GERONIMO-4696) Directory should be removed when a module's deployment fails. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Directory should be removed when a module's deployment fails. ------------------------------------------------------------- Key: GERONIMO-4696 URL: https://issues.apache.org/jira/browse/GERONIMO-4696 Project: Geronimo Issue Type: Bug Security Level: public (Regular issues) Components: deployment Affects Versions: 2.2 Reporter: Rodger Zhang I write a war using datasource. Deploy it with a geronimo-web.xml that does not contain the dependence on the datasource. As anticipated , it fails to be deployed. But when I deploy the war again with the right geronimo-web.xml (dependence has been added), there is an error: org.apache.geronimo.kernel.config.ConfigurationAlreadyExistsException: Configuration already exists: There is no module with the very name in config.xml , but a directory with the very name exists in /repository/ . If I remove the directory in repository manually, then I can depoly the war successfully. So, if a module's deployment fails, the directory created in repository should be removed automatically. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.