You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Aman Nanner (JIRA)" <ji...@apache.org> on 2007/03/01 22:56:50 UTC

[jira] Created: (GERONIMO-2918) Have the ActiveMQ broker configured from an external configuration file by default

Have the ActiveMQ broker configured from an external configuration file by default
----------------------------------------------------------------------------------

                 Key: GERONIMO-2918
                 URL: https://issues.apache.org/jira/browse/GERONIMO-2918
             Project: Geronimo
          Issue Type: Improvement
      Security Level: public (Regular issues)
          Components: ActiveMQ
    Affects Versions: 1.2
            Reporter: Aman Nanner
            Priority: Minor
             Fix For: 1.2


Currently, the org.apache.activemq.gbean.BrokerServiceGBeanImpl GBean is configured in the activemq-broker config and is thus built into a serialized configuration during the build process.  Looking at the plan.xml, there is a commented-out section that specifies an external configuration file to be used.  Enabling this section allows for the broker to be configured by an external file.

This configuration should be changed so that the activemq-broker configuration refers to an external file by default, rather than being internally configured in the plan.  This external file can exist somewhere in the geronimo folder hieracy (e.g. var/config/activemq.xml).  This external file should contain the same minimal configuration that is currently specified in the GBean descriptor in the plan.xml.

The benefit of having an external file by default is that the activemq broker can be configured without having to rebuild Geronimo.  This makes the ActiveMQ configuration much easier.

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


[jira] Closed: (GERONIMO-2918) Have the ActiveMQ broker configured from an external configuration file by default

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-2918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jencks closed GERONIMO-2918.
----------------------------------

    Resolution: Duplicate
      Assignee: David Jencks

This is getting "fixed" in 2.2 as we upgrade to amq 5.2.  I doubt the initial implementation will allow any editing of the amq config file: we might add some later.

> Have the ActiveMQ broker configured from an external configuration file by default
> ----------------------------------------------------------------------------------
>
>                 Key: GERONIMO-2918
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-2918
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: ActiveMQ
>    Affects Versions: 1.2
>            Reporter: Aman Nanner
>            Assignee: David Jencks
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: activemq-config.patch
>
>
> Currently, the org.apache.activemq.gbean.BrokerServiceGBeanImpl GBean is configured in the activemq-broker config and is thus built into a serialized configuration during the build process.  Looking at the plan.xml, there is a commented-out section that specifies an external configuration file to be used.  Enabling this section allows for the broker to be configured by an external file.
> This configuration should be changed so that the activemq-broker configuration refers to an external file by default, rather than being internally configured in the plan.  This external file can exist somewhere in the geronimo folder hieracy (e.g. var/config/activemq.xml).  This external file should contain the same minimal configuration that is currently specified in the GBean descriptor in the plan.xml.
> The benefit of having an external file by default is that the activemq broker can be configured without having to rebuild Geronimo.  This makes the ActiveMQ configuration much easier.

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


[jira] Updated: (GERONIMO-2918) Have the ActiveMQ broker configured from an external configuration file by default

Posted by "Aman Nanner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-2918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aman Nanner updated GERONIMO-2918:
----------------------------------

    Attachment: activemq-config.patch

Here is a patch that addresses this issue (and also addresses Geronimo 2927).  There some comments in the activemq-broker pom.xml that can be removed.

> Have the ActiveMQ broker configured from an external configuration file by default
> ----------------------------------------------------------------------------------
>
>                 Key: GERONIMO-2918
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-2918
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: ActiveMQ
>    Affects Versions: 1.2
>            Reporter: Aman Nanner
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: activemq-config.patch
>
>
> Currently, the org.apache.activemq.gbean.BrokerServiceGBeanImpl GBean is configured in the activemq-broker config and is thus built into a serialized configuration during the build process.  Looking at the plan.xml, there is a commented-out section that specifies an external configuration file to be used.  Enabling this section allows for the broker to be configured by an external file.
> This configuration should be changed so that the activemq-broker configuration refers to an external file by default, rather than being internally configured in the plan.  This external file can exist somewhere in the geronimo folder hieracy (e.g. var/config/activemq.xml).  This external file should contain the same minimal configuration that is currently specified in the GBean descriptor in the plan.xml.
> The benefit of having an external file by default is that the activemq broker can be configured without having to rebuild Geronimo.  This makes the ActiveMQ configuration much easier.

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


[jira] Commented: (GERONIMO-2918) Have the ActiveMQ broker configured from an external configuration file by default

Posted by "Jason Dillon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-2918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12479775 ] 

Jason Dillon commented on GERONIMO-2918:
----------------------------------------

I think the only way this would fly is if we can get the console bits which add connectors/etc to update the configuration file, so that one can still use the console to add muck and it will retain them over a restart.

Perhaps, also, the console might need a simple text-based editor thingy to edit the activemq.xml

Additionally, we may want to consider including the activemq-web-console...

> Have the ActiveMQ broker configured from an external configuration file by default
> ----------------------------------------------------------------------------------
>
>                 Key: GERONIMO-2918
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-2918
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: ActiveMQ
>    Affects Versions: 1.2
>            Reporter: Aman Nanner
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: activemq-config.patch
>
>
> Currently, the org.apache.activemq.gbean.BrokerServiceGBeanImpl GBean is configured in the activemq-broker config and is thus built into a serialized configuration during the build process.  Looking at the plan.xml, there is a commented-out section that specifies an external configuration file to be used.  Enabling this section allows for the broker to be configured by an external file.
> This configuration should be changed so that the activemq-broker configuration refers to an external file by default, rather than being internally configured in the plan.  This external file can exist somewhere in the geronimo folder hieracy (e.g. var/config/activemq.xml).  This external file should contain the same minimal configuration that is currently specified in the GBean descriptor in the plan.xml.
> The benefit of having an external file by default is that the activemq broker can be configured without having to rebuild Geronimo.  This makes the ActiveMQ configuration much easier.

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