activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spruitt <>
Subject Client failed to authenticate
Date Wed, 13 Jan 2016 14:18:07 GMT
I am trying to get Artemis running and having a security not obvious.  This
is my first pass at Artemis and I installed it on windows as a service.  I
have checked the,, and
broker.xml files and all seems ok as per the user credentials to create a
session.  I'm trying to get the example working.

Code snippet is: 

ConnectionFactory connectionFactory = new
connection = connectionFactory.createConnection("admin", "xxx");
Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);

I am executing from the IntelliJ debugger and after trying to create a
session the console has this snippet:

Connected to the target VM, address: '', transport: 'socket'
[AmqpProvider:(1):[amqp://localhost:5672]] INFO
org.apache.qpid.jms.sasl.SaslMechanismFinder - Best match for SASL auth was:
Exception in thread "main" javax.jms.JMSSecurityException: Client failed to
authenticate at

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message