Affects Version/s: 7.0.0
Fix Version/s: 7.0.3-fuse-xx-xx
Similar Issues:Show 9 results
ENTMQ-230 ER1: org.apache.activemq.ActiveMQConnectionFactory.createConnection(username, password) doesn't throw javax.jms.JMSSecurityException with bad credentials ENTMQ-885 Connection.start sometimes fails to connect when master container is destroyed when using replicated levelDB and fabric discovery. ENTMQ-693 Most Stomp tests hang or fail on AIX ENTMQ-699 Broker and clients hang ENTMQ-704 AMQP jms client hung; WARN Transport Connection failed: java.io.IOException ENTMQ-876 Network connector with masterslave: connection does not fail over when network connectivity is interrupted ENTMQ-228 ER1: JMS TCKs violations: session.getTransacted() throws NPE when called if connection is closed ENTMQ-893 Failover with fabric discovery takes more than 1 minute to reconnect after master amq container was killed when replicated levelDB used ENTMQ-822 MQTT connections hangs during creation on HP-UX and Solaris10
Start with a clean instance of Fuse MQ, create an ensemble and create one or many child containers:
All containers provisioned successfully. ps aux | grep java shows all 4 containers running happily.
Now try to connect to one of them, e.g. child1. If you are lucky, you will get a "Bad username/password" message (can't remember the exact one now).
Otherwise, the system may hang indefinitely, or you may get a StackOverflowError:
In the logs you can see that the authentication is failing:
No username, passwords, etc. have been changed. All configuration is the default one.
As per the users.properties config file, the credentials should be karaf/karaf. They do not work, not even via direct SSH:
This does work on Fuse ESB 7 (full package). Trying to spot differences, I see the following JAAS bundles in Fuse ESB:
And the following in Fuse MQ:
Only one JaasRealm service is exported in Fuse ESB:
(exported by bundle Apache Karaf :: JAAS :: Modules (28))
Whereas two are shown on Fuse MQ:
(exported by bundles Apache Karaf :: JAAS :: Modules (26) & Fuse Fabric :: JAAS (144)).
In conclusion, the Fuse Fabric :: JAAS bundle seems to be interfering with the SSH authentication.