The “amq” camel component in Fabric failed to connect to ActiveMQ broker with invalid credentials

Solution In Progress - Updated -

Issue

I tried following steps but I was getting a SecurityException

  1. unzipped JBoss Fuse 6.2 distribution package;
  2. changed the admin password in etc/users.properties;
  3. started fuse;
  4. created fabric with command "fabric:create --wait-for-provisioning";
  5. added mq-client profile to the container with the property file "org.fusesource.mq.fabric.cf.properties" and a property:

    password=<changed admin password>
    
  6. however we were getting following error in the broker logs:

    2015-11-18 07:51:53,466 | INFO  | xxxxx] Task-17 | TransportConnection              | 156 - org.apache.activemq.activemq-osgi - 5.11.0.redhat-620133 | Stopping    tcp://10.1.2.10:39344 because Failed with SecurityException: User name [admin] or password is invalid.
    

Exact steps worked fine in JBoss Fuse 6.1.

Environment

  • JBoss Fuse
    • 6.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content