Effective October 27, 2012, online and email support for FuseSource products will move to Red Hat support channels. For more information, please see the JIRA Migration to Red Hat FAQ.
As of October 27th, please open all new issues in the Red Hat Customer Portal .
Issue Details (XML | Word | Printable)

Key: MB-764
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Adrian Trenaman
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
FUSE Message Broker

'activemq' script should complain if an instance name does not begin with 'activemq-instance-'

Created: 02/Nov/10 10:43 PM   Updated: 03/Jan/11 09:34 PM
Component/s: broker
Affects Version/s: 5.4.1-fuse-00-00
Fix Version/s: None


 Description  « Hide
When you create a new instance using 'activemq create <instance-name>', but don't begin the <instance-name> with 'activemq-instance-', then the script will create the instance anyway BUT WILL READ THE WRONG ACTIVEMQ.XML file on startup! It will read $ACTIVEMQ_HOME/conf/activemq.xml, not $ACTIVEMQ_BASE/conf/activemq.xml.

If the intent is that all instances should be prefixed with 'activemq-instance-', then we should not allow users to accidentally create incorrect instances. Alternatively, if we are going to allow users to create instances using their own naming schemes, then we should ensure that we read the correct configuration file.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Adrian Trenaman added a comment - 12/Nov/10 10:13 AM
Not directly - but this whole new instance thing with ActiveMQ is going to start causing us pain. The concept is GREAT - the problem is that there have been a load of bugs in the scripts and non-obvious things (like this) that make it really difficult to use!