[ 
https://issues.apache.org/jira/browse/ARTEMIS-2907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Trauzzi closed ARTEMIS-2907.
--------------------------------------
    Resolution: Invalid

After continued research, I was able to determine that I was overriding the 
`JAVA_ARGS` without reinstating the defaults!

Once I added `-XX:+PrintClassHistogram -XX:+UseG1GC -XX:+UseStringDeduplication 
-Xms512M -Xmx2G -Dhawtio.realm=activemq -Dhawtio.offline=true 
-Dhawtio.rolePrincipalClasses=org.apache.activemq.artemis.spi.core.security.jaas.RolePrincipal
 -Djolokia.policyLocation=${ARTEMIS_INSTANCE_ETC_URI}jolokia-access.xml` back, 
I was able to authenticate.

Onward!

> Login failed due to: No LoginModules configured for karaf
> ---------------------------------------------------------
>
>                 Key: ARTEMIS-2907
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2907
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: 2.15.0
>            Reporter: Alexander Trauzzi
>            Priority: Major
>         Attachments: Container Build.tar.xz, image-2020-09-18-15-10-09-848.png
>
>
> I'm running ActiveMQ Artemis inside of a Docker container with a fairly 
> vanilla setup.  I've attached a copy of the files I use to build the image.
> Unfortunately when I go to log in, I end up getting the following:
> !image-2020-09-18-15-10-09-848.png!
> When I check the Artemis logs of the running container, this is what I see: 
> ```
> 2020-09-18 20:04:22,026 WARN [io.hawt.system.Authenticator] Login failed due 
> to: No LoginModules configured for karaf
> ```
> Beyond simply ensuring I have the right credentials and thoroughly flushing 
> out my environment, I've gone through some troubleshooting on slack with the 
> ever-helpful Justin Bertram.  Unfortunately we haven't been able to narrow 
> anything down.  This is however preventing me from being able to log in to 
> the admin UI.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to