activemq-dev mailing list archives

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

     [ https://issues.apache.org/activemq/browse/AMQ-2881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Phil Pickett updated AMQ-2881:
------------------------------

    Attachment: activemq.diffs
                jetty.xml.diffs

> ACTIVEMQ_HOME and ACTIVEMQ_BASE appear not to be set correctly in scripts
> -------------------------------------------------------------------------
>
>                 Key: AMQ-2881
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2881
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.4.0
>            Reporter: Phil Pickett
>            Priority: Minor
>         Attachments: activemq, activemq.diffs, jetty.xml, jetty.xml.diffs
>
>
> 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 $ACTIVEMQ_BASE.
> 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 jetty-realm.properties
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.


Mime
View raw message