Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connect to Artemis without "manage"? #63

Closed
sorin-costea opened this issue Oct 9, 2019 · 2 comments
Closed

connect to Artemis without "manage"? #63

sorin-costea opened this issue Oct 9, 2019 · 2 comments

Comments

@sorin-costea
Copy link

sorin-costea commented Oct 9, 2019

Specifications

  • JMSToolBox version: 5.5.0
  • OS (Name, version, 32/64bits): Win x64
  • Q provider (kind, version) : Artemix 1.x

Expected Behavior

I don't need to list all existing queues or create ones or anything else management-related, just browse a known existing queue (and if I'm lucky even send/consume from it).

Actual Behavior

If my user doesn't have "manage" right I cannot even connect, getting the ActiveMQSecurityException that my user doesn't have permission='CREATE_NON_DURABLE_QUEUE' for queue jms.tempqueue...

Steps to Reproduce the Problem

  1. create Artemis session following the steps in Wiki section 2.6
  2. no idea what a broker.xml file is, never seen one
  3. I configure the user roles in standalone-full.xml of my EAP 7.1.5, but without a "manage" role
  4. bang connection fails with AMQ22913
@titou10titou10
Copy link
Contributor

As explained (maybe badly) in the wiki, the change in"broker.xml"is not for instance of Artemis 1.x embedded with JBoss . For those, there is a dedicated session farther on the page, as you've seen it

As said in the WiKi "the user that will connect to the messaging engine must have the "manage" permission." so it is If you not set this permission, JMSToolBox will not work

The current whole philosphy around JMSToolBox is that the list of destinations if fetched from the Queue Manger itself and not from an aribtrary list set somewhere

@sorin-costea
Copy link
Author

Got it, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants