You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Nell Gawor <ne...@hotmail.com> on 2005/12/12 18:12:53 UTC

Understanding config.xml

Hi,

My question is in reference to M5.  I see there are a number of 
attributes in config.xml that I can modify.  My question is, what if I 
want to change something that is not in there.  For instance, looking at
system-jms-plan.xml, it has this stanza:

<connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.0"
    configId="org/apache/geronimo/SystemJMS"
    parentId="org/apache/geronimo/ActiveMQServer">
    <resourceadapter>
        <resourceadapter-instance>
            <resourceadapter-name>ActiveMQ RA</resourceadapter-name>
            <config-property-setting 
name="ServerUrl">tcp://0.0.0.0:61616</config-property-setting>
            <config-property-setting 
name="UserName">geronimo</config-property-setting>
            <config-property-setting 
name="Password">geronimo</config-property-setting>

If I decide I want to change the UserName and Password can I just add 
this into config.xml and restart the server?  Or do I absolutely have to 
modify system-jms-plan.xml and redeploy it?

Thanks,
Nell


Re: Understanding config.xml

Posted by Aaron Mulder <am...@alumni.princeton.edu>.
Generally speaking, if a GBean attribute is designated as manageable,
then you can add an entry for it in config.xml (even if you need to
add an entry for the GBean in config.xml).

However, it's not obvious what the GBean attributes are for changing
the resource adapter config properties.  It may or may not turn out
that these attributes are manageable and have sensible names in the
short term, but we will definitely support it eventually.  This is
going to be important for the database edit screen in the management
console.  :)

Thanks,
    Aaron

On 12/12/05, Nell Gawor <ne...@hotmail.com> wrote:
> Hi,
>
> My question is in reference to M5.  I see there are a number of
> attributes in config.xml that I can modify.  My question is, what if I
> want to change something that is not in there.  For instance, looking at
> system-jms-plan.xml, it has this stanza:
>
> <connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.0"
>     configId="org/apache/geronimo/SystemJMS"
>     parentId="org/apache/geronimo/ActiveMQServer">
>     <resourceadapter>
>         <resourceadapter-instance>
>             <resourceadapter-name>ActiveMQ RA</resourceadapter-name>
>             <config-property-setting
> name="ServerUrl">tcp://0.0.0.0:61616</config-property-setting>
>             <config-property-setting
> name="UserName">geronimo</config-property-setting>
>             <config-property-setting
> name="Password">geronimo</config-property-setting>
>
> If I decide I want to change the UserName and Password can I just add
> this into config.xml and restart the server?  Or do I absolutely have to
> modify system-jms-plan.xml and redeploy it?
>
> Thanks,
> Nell
>
>