activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Bertram <jbert...@redhat.com>
Subject Re: User: null does not have permission='CREATE_DURABLE_QUEUE' on address $sys.mqtt.queue.qos2.JavaSample
Date Tue, 01 Aug 2017 13:32:29 GMT
This is a bug that was fixed via ARTEMIS-990.  The fix is in versions 1.5.5
and 2.0.0.


Justin

[1] https://issues.apache.org/jira/browse/ARTEMIS-990

On Tue, Aug 1, 2017 at 8:29 AM, aragoubi <aymen.rag@gmail.com> wrote:

> I am trying to connect a simple paho client to artemis wildfly broker. I am
> getting this when I try to connect my client:
> WARN [org.apache.activemq.artemis.core.protocol.mqtt] (Thread-2
> (activemq-netty-threads-164875171)) Error processing Control Packet,
> Disconnecting ClientAMQ119032: User: null does not have
> permission='CREATE_DURABLE_QUEUE' on address
> $sys.mqtt.queue.qos2.JavaSample.
>
> I added an application user to wildfly, I gave him 'guest' as role, and in
> my standalone-full.xml, I found this:
>
> <security-setting name="#">
>    <role name="guest" send="true" consume="true"
> create-non-durable-queue="true" delete-non-durable-queue="true"/>
> </security-setting>
>
> So I tried to connect my client with username and password (created as an
> application user in wildfly), but it doesn't work and can not connect to
> the
> broker.
>
> Could someone help me with this ?
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.
> nabble.com/User-null-does-not-have-permission-CREATE-
> DURABLE-QUEUE-on-address-sys-mqtt-queue-qos2-JavaSample-tp4729120.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message