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:58:40 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13993899#comment-13993899 ]
Jason Sherman commented on AMQ-5177:
------------------------------------
I have submitted a pull request for this patch:
https://github.com/apache/activemq/pull/23
Diff:
https://github.com/apache/activemq/pull/23.diff
> 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)