You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by da...@apache.org on 2015/04/25 16:20:01 UTC

[2/2] activemq git commit: Jolokia discovery url should be configured to correct path if people enable that.

Jolokia discovery url should be configured to correct path if people enable that.


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/5dd39f90
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/5dd39f90
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/5dd39f90

Branch: refs/heads/master
Commit: 5dd39f906278e5beeafb879482735dd8fc7fb156
Parents: 5446389
Author: Claus Ibsen <cl...@gmail.com>
Authored: Sat Apr 25 16:16:26 2015 +0200
Committer: Claus Ibsen <cl...@gmail.com>
Committed: Sat Apr 25 16:21:40 2015 +0200

----------------------------------------------------------------------
 assembly/src/release/webapps/api/WEB-INF/web.xml | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/5dd39f90/assembly/src/release/webapps/api/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/assembly/src/release/webapps/api/WEB-INF/web.xml b/assembly/src/release/webapps/api/WEB-INF/web.xml
index b961742..d887383 100644
--- a/assembly/src/release/webapps/api/WEB-INF/web.xml
+++ b/assembly/src/release/webapps/api/WEB-INF/web.xml
@@ -43,6 +43,10 @@
         <init-param>
           <param-name>discoveryEnabled</param-name>
           <param-value>false</param-value>
+        </init-param>      
+        <init-param>
+          <param-name>discoveryAgentUrl</param-name>
+          <param-value>http://${host}:8161/api/jolokia</param-value>
         </init-param>
         <init-param>
           <param-name>agentDescription</param-name>