You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Hiram Chirino (JIRA)" <ji...@apache.org> on 2006/10/20 01:22:16 UTC

[jira] Created: (AMQ-997) Use the ACTIVEMQ_BASE environment variable to support running multiple broker instances from he same activemq install

Use the ACTIVEMQ_BASE environment variable to support running multiple broker instances from he same activemq install
---------------------------------------------------------------------------------------------------------------------

                 Key: AMQ-997
                 URL: https://issues.apache.org/activemq/browse/AMQ-997
             Project: ActiveMQ
          Issue Type: New Feature
            Reporter: Hiram Chirino
         Assigned To: Hiram Chirino
             Fix For: 4.1


The activemq startup shell scripts are allready using / find the ACTIVEMQ_HOME which is where AcitiveMQ has been installed.  Currently, you can only run one instance of the broker per ActiveMQ installation directory.  We should support running multiple broker instances using that same ACTIVEMQ_HOME.  All the per broker instance variable data should be relative to a new ACTIVEMQ_BASE enviroment variable.

By default the ACTIVEMQ_BASE == ACTIVEMQ_HOME so that sarting up the default activemq instance continues to behave as it allways has.

Createing a new per instance directory, as admin should only have to do:
{code}
export ACTIVEMQ_BASE=/path/to/new/directory
mkdir -p ${ACTIVEMQ_BASE}
cp -R ${ACTIVEMQ_HOME}/conf ${ACTIVEMQ_BASE}
{code}
customize the  ${ACTIVEMQ_BASE}/conf/activemq.xml file 

And to run the new instance:
{code}
export ACTIVEMQ_BASE=/path/to/new/directory
${ACTIVEMQ_HOME}/bin/activemq
{code}



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (AMQ-997) Use the ACTIVEMQ_BASE environment variable to support running multiple broker instances from he same activemq install

Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-997?page=comments#action_37249 ] 
            
Hiram Chirino commented on AMQ-997:
-----------------------------------

Folks sometimes need to add jar files to the ActiveMQ classpath to add a database driver for example.  it is usually added the the ${ACTIVEMQ_HOME}/lib directory, but to support cases where admins do not want users modifying the ActiveMQ install directory.  We should also add any jars in the ${ACTIVEMQ_BASE}/lib and ${ACTIVEMQ_BASE}/lib/optional directories to the ActiveMQ classpath.

> Use the ACTIVEMQ_BASE environment variable to support running multiple broker instances from he same activemq install
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-997
>                 URL: https://issues.apache.org/activemq/browse/AMQ-997
>             Project: ActiveMQ
>          Issue Type: New Feature
>            Reporter: Hiram Chirino
>         Assigned To: Hiram Chirino
>             Fix For: 4.1
>
>
> The activemq startup shell scripts are allready using / find the ACTIVEMQ_HOME which is where AcitiveMQ has been installed.  Currently, you can only run one instance of the broker per ActiveMQ installation directory.  We should support running multiple broker instances using that same ACTIVEMQ_HOME.  All the per broker instance variable data should be relative to a new ACTIVEMQ_BASE enviroment variable.
> By default the ACTIVEMQ_BASE == ACTIVEMQ_HOME so that sarting up the default activemq instance continues to behave as it allways has.
> Createing a new per instance directory, as admin should only have to do:
> {code}
> export ACTIVEMQ_BASE=/path/to/new/directory
> mkdir -p ${ACTIVEMQ_BASE}
> cp -R ${ACTIVEMQ_HOME}/conf ${ACTIVEMQ_BASE}
> {code}
> customize the  ${ACTIVEMQ_BASE}/conf/activemq.xml file 
> And to run the new instance:
> {code}
> export ACTIVEMQ_BASE=/path/to/new/directory
> ${ACTIVEMQ_HOME}/bin/activemq
> {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (AMQ-997) Use the ACTIVEMQ_BASE environment variable to support running multiple broker instances from he same activemq install

Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-997?page=all ]

Hiram Chirino resolved AMQ-997.
-------------------------------

    Resolution: Fixed

implemented.

> Use the ACTIVEMQ_BASE environment variable to support running multiple broker instances from he same activemq install
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-997
>                 URL: https://issues.apache.org/activemq/browse/AMQ-997
>             Project: ActiveMQ
>          Issue Type: New Feature
>            Reporter: Hiram Chirino
>         Assigned To: Hiram Chirino
>             Fix For: 4.1
>
>
> The activemq startup shell scripts are allready using / find the ACTIVEMQ_HOME which is where AcitiveMQ has been installed.  Currently, you can only run one instance of the broker per ActiveMQ installation directory.  We should support running multiple broker instances using that same ACTIVEMQ_HOME.  All the per broker instance variable data should be relative to a new ACTIVEMQ_BASE enviroment variable.
> By default the ACTIVEMQ_BASE == ACTIVEMQ_HOME so that sarting up the default activemq instance continues to behave as it allways has.
> Createing a new per instance directory, as admin should only have to do:
> {code}
> export ACTIVEMQ_BASE=/path/to/new/directory
> mkdir -p ${ACTIVEMQ_BASE}
> cp -R ${ACTIVEMQ_HOME}/conf ${ACTIVEMQ_BASE}
> {code}
> customize the  ${ACTIVEMQ_BASE}/conf/activemq.xml file 
> And to run the new instance:
> {code}
> export ACTIVEMQ_BASE=/path/to/new/directory
> ${ACTIVEMQ_HOME}/bin/activemq
> {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira