You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Rodger Zhang (JIRA)" <ji...@apache.org> on 2009/06/19 03:23:07 UTC

[jira] Updated: (GERONIMO-4696) Directory should be removed when a module's deployment fails.

     [ https://issues.apache.org/jira/browse/GERONIMO-4696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rodger Zhang updated GERONIMO-4696:
-----------------------------------

    Attachment: geronimo-web.xml
                general_store.war

Deploy a datasource pool named StoreDataSource with the database named generalstore firstly.

> 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
>         Attachments: general_store.war, geronimo-web.xml
>
>
> 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.