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 <geronimo_home>/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.