You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Jason Sherman (JIRA)" <ji...@apache.org> on 2014/05/10 23:56:14 UTC
[jira] [Updated] (AMQ-5177) ActiveMQ Web Console URL log message
hard coded to localhost
[ https://issues.apache.org/jira/browse/AMQ-5177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Sherman updated AMQ-5177:
-------------------------------
Affects Version/s: 5.9.1
Fix Version/s: (was: 5.9.1)
> ActiveMQ Web Console URL log message hard coded to localhost
> ------------------------------------------------------------
>
> Key: AMQ-5177
> URL: https://issues.apache.org/jira/browse/AMQ-5177
> Project: ActiveMQ
> Issue Type: Bug
> Affects Versions: 5.9.1
> Environment: Apache ActiveMQ 5.9.1
> OSX
> Reporter: Jason Sherman
> Priority: Minor
>
> The following message is logged even if the Jetty Server Host is set to use a specific IP:
> {code}
> INFO | ActiveMQ WebConsole available at http://localhost:8161/
> {code}
> Looking at org/apache/activemq/web/WebConsoleStarter.java, the URL is hard coded to localhost:
> {code}
> // for embedded console log what port it uses
> if ("embedded".equals(webconsoleType)) {
> // show the url for the web consoles / main page so people can spot it
> String port = System.getProperty("jetty.port");
> if (port != null) {
> LOG.info("ActiveMQ WebConsole available at http://localhost:{}/", port);
> }
> }
> {code}
> The log message doesn't account for users setting the Jetty host property.
--
This message was sent by Atlassian JIRA
(v6.2#6252)