[ https://issues.apache.org/jira/browse/GERONIMO-6448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13629325#comment-13629325 ]
Jarek Gawor commented on GERONIMO-6448: --------------------------------------- Looks like there is a bug Aries' BundleManifest.fromBundle(File) function. It doesn't close the input stream if the file argument is a directory. In revision 1467077 I committed a fix (on Geronimo side) for this issue - it ensures we always close the input stream. > "Configuration already exists" error when redeploying OSGi application > ---------------------------------------------------------------------- > > Key: GERONIMO-6448 > URL: https://issues.apache.org/jira/browse/GERONIMO-6448 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: Aries > Affects Versions: 3.0.0 > Environment: Windows 7 > Reporter: Jarek Gawor > Assignee: Jarek Gawor > > Here's how to replicate the problem on Windows using GEP: > 1. Publish OSGi application which has dependency problems. > 2. Start server and get publish errors. > 3. Right click this application in Servers view and remove it. > 4. Right click server and add the application again. Then this error happens. > Following is the error generated: > org.apache.geronimo.kernel.config.ConfigurationAlreadyExistsException: > Configuration already exists: application/test.eba/1.0.0-qualifier/eba > org.apache.geronimo.common.DeploymentException: > org.apache.geronimo.kernel.config.ConfigurationAlreadyExistsException: > Configuration already exists: application/test.eba/1.0.0-qualifier/eba -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira