geronimo-dev mailing list archives

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

] 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: , 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:
>             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

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message