activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spruitt <>
Subject RE: basic security tag in bootstrap.xml
Date Tue, 19 Jan 2016 18:49:31 GMT
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
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at org.apache.activemq.artemis.maven.ArtemisClientPlugin.doExecute(
        at org.apache.activemq.artemis.maven.ArtemisAbstractPlugin.execute(
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(

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] []
Sent: Tuesday, January 19, 2016 12:30 PM
To: Pruitt, Byron S
Subject: Re: basic security tag in bootstrap.xml

Looking at your

Your bootstrap.xml looks fine.  The jaas-security domain is "activemq" (which is defined in

Your login.config looks fine.  It's using the default configuration.

However, your and 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.,, 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.


----- 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

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

If you reply to this email, your message will be added to the discussion below:
To unsubscribe from basic security tag in bootstrap.xml, click here<>.

View this message in context:
Sent from the ActiveMQ - User mailing list archive at
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message