diff --git a/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/bootstrap-web-settings.txt b/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/bootstrap-web-settings.txt index feb179c271..e863c1a97e 100644 --- a/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/bootstrap-web-settings.txt +++ b/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/bootstrap-web-settings.txt @@ -1,6 +1,5 @@ - diff --git a/artemis-distribution/pom.xml b/artemis-distribution/pom.xml index bd93cadba3..19aef752d0 100644 --- a/artemis-distribution/pom.xml +++ b/artemis-distribution/pom.xml @@ -164,11 +164,6 @@ org.apache.tomcat tomcat-servlet-api - - org.jolokia - jolokia-war - war - diff --git a/artemis-distribution/src/main/assembly/dep.xml b/artemis-distribution/src/main/assembly/dep.xml index 3c16d8ca97..057d8c80ac 100644 --- a/artemis-distribution/src/main/assembly/dep.xml +++ b/artemis-distribution/src/main/assembly/dep.xml @@ -135,14 +135,6 @@ web/api true - - - org.jolokia:jolokia-war:war - - web - false - jolokia.war - diff --git a/artemis-web/src/main/java/org/apache/activemq/artemis/component/WebServerComponent.java b/artemis-web/src/main/java/org/apache/activemq/artemis/component/WebServerComponent.java index be21198c52..9964c719c9 100644 --- a/artemis-web/src/main/java/org/apache/activemq/artemis/component/WebServerComponent.java +++ b/artemis-web/src/main/java/org/apache/activemq/artemis/component/WebServerComponent.java @@ -54,7 +54,6 @@ public class WebServerComponent implements ExternalComponent { private HandlerList handlers; private WebServerDTO webServerConfig; private URI uri; - private String jolokiaUrl; private String consoleUrl; private List webContexts; private ServerConnector connector; @@ -103,9 +102,6 @@ public class WebServerComponent implements ExternalComponent { for (AppDTO app : webServerConfig.apps) { WebAppContext webContext = deployWar(app.url, app.war, warDir); webContexts.add(webContext); - if (app.war.startsWith("jolokia")) { - jolokiaUrl = webServerConfig.bind + "/" + app.url; - } if (app.war.startsWith("console")) { consoleUrl = webServerConfig.bind + "/" + app.url; } @@ -137,10 +133,9 @@ public class WebServerComponent implements ExternalComponent { } server.start(); ActiveMQWebLogger.LOGGER.webserverStarted(webServerConfig.bind); - if (jolokiaUrl != null) { - ActiveMQWebLogger.LOGGER.jolokiaAvailable(jolokiaUrl); - } + if (consoleUrl != null) { + ActiveMQWebLogger.LOGGER.jolokiaAvailable(consoleUrl + "/jolokia"); ActiveMQWebLogger.LOGGER.consoleAvailable(consoleUrl); } } diff --git a/docs/user-manual/en/management.md b/docs/user-manual/en/management.md index 34a2f4583f..8b17d8795a 100644 --- a/docs/user-manual/en/management.md +++ b/docs/user-manual/en/management.md @@ -471,7 +471,7 @@ HTTP agent deployed as a Web Application. Jolokia is a remote JMX-over-HTTP bridge that exposes MBeans. For a full guide as to how to use it refer to [Jolokia Documentation](http://www.jolokia.org/documentation.html), however a simple example to query the broker's version would -be to use a browser and go to the URL [http://username:password@localhost:8161/jolokia/read/org.apache.activemq.artemis:broker="0.0.0.0"/Version](). +be to use a browser and go to the URL [http://username:password@localhost:8161/console/jolokia/read/org.apache.activemq.artemis:broker="0.0.0.0"/Version](). This would give you back something like the following: diff --git a/docs/user-manual/en/security.md b/docs/user-manual/en/security.md index 1ddd5ccd33..b14aee626e 100644 --- a/docs/user-manual/en/security.md +++ b/docs/user-manual/en/security.md @@ -748,7 +748,7 @@ Artemis comes with a web console that allows user to browse Artemis documentatio web access is plain HTTP. It is configured in `bootstrap.xml`: - + Alternatively you can edit the above configuration to enable secure access using HTTPS protocol. e.g.: diff --git a/pom.xml b/pom.xml index dbab986e8a..70daf3c865 100644 --- a/pom.xml +++ b/pom.xml @@ -95,7 +95,6 @@ 0.9.5 1.0-alpha-1 1 - 1.3.7 1.11 2.0.3.Final 1.0.3.GA @@ -636,13 +635,6 @@ tomcat-servlet-api 8.5.5 - - org.jolokia - jolokia-war - war - ${jolokia.version} - -