jalzuritro
jalzuritro

Reputation: 11

Change default password on ActiveMQ Web console (ServiceMix version)

I 've changed the JAAS karaf default password in /etc/users.properties for security reason.

The modification works when I access to Karaf Web Console (8181/system/console/bundles) but not in ActiveMQ Web Console (8181/activemqweb/index.jsp) which keep karaf:karaf credentials).

I don't find any other configuration file for ActiveMQ web console.

My jetty.xml file uses JAASLoginService with karaf realm (default configuration).

Tools versions :

Upvotes: 0

Views: 2466

Answers (1)

Ясир
Ясир

Reputation: 155

I think you have to change connectionFactory bean in your webapps/admin/WEB-INF/webconsole-embeded.xml to something like this:

<bean id="connectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory">
    <property name="brokerURL" value="vm://localhost"/>
    <property name="userName" value="system"/>
    <property name="password" value="manager"/>
</bean>

Please Refer to Web Console section of ActiveMQ Security Page.


You can also take a look at Web Console Page if you wish to change credentials of the whole Web Console Server.

Upvotes: 1

Related Questions