[ https://issues.apache.org/jira/browse/GERONIMO-3212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Donald Woods closed GERONIMO-3212. ---------------------------------- > Module config can not be removed from config.xml when undeploy offline > ---------------------------------------------------------------------- > > Key: GERONIMO-3212 > URL: https://issues.apache.org/jira/browse/GERONIMO-3212 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: deployment > Affects Versions: 2.0-M6 > Reporter: YunFeng Ma > Assignee: Donald Woods > Fix For: 2.0-M7 > > Attachments: GERONIMO-3212.patch > > > When undeploy a module offline, the module files is removed from the > repository, but the module config is not removed from the config.xml. > For example: > deploy --offline undeploy wasce-samples/hello/2.0/war > 18:42:21,546 WARN [RepositoryConfigurationStore] Unable to remove > configuration > from persistent configurations. id = wasce-samples/hello/2.0/war > org.apache.geronimo.kernel.GBeanNotFoundException: More then one GBean was > found > with type 'org.apache.geronimo.kernel.config.PersistentConfigurationList': > [?#o > rg.apache.geronimo.kernel.config.PersistentConfigurationList] > at > org.apache.geronimo.kernel.basic.BasicRegistry.getGBeanInstance(Basic > Registry.java:161) > at > org.apache.geronimo.kernel.basic.BasicKernel.getGBean(BasicKernel.jav > a:286) > at > org.apache.geronimo.kernel.basic.BasicKernel.getGBean(BasicKernel.jav > a:282) > at > org.apache.geronimo.system.configuration.RepositoryConfigurationStore > .uninstall(RepositoryConfigurationStore.java:367) > at > org.apache.geronimo.system.configuration.RepositoryConfigurationStore > $$FastClassByCGLIB$$968bf00c.invoke(<generated>) > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > at > org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod > Invoker.java:38) > at > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio > n.java:127) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance. > java:828) > at > org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5 > 7) > at > org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat > ionInvoker.java:35) > at > org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro > xyMethodInterceptor.java:96) > at > org.apache.geronimo.kernel.config.ConfigurationStore$$EnhancerByCGLIB > $$b8a4ce48.uninstall(<generated>) > at > org.apache.geronimo.kernel.config.SimpleConfigurationManager.uninstal > lConfiguration(SimpleConfigurationManager.java:1249) > at > org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastCla > ssByCGLIB$$ce77a924.invoke(<generated>) > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > at > org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod > Invoker.java:38) > at > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio > n.java:127) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance. > java:828) > at > org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5 > 7) > at > org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat > ionInvoker.java:35) > at > org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro > xyMethodInterceptor.java:96) > at > org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$86a49a78.u > ninstallConfiguration(<generated>) > at > org.apache.geronimo.deployment.plugin.local.UndeployCommand.run(Undep > loyCommand.java:73) > at java.lang.Thread.run(Thread.java:803) > Module wasce-samples/hello/2.0/war unloaded. > Module wasce-samples/hello/2.0/war uninstalled. > Undeployed wasce-samples/hello/2.0/war -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.