Встроенная веб-консоль ActiveMQ Artemis загружается неправильноJAVA

Программисты JAVA общаются здесь
Ответить Пред. темаСлед. тема
Anonymous
 Встроенная веб-консоль ActiveMQ Artemis загружается неправильно

Сообщение Anonymous »


I am running an embedded instance of ActiveMQ Artemis and have been running into some trouble getting the web console to behave correctly.

In order to get the console to run I followed these instructions.

This successfully starts the console and I can login based on the username and password I set in my login.config file. However, when navigating through the console I noticed I am missing many of the navigation bars on the top of the console (queues, session, producers, etc.) as you can see in the image below and I'm not entirely sure why.


Изображение


An additional problem that might help diagnose what is going on include the fact that just going to consoleHost:8161 pulls up the below result but consoleHost:8161/console correctly redirects to the login page. However, these might be unrelated problems
Изображение


Looking through the JavaScript files that are included in the decompressed artemis-plugin.war directory (specifically \tmp\webapps\artemis-plugin.war\webapp\plugin\js\components\navigation.js) I noticed that the inclusion of these are based on the MBean server so my leading theory is that instead of setting the MBean server to ManagementFactory.getPlatformMBeanServer() I should be setting it to something more specific to Artemis but I'm not sure what that would be.

Comparing the console logs of a locally running, standalone Artemis instance that correctly displays the console and my embedded implementation the only difference in initialization that stands out is that the working logs have the line:

[hawtio-jmx-rbac] Using mbean hawtio:type=security,area=jmx,name=ArtemisJMXSecurity for client-side role based access control and my broken implementation instead has the line:

[hawtio-jmx-rbac] Using mbean hawtio:type=security,area=jmx,rank=0,name=HawtioDummyJMXSecurity for client-side role based access control Not sure if any of this helps but any pointers to what could be wrong would be greatly appreciated as I have been scratching my head for awhile trying to get the console to work correctly on my embedded artemis instance.


Источник: https://stackoverflow.com/questions/780 ... ncorrectly
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

Вернуться в «JAVA»