ActiveMQ child instances create their PID file in the parent's data directory 
and refer to the parent's configuration files when started
----------------------------------------------------------------------------------------------------------------------------------------

                 Key: AMQ-3025
                 URL: https://issues.apache.org/activemq/browse/AMQ-3025
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.4.1
         Environment: unix
            Reporter: Linton Galloway


ActiveMQ child instances create their PID file in the parent's data directory 
and refer to the parent's configuration files when started. 

Please see below for the diff of the bin/activemq script:

87a88,91
> if [ -z "$ACTIVEMQ_BASE" ] ; then
>   ACTIVEMQ_BASE="$ACTIVEMQ_HOME"
> fi
> 
89c93
< ACTIVEMQ_CONFIG_DIR="$ACTIVEMQ_HOME/conf"
---
> ACTIVEMQ_CONFIG_DIR="$ACTIVEMQ_BASE/conf"
93c97
<   ACTIVEMQ_DATA_DIR="$ACTIVEMQ_HOME/data"
---
>   ACTIVEMQ_DATA_DIR="$ACTIVEMQ_BASE/data"
283,286d286
< 
< if [ -z "$ACTIVEMQ_BASE" ] ; then
<   ACTIVEMQ_BASE="$ACTIVEMQ_HOME"
< fi


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

Reply via email to