activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Pickett (JIRA)" <>
Subject [jira] Created: (AMQ-2881) ACTIVEMQ_HOME and ACTIVEMQ_BASE appear not to be set correctly in scripts
Date Fri, 27 Aug 2010 20:05:40 GMT
ACTIVEMQ_HOME and ACTIVEMQ_BASE appear not to be set correctly in scripts

                 Key: AMQ-2881
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 5.4.0
            Reporter: Phil Pickett
            Priority: Minor

In a new AMQ 5.4 installation, I am using a command like "bin/activemq create Broker2" to
create a new instance.  There are problems bringing up the admin and other consoles for the
new instance due to what seem to be problems in the scripts related to $ACTIVEMQ_HOME and

I've been able to get this working by changing references to ${activemq.base} to ${activemq.home}
for the webapps in the conf/jetty.xml.  It seems to me that the webapps are probably not instance-specific
so I believe this makes sense.  I left the directory set to ${activemq.base} for the
file thinking these properties are probably instance-specific.

I also modified the bin/activemq script to set the ACTIVEMQ_CLASSPATH to "${ACTIVEMQ_BASE}/conf:${ACTIVEMQ_HOME}/conf;${ACTIVEMQ_CLASSPATH}"
so that instance-specific config files are picked up before the more generic config files.

With these changes in place I am able to create multiple broker instances, set unique openwire
and jetty ports in the instance's conf/activemq.xml and conf/jetty.xml, start the instances,
and open their administrative consoles.

My modified bin/activemq and conf/jetty.xml files are attached along with the differences
to the 5.4 version.

I am able to create

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

View raw message