geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manu T George (JIRA)" <j...@apache.org>
Subject [jira] Updated: (GERONIMO-4369) The new attribute values are overwrote while restarting the DB pool connector
Date Thu, 05 Feb 2009 10:11:59 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-4369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Manu T George updated GERONIMO-4369:
------------------------------------

    Attachment: G-4369-0205.patch

This patch provides an alternative approach and applies the over ridden values to the configuration
object before calling restart from the ConfigManagerPortlet. We lookup the ManageableAttributeStore
and then call the applyOverrides method to achieve the same. There seems to be only one attribute
store namely the 

 <!--User-editable attribute service-->
    <gbean name="AttributeManager" class="org.apache.geronimo.system.configuration.LocalAttributeManager">
        <reference name="ServerInfo">
            <name>ServerInfo</name>
        </reference>
        <attribute name="configFile">var/config/config.xml</attribute>
        <attribute name="substitutionsFile">var/config/config-substitutions.properties</attribute>
        <attribute name="substitutionPrefix">org.apache.geronimo.config.substitution.</attribute>
    </gbean>

If there are any objections or errors that you see with this patch please point them out on
the jira



> The new attribute values are overwrote while restarting the DB pool connector
> -----------------------------------------------------------------------------
>
>                 Key: GERONIMO-4369
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4369
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: console
>    Affects Versions: 2.2
>         Environment: Geronimo 2.2 snapshot
> JDK 1.5
> Windows XP
>            Reporter: Ivan
>            Assignee: Manu T George
>            Priority: Blocker
>             Fix For: 2.1.4, 2.2
>
>         Attachments: G-4369-0205.patch, Geronimo-4369-01.21.patch, Geronimo-4369-11.13.patch,
Geronimo-4369-11.17.patch, Geronimo-4369-11.19.patch
>
>
> After editing the values in the db pool, then restart it in the console, the new values
lost.
> When saving the new attribute values, such as user name,  the gbeandata in the configurationManager
is not updated, so while restarting the connector, the gbinstance copies those old values
from it. So the new persistent values do not take effect, 
> Do I miss anything, thanks for any comment !

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


Mime
View raw message