The “amq” camel component in Fabric failed to connect to ActiveMQ broker with invalid credentials
Issue
I tried following steps but I was getting a SecurityException
- unzipped JBoss Fuse 6.2 distribution package;
- changed the admin password in etc/users.properties;
- started fuse;
- created fabric with command "fabric:create --wait-for-provisioning";
-
added mq-client profile to the container with the property file "org.fusesource.mq.fabric.cf.properties" and a property:
password=<changed admin password> -
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
