Failed to create an activeMQ network in FMC 7.1
luismcv Jan 5, 2013 11:48 PMHi,
I've been trying to follow Mark Brooks' example at http://fusebyexample.blogspot.co.uk/2012/06/using-fuse-management-console-and-fuse.html to set up a network of activemq brokers in FMC 7.1.
These are the commands I've used (I have added the --jmx-user and --jmx-password parameters to the mq-create commands, as authentication is now enforced in 7.1):
fabric:container-create-child FuseManagementConsole MQ-East 2
fabric:container-create-child FuseManagementConsole MQ-West 2
mq-create --jmx-user juser --jmx-password jpass --group mq-east --networks mq-west --assign-container MQ-East1,MQ-East2 mq-east-broker
mq-create --jmx-user juser --jmx-password jpass --group mq-west --networks mq-east --assign-container MQ-West1,MQ-West2 mq-west-broker
But the brokers can't still connect to each other because of missing zookeeper's credentials:
2013-01-06 04:16:23,114 | WARN | .100:56317@55807 | TransportConnection | ivemq.broker.TransportConnection 718 | 113 - org.apache.activemq.activemq-core - 5.7.0.fuse-71-047 | Failed to add Connection ID:gobo.local-55806-1357444034760-64:1, reason: java.lang.SecurityException: User name or password is invalid.
2013-01-06 04:16:23,114 | WARN | .100:56317@55807 | Service | ivemq.broker.TransportConnection 273 | 113 - org.apache.activemq.activemq-core - 5.7.0.fuse-71-047 | Async error occurred: java.lang.SecurityException: User name or password is invalid.
java.lang.SecurityException: User name or password is invalid.
at org.apache.activemq.security.JaasAuthenticationBroker.addConnection(JaasAuthenticationBroker.java:83)[113:org.apache.activemq.activemq-core:5.7.0.fuse-71-047]
at org.apache.activemq.broker.MutableBrokerFilter.addConnection(MutableBrokerFilter.java:91)[113:org.apache.activemq.activemq-core:5.7.0.fuse-71-047]
.
.
Caused by: javax.security.auth.login.FailedLoginException: user name is null
at org.fusesource.fabric.jaas.ZookeeperLoginModule.login(ZookeeperLoginModule.java:110)[66:org.fusesource.fabric.fabric-jaas:7.1.0.fuse-047]
at org.apache.karaf.jaas.boot.ProxyLoginModule.login(ProxyLoginModule.java:83)[karaf-jaas-boot.jar:]
.
.
Any idea of what am I still missing regarding the new security changes?
Thanks!