Can you provide a set of steps or something that I can use to reproduce what you're seeing? I'm not real sure how to help beyond that. Based on what you're saying I would expect it to work but there's obviously some other factor involved. At the very least could you zip you configuration up and provide it to me?
This should really be pretty straight-forward. Justin ----- Original Message ----- From: "spruitt" <steve.pru...@hp.com> To: users@activemq.apache.org Sent: Tuesday, January 19, 2016 12:49:31 PM Subject: RE: basic security tag in bootstrap.xml Ok, I have something really wrong with my setup. I copied all the server0/etc files to my installed broker. Started the broker and then executed mvn -PnoServer verify and got this. Default user cannot get a connection. Details: AMQ119031: Unable to validate user User bill failed to connect. Details: AMQ119031: Unable to validate user [ERROR] java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.apache.activemq.artemis.maven.ArtemisClientPlugin.doExecute(ArtemisClientPlugin.java:61) at org.apache.activemq.artemis.maven.ArtemisAbstractPlugin.execute(ArtemisAbstractPlugin.java:75) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106) : This runs ok: mvn verify I copy the server0/etc folder to my installed broker and run mvn -PnoServer verify, start the broker service, and I get unable to validate user??? From: Justin Bertram-2 [via ActiveMQ] [mailto:ml-node+s2283324n4706170...@n4.nabble.com] Sent: Tuesday, January 19, 2016 12:30 PM To: Pruitt, Byron S Subject: Re: basic security tag in bootstrap.xml Looking at your etc.zip... Your bootstrap.xml looks fine. The jaas-security domain is "activemq" (which is defined in login.config). Your login.config looks fine. It's using the default configuration. However, your artemis-users.properties and artemis-roles.properties don't contain the users/roles that the example expects to be there. That's why you get an authentication failure for the user "bill" when you run the example against your broker (e.g. using 'mvn -PnoServer verify'). Also, your broker.xml doesn't have the security-setting configuration that the example expects so even if you added the right users and roles to the properties files you'd still get failures when running the example against your broker. You can take a look at each of these files from the example (i.e. artemis-users.properties, artemis-roles.properties, and broker.xml) to see what you need to change in your configuration to run the example successfully against your broker. Just to be clear, the output you shared console2.txt is what I would expect from . It looks to me like everything is working properly given the circumstances. Justin ----- Original Message ----- From: "spruitt" <[hidden email]</user/SendEmail.jtp?type=node&node=4706170&i=0>> To: [hidden email]</user/SendEmail.jtp?type=node&node=4706170&i=1> Sent: Tuesday, January 19, 2016 9:38:57 AM Subject: Re: basic security tag in bootstrap.xml yeah. i messed up. Here is the console when not starting broker manually. Also, here are the config files I have been working with on my broker. Hope this makes sense. console2.txt <http://activemq.2283324.n4.nabble.com/file/n4706166/console2.txt> etc.zip <http://activemq.2283324.n4.nabble.com/file/n4706166/etc.zip> -- View this message in context: http://activemq.2283324.n4.nabble.com/basic-security-tag-in-bootstrap-xml-tp4705994p4706166.html Sent from the ActiveMQ - User mailing list archive at Nabble.com. ________________________________ If you reply to this email, your message will be added to the discussion below: http://activemq.2283324.n4.nabble.com/basic-security-tag-in-bootstrap-xml-tp4705994p4706170.html To unsubscribe from basic security tag in bootstrap.xml, click here<http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4705994&code=c3RldmUucHJ1aXR0QGhwLmNvbXw0NzA1OTk0fDU0MzU1MTgyNg==>. NAML<http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> -- View this message in context: http://activemq.2283324.n4.nabble.com/basic-security-tag-in-bootstrap-xml-tp4705994p4706184.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.