[jira] Commented: (GERONIMO-935) ManagedAttribute injection should work when multiple stores are present
[ http://issues.apache.org/jira/browse/GERONIMO-935?page=comments#action_12320355 ] Jeremy Boynes commented on GERONIMO-935: I'm going to fix this initially by replacing the lookup with a GBean reference so that an appropriate proxy gets injected. Longer term I think we should separate out the initialization of these attributes so that the actual values are injected rather than a locator. > ManagedAttribute injection should work when multiple stores are present > --- > > Key: GERONIMO-935 > URL: http://issues.apache.org/jira/browse/GERONIMO-935 > Project: Geronimo > Type: Bug > Versions: 1.0-M5 > Reporter: Jeremy Boynes > Assignee: Jeremy Boynes > Fix For: 1.0-M5 > > The implementation of setManagedAttribute in Configuration uses a proxy to > the ManagedAttributeStore that is obtained by querying the kernel and using > the first one found. This is problematic as more than one GBean implementing > that interface may be present in the kernel, leading to results that are > inconsistent at best but which may prevent a configuraton from starting at > all if the selected target is not running. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (GERONIMO-935) ManagedAttribute injection should work when multiple stores are present
[ http://issues.apache.org/jira/browse/GERONIMO-935?page=comments#action_12320362 ] Jeremy Boynes commented on GERONIMO-935: Sendingconfigs/j2ee-server/project.xml Sendingconfigs/j2ee-server/src/plan/plan.xml Sendingconfigs/j2ee-system/src/plan/plan.xml Adding configs/rmi-naming Adding configs/rmi-naming/LICENSE.txt Adding configs/rmi-naming/NOTICE.txt Adding configs/rmi-naming/maven.xml Adding configs/rmi-naming/project.properties Adding configs/rmi-naming/project.xml Adding configs/rmi-naming/src Sendingconfigs/rmi-naming/src/plan/plan.xml Sendingmodules/assembly/src/plan/client-system-plan.xml Sendingmodules/assembly/src/plan/deployer-system-plan.xml Sendingmodules/assembly/src/plan/system-plan.xml Sending modules/kernel/src/java/org/apache/geronimo/kernel/config/Configuration.java Sending modules/kernel/src/java/org/apache/geronimo/kernel/config/ManageableAttributeStore.java Sending modules/system/src/java/org/apache/geronimo/system/configuration/LocalAttributeManager.java Sending modules/system/src/java/org/apache/geronimo/system/configuration/LocalConfigStore.java Adding plugins/geronimo-packaging-plugin/src/java/org/apache/geronimo/plugin/packaging/MavenAttributeStore.java Sending plugins/geronimo-packaging-plugin/src/java/org/apache/geronimo/plugin/packaging/MavenConfigStore.java Sending plugins/geronimo-packaging-plugin/src/java/org/apache/geronimo/plugin/packaging/PackageBuilder.java Transmitting file data Committed revision 263902. > ManagedAttribute injection should work when multiple stores are present > --- > > Key: GERONIMO-935 > URL: http://issues.apache.org/jira/browse/GERONIMO-935 > Project: Geronimo > Type: Bug > Versions: 1.0-M5 > Reporter: Jeremy Boynes > Assignee: Jeremy Boynes > Fix For: 1.0-M5 > > The implementation of setManagedAttribute in Configuration uses a proxy to > the ManagedAttributeStore that is obtained by querying the kernel and using > the first one found. This is problematic as more than one GBean implementing > that interface may be present in the kernel, leading to results that are > inconsistent at best but which may prevent a configuraton from starting at > all if the selected target is not running. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira