Artemis ActiveMQ docker cant login to web-console

0

I'm starting the latest artemis activemq dockerimage via docker-compose:

version: "3"
services:
  artemis:
    image: vromero/activemq-artemis:2.6.4-alpine
    environment:
    - ARTEMIS_USERNAME=admin
    - ARTEMIS_PASSWORD=admin
    ports:
      - "8161:8161"
      - "61616:61616"
      - "5445:5445"
      - "5674:5672"
      - "1883:1883"
      - "61613:61613"
    volumes:
    - "./volumes/data/:/var/lib/artemis/data"
    - "./volumes/etc/:/var/lib/artemis/etc"
    - "./volumes/etc-override/:/var/lib/artemis/etc-override"
    - "./volumes/lock/:/var/lib/artemis/lock"
    - "./volumes/opt/:/opt/jmx-exporter/etc-override"
    restart: always

seems working, log output:

artemis_1  | 2019-04-15 09:21:53,966 INFO  [org.apache.activemq.artemis.integration.bootstrap] AMQ101000: Starting ActiveMQ Artemis Server
artemis_1  | 2019-04-15 09:21:54,048 INFO  [org.apache.activemq.artemis.core.server] AMQ221000: live Message Broker is starting with configuration Broker Configuration (clustered=false,journalDirectory=data/journal,bindingsDirectory=data/bindings,largeMessagesDirectory=data/large-messages,pagingDirectory=data/paging)
artemis_1  | 2019-04-15 09:21:54,081 INFO  [org.apache.activemq.artemis.core.server] AMQ221012: Using AIO Journal
artemis_1  | 2019-04-15 09:21:54,145 INFO  [org.apache.activemq.artemis.core.server] AMQ221057: Global Max Size is being adjusted to 1/2 of the JVM max size (-Xmx). being defined as 4,203,741,184
artemis_1  | 2019-04-15 09:21:54,170 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-server]. Adding protocol support for: CORE
artemis_1  | 2019-04-15 09:21:54,170 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-amqp-protocol]. Adding protocol support for: AMQP
artemis_1  | 2019-04-15 09:21:54,170 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-hornetq-protocol]. Adding protocol support for: HORNETQ
artemis_1  | 2019-04-15 09:21:54,171 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-mqtt-protocol]. Adding protocol support for: MQTT
artemis_1  | 2019-04-15 09:21:54,171 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-openwire-protocol]. Adding protocol support for: OPENWIRE
artemis_1  | 2019-04-15 09:21:54,171 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-stomp-protocol]. Adding protocol support for: STOMP
artemis_1  | 2019-04-15 09:21:54,253 INFO  [org.apache.activemq.artemis.core.server] AMQ221034: Waiting indefinitely to obtain live lock
artemis_1  | 2019-04-15 09:21:54,254 INFO  [org.apache.activemq.artemis.core.server] AMQ221035: Live Server Obtained live lock
artemis_1  | 2019-04-15 09:21:54,480 INFO  [org.apache.activemq.artemis.core.server] AMQ221080: Deploying address DLQ supporting [ANYCAST]
artemis_1  | 2019-04-15 09:21:54,481 INFO  [org.apache.activemq.artemis.core.server] AMQ221003: Deploying ANYCAST queue DLQ on address DLQ
artemis_1  | 2019-04-15 09:21:54,481 INFO  [org.apache.activemq.artemis.core.server] AMQ221080: Deploying address ExpiryQueue supporting [ANYCAST]
artemis_1  | 2019-04-15 09:21:54,481 INFO  [org.apache.activemq.artemis.core.server] AMQ221003: Deploying ANYCAST queue ExpiryQueue on address ExpiryQueue
artemis_1  | 2019-04-15 09:21:54,783 INFO  [org.apache.activemq.artemis.core.server] AMQ221020: Started EPOLL Acceptor at 0.0.0.0:61616 for protocols [CORE,MQTT,AMQP,STOMP,HORNETQ,OPENWIRE]
artemis_1  | 2019-04-15 09:21:54,801 INFO  [org.apache.activemq.artemis.core.server] AMQ221020: Started EPOLL Acceptor at 0.0.0.0:5445 for protocols [HORNETQ,STOMP]
artemis_1  | 2019-04-15 09:21:54,803 INFO  [org.apache.activemq.artemis.core.server] AMQ221020: Started EPOLL Acceptor at 0.0.0.0:5672 for protocols [AMQP]
artemis_1  | 2019-04-15 09:21:54,805 INFO  [org.apache.activemq.artemis.core.server] AMQ221020: Started EPOLL Acceptor at 0.0.0.0:1883 for protocols [MQTT]
artemis_1  | 2019-04-15 09:21:54,824 INFO  [org.apache.activemq.artemis.core.server] AMQ221020: Started EPOLL Acceptor at 0.0.0.0:61613 for protocols [STOMP]
artemis_1  | 2019-04-15 09:21:54,826 INFO  [org.apache.activemq.artemis.core.server] AMQ221007: Server is now live
artemis_1  | 2019-04-15 09:21:54,826 INFO  [org.apache.activemq.artemis.core.server] AMQ221001: Apache ActiveMQ Artemis Message Broker version 2.6.4 [964593d138c6, nodeID=793e7607-5f5b-11e9-9911-0242c0a81002] 
artemis_1  | 2019-04-15 09:21:55,098 INFO  [org.apache.activemq.hawtio.branding.PluginContextListener] Initialized activemq-branding plugin
artemis_1  | 2019-04-15 09:21:55,157 INFO  [org.apache.activemq.hawtio.plugin.PluginContextListener] Initialized artemis-plugin plugin
artemis_1  | 2019-04-15 09:21:55,704 INFO  [io.hawt.HawtioContextListener] Initialising hawtio services
artemis_1  | 2019-04-15 09:21:55,721 INFO  [io.hawt.system.ConfigManager] Configuration will be discovered via system properties
artemis_1  | 2019-04-15 09:21:55,723 INFO  [io.hawt.jmx.JmxTreeWatcher] Welcome to hawtio 1.5.5 : http://hawt.io/ : Don't cha wish your console was hawt like me? ;-)
artemis_1  | 2019-04-15 09:21:55,726 INFO  [io.hawt.jmx.UploadManager] Using file upload directory: /var/lib/artemis/tmp/uploads
artemis_1  | 2019-04-15 09:21:55,742 INFO  [io.hawt.web.AuthenticationFilter] Starting hawtio authentication filter, JAAS realm: "activemq" authorized role(s): "amq" role principal classes: "org.apache.activemq.artemis.spi.core.security.jaas.RolePrincipal"
artemis_1  | 2019-04-15 09:21:55,771 INFO  [io.hawt.web.JolokiaConfiguredAgentServlet] Jolokia overridden property: [key=policyLocation, value=file:/var/lib/artemis/etc/jolokia-access.xml]
artemis_1  | 2019-04-15 09:21:55,795 INFO  [io.hawt.web.RBACMBeanInvoker] Using MBean [hawtio:type=security,area=jmx,rank=0,name=HawtioDummyJMXSecurity] for role based access control
artemis_1  | 2019-04-15 09:21:55,915 INFO  [io.hawt.system.ProxyWhitelist] Initial proxy whitelist: [localhost, 127.0.0.1, 192.168.16.2, 964593d138c6]
artemis_1  | 2019-04-15 09:21:56,141 INFO  [org.apache.activemq.artemis] AMQ241001: HTTP Server started at http://0.0.0.0:8161
artemis_1  | 2019-04-15 09:21:56,141 INFO  [org.apache.activemq.artemis] AMQ241002: Artemis Jolokia REST API available at http://0.0.0.0:8161/console/jolokia
artemis_1  | 2019-04-15 09:21:56,141 INFO  [org.apache.activemq.artemis] AMQ241004: Artemis Console available at http://0.0.0.0:8161/console
artemis_1  | 2019-04-15 09:21:59,687 WARN  [org.apache.activemq.artemis.core.server] AMQ222210: Storage usage is beyond max-disk-usage. System will start blocking producers.

now i try to login into the webconsole under serveraddress.domain.com:8161/console/login with admin:admin:

i get no login failure, but i get redirected back to the login page, log output:

artemis_1  | 2019-04-15 09:22:11,792 INFO  [io.hawt.web.keycloak.KeycloakServlet] Keycloak integration is disabled
artemis_1  | 2019-04-15 09:22:21,219 INFO  [io.hawt.web.LoginServlet] hawtio login is using 1800 sec. HttpSession timeout

if i try with a wrong user like test:test output is following:

artemis_1  | 2019-04-15 09:25:29,494 WARN  [io.hawt.system.Authenticator] Login failed due User does not exist: test

elytscha

Posted 2019-04-15T09:28:20.643

Reputation: 1

No answers