You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jeremy Boynes (JIRA)" <de...@geronimo.apache.org> on 2005/08/28 17:24:04 UTC

[jira] Created: (GERONIMO-935) ManagedAttribute injection should work when multiple stores are present

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
 Assigned to: 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

Posted by "Jeremy Boynes (JIRA)" <de...@geronimo.apache.org>.
    [ 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

Posted by "Jeremy Boynes (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-935?page=comments#action_12320362 ] 

Jeremy Boynes commented on GERONIMO-935:
----------------------------------------

Sending        configs/j2ee-server/project.xml
Sending        configs/j2ee-server/src/plan/plan.xml
Sending        configs/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
Sending        configs/rmi-naming/src/plan/plan.xml
Sending        modules/assembly/src/plan/client-system-plan.xml
Sending        modules/assembly/src/plan/deployer-system-plan.xml
Sending        modules/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


[jira] Closed: (GERONIMO-935) ManagedAttribute injection should work when multiple stores are present

Posted by "David Jencks (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-935?page=all ]
     
David Jencks closed GERONIMO-935:
---------------------------------

    Resolution: Fixed

Now the ConfigurationManagerImpl has the reference to the managed attribute store.

> 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

>
> 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] Updated: (GERONIMO-935) ManagedAttribute injection should work when multiple stores are present

Posted by "David Blevins (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-935?page=all ]

David Blevins updated GERONIMO-935:
-----------------------------------

    Fix Version: 1.0
                     (was: 1.0-M5)

> 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

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