geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "viola.lu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMO-4696) Directory should be removed when a module's deployment fails.
Date Mon, 29 Jun 2009 06:10:47 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-4696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12725046#action_12725046
] 

viola.lu commented on GERONIMO-4696:
------------------------------------

This problem is cozed by an xbean resource finder defect (not close openned jar file), open
one jira and submit a patch for xbean: https://issues.apache.org/jira/browse/XBEAN-133 , pls
help review, thanks.

Reproduce steps:Deploy a StoreDataSource data source, and then comment  datasource dependency
in deployment plan, then deploy war file with wrong plan. Correct deployment plan(comment
out datasource dependency in deployment plan), then deploy war file with correct plan, then
it will report configuration already exits in console, from geronimo server standard output,
EARConfigBuilder send out a warning can't recursive delete jar files under lib.

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


Mime
View raw message