From 760ee2677a55131a09306ddda9bcb058beab6ab3 Mon Sep 17 00:00:00 2001 From: Daniel Kulp Date: Thu, 2 Jan 2014 11:11:06 -0500 Subject: [PATCH] Remove hawt.io console and restore back to just the old console --- assembly/pom.xml | 6 --- assembly/src/main/descriptors/common-bin.xml | 18 --------- assembly/src/release/bin/activemq | 2 +- assembly/src/release/bin/activemq-admin | 2 +- assembly/src/release/bin/activemq-admin.bat | 2 +- assembly/src/release/bin/activemq.bat | 2 +- .../src/release/bin/linux-x86-32/wrapper.conf | 5 +-- .../src/release/bin/linux-x86-64/wrapper.conf | 5 +-- assembly/src/release/bin/macosx/wrapper.conf | 5 +-- assembly/src/release/bin/win32/wrapper.conf | 5 +-- assembly/src/release/bin/win64/wrapper.conf | 5 +-- assembly/src/release/conf/activemq.xml | 6 --- assembly/src/release/conf/jetty.xml | 17 -------- .../src/release/docs/WebConsole-README.txt | 39 ++----------------- .../src/release/examples/conf/jetty-demo.xml | 17 -------- assembly/src/release/webapps/index.html | 3 +- pom.xml | 1 - 17 files changed, 14 insertions(+), 126 deletions(-) diff --git a/assembly/pom.xml b/assembly/pom.xml index 68f1ee8b82..42b6c1a4ae 100755 --- a/assembly/pom.xml +++ b/assembly/pom.xml @@ -410,12 +410,6 @@ json-simple 1.1.1 - - io.hawt - hawtio-web - ${hawtio-version} - war - org.fusesource.insight insight-log-core diff --git a/assembly/src/main/descriptors/common-bin.xml b/assembly/src/main/descriptors/common-bin.xml index 9de62dda2e..4eb73813be 100644 --- a/assembly/src/main/descriptors/common-bin.xml +++ b/assembly/src/main/descriptors/common-bin.xml @@ -100,22 +100,6 @@ - - /webapps/hawtio - true - - - WEB-INF/lib/slf4j-api-*.jar - WEB-INF/lib/log4j-*.jar - WEB-INF/lib/commons-codec-*.jar - WEB-INF/lib/org.eclipse.jgit-*.jar - - - runtime - - io.hawt:hawtio-web:war - - @@ -278,8 +262,6 @@ org.jolokia:jolokia-core com.googlecode.json-simple:json-simple - - org.ops4j.pax.url:pax-url-aether diff --git a/assembly/src/release/bin/activemq b/assembly/src/release/bin/activemq index d99d112fe9..ed34126c48 100755 --- a/assembly/src/release/bin/activemq +++ b/assembly/src/release/bin/activemq @@ -250,7 +250,7 @@ if [ "$CONFIG_LOAD" != "yes" ];then fi if [ -z "$ACTIVEMQ_OPTS" ] ; then - ACTIVEMQ_OPTS="$ACTIVEMQ_OPTS_MEMORY -Djava.util.logging.config.file=logging.properties -Dhawtio.realm=activemq -Dhawtio.role=admins -Dhawtio.rolePrincipalClasses=org.apache.activemq.jaas.GroupPrincipal -Djava.security.auth.login.config=$ACTIVEMQ_CONF/login.config" + ACTIVEMQ_OPTS="$ACTIVEMQ_OPTS_MEMORY -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=$ACTIVEMQ_CONF/login.config" fi # create configuration if requested diff --git a/assembly/src/release/bin/activemq-admin b/assembly/src/release/bin/activemq-admin index 193c181732..19c7749b2a 100644 --- a/assembly/src/release/bin/activemq-admin +++ b/assembly/src/release/bin/activemq-admin @@ -148,7 +148,7 @@ ACTIVEMQ_CLASSPATH="${ACTIVEMQ_CONF};"$ACTIVEMQ_CLASSPATH if [ ""$1 = "start" ] ; then if [ -z "$ACTIVEMQ_OPTS" ] ; then - ACTIVEMQ_OPTS="-Xmx1G -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Djava.util.logging.config.file=logging.properties -Dhawtio.realm=activemq -Dhawtio.role=admins -Dhawtio.rolePrincipalClasses=org.apache.activemq.jaas.GroupPrincipal -Djava.security.auth.login.config=$ACTIVEMQ_CONF/login.config" + ACTIVEMQ_OPTS="-Xmx1G -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=$ACTIVEMQ_CONF/login.config" fi if [ -z "$SUNJMX" ] ; then diff --git a/assembly/src/release/bin/activemq-admin.bat b/assembly/src/release/bin/activemq-admin.bat index c36f7c591a..6327826111 100644 --- a/assembly/src/release/bin/activemq-admin.bat +++ b/assembly/src/release/bin/activemq-admin.bat @@ -80,7 +80,7 @@ if "%ACTIVEMQ_TMP%" == "" set ACTIVEMQ_TMP=%ACTIVEMQ_DATA%\tmp if /i not "%1" == "start" goto debugOpts -if "%ACTIVEMQ_OPTS%" == "" set ACTIVEMQ_OPTS=-Xmx1G -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Djava.util.logging.config.file=logging.properties -Dhawtio.realm=activemq -Dhawtio.role=admins -Dhawtio.rolePrincipalClasses=org.apache.activemq.jaas.GroupPrincipal -Djava.security.auth.login.config=%ACTIVEMQ_CONF%\login.config +if "%ACTIVEMQ_OPTS%" == "" set ACTIVEMQ_OPTS=-Xmx1G -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=%ACTIVEMQ_CONF%\login.config if "%SUNJMX%" == "" set SUNJMX=-Dcom.sun.management.jmxremote REM set SUNJMX=-Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false diff --git a/assembly/src/release/bin/activemq.bat b/assembly/src/release/bin/activemq.bat index 7bbcc0e663..276bfabcee 100755 --- a/assembly/src/release/bin/activemq.bat +++ b/assembly/src/release/bin/activemq.bat @@ -77,7 +77,7 @@ if "%ACTIVEMQ_DATA%" == "" set ACTIVEMQ_DATA=%ACTIVEMQ_HOME%\data if "%ACTIVEMQ_TMP%" == "" set ACTIVEMQ_TMP=%ACTIVEMQ_DATA%\tmp -if "%ACTIVEMQ_OPTS%" == "" set ACTIVEMQ_OPTS=-Xms1G -Xmx1G -Djava.util.logging.config.file=logging.properties -Dhawtio.realm=activemq -Dhawtio.role=admins -Dhawtio.rolePrincipalClasses=org.apache.activemq.jaas.GroupPrincipal -Djava.security.auth.login.config=%ACTIVEMQ_CONF%\login.config +if "%ACTIVEMQ_OPTS%" == "" set ACTIVEMQ_OPTS=-Xms1G -Xmx1G -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=%ACTIVEMQ_CONF%\login.config if "%SUNJMX%" == "" set SUNJMX=-Dcom.sun.management.jmxremote REM set SUNJMX=-Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false diff --git a/assembly/src/release/bin/linux-x86-32/wrapper.conf b/assembly/src/release/bin/linux-x86-32/wrapper.conf index 4f5b3286c1..fab6690aab 100644 --- a/assembly/src/release/bin/linux-x86-32/wrapper.conf +++ b/assembly/src/release/bin/linux-x86-32/wrapper.conf @@ -56,10 +56,7 @@ wrapper.java.additional.8=-Dorg.apache.activemq.UseDedicatedTaskRunner=true wrapper.java.additional.9=-Djava.util.logging.config.file=logging.properties wrapper.java.additional.10=-Dactivemq.conf=%ACTIVEMQ_CONF% wrapper.java.additional.11=-Dactivemq.data=%ACTIVEMQ_DATA% -wrapper.java.additional.12=-Dhawtio.realm=activemq -wrapper.java.additional.13=-Dhawtio.role=admins -wrapper.java.additional.14=-Dhawtio.rolePrincipalClasses=org.apache.activemq.jaas.GroupPrincipal -wrapper.java.additional.15=-Djava.security.auth.login.config=%ACTIVEMQ_CONF%/login.config +wrapper.java.additional.12=-Djava.security.auth.login.config=%ACTIVEMQ_CONF%/login.config # Uncomment to enable jmx #wrapper.java.additional.n=-Dcom.sun.management.jmxremote.port=1616 diff --git a/assembly/src/release/bin/linux-x86-64/wrapper.conf b/assembly/src/release/bin/linux-x86-64/wrapper.conf index 927921eb04..7e081e6c89 100644 --- a/assembly/src/release/bin/linux-x86-64/wrapper.conf +++ b/assembly/src/release/bin/linux-x86-64/wrapper.conf @@ -56,10 +56,7 @@ wrapper.java.additional.8=-Dorg.apache.activemq.UseDedicatedTaskRunner=true wrapper.java.additional.9=-Djava.util.logging.config.file=logging.properties wrapper.java.additional.10=-Dactivemq.conf=%ACTIVEMQ_CONF% wrapper.java.additional.11=-Dactivemq.data=%ACTIVEMQ_DATA% -wrapper.java.additional.12=-Dhawtio.realm=activemq -wrapper.java.additional.13=-Dhawtio.role=admins -wrapper.java.additional.14=-Dhawtio.rolePrincipalClasses=org.apache.activemq.jaas.GroupPrincipal -wrapper.java.additional.15=-Djava.security.auth.login.config=%ACTIVEMQ_CONF%/login.config +wrapper.java.additional.12=-Djava.security.auth.login.config=%ACTIVEMQ_CONF%/login.config # Uncomment to enable jmx #wrapper.java.additional.n=-Dcom.sun.management.jmxremote.port=1616 diff --git a/assembly/src/release/bin/macosx/wrapper.conf b/assembly/src/release/bin/macosx/wrapper.conf index 87ff567a09..9bc18428f3 100644 --- a/assembly/src/release/bin/macosx/wrapper.conf +++ b/assembly/src/release/bin/macosx/wrapper.conf @@ -56,10 +56,7 @@ wrapper.java.additional.8=-Dorg.apache.activemq.UseDedicatedTaskRunner=true wrapper.java.additional.9=-Djava.util.logging.config.file=logging.properties wrapper.java.additional.10=-Dactivemq.conf=%ACTIVEMQ_CONF% wrapper.java.additional.11=-Dactivemq.data=%ACTIVEMQ_DATA% -wrapper.java.additional.12=-Dhawtio.realm=activemq -wrapper.java.additional.13=-Dhawtio.role=admins -wrapper.java.additional.14=-Dhawtio.rolePrincipalClasses=org.apache.activemq.jaas.GroupPrincipal -wrapper.java.additional.15=-Djava.security.auth.login.config=%ACTIVEMQ_CONF%/login.config +wrapper.java.additional.12=-Djava.security.auth.login.config=%ACTIVEMQ_CONF%/login.config # Uncomment to enable jmx #wrapper.java.additional.n=-Dcom.sun.management.jmxremote.port=1616 diff --git a/assembly/src/release/bin/win32/wrapper.conf b/assembly/src/release/bin/win32/wrapper.conf index 45ade30c95..7e90df1bbe 100644 --- a/assembly/src/release/bin/win32/wrapper.conf +++ b/assembly/src/release/bin/win32/wrapper.conf @@ -56,10 +56,7 @@ wrapper.java.additional.8=-Dorg.apache.activemq.UseDedicatedTaskRunner=true wrapper.java.additional.9=-Djava.util.logging.config.file=logging.properties wrapper.java.additional.10=-Dactivemq.conf="%ACTIVEMQ_CONF%" wrapper.java.additional.11=-Dactivemq.data="%ACTIVEMQ_DATA%" -wrapper.java.additional.12=-Dhawtio.realm=activemq -wrapper.java.additional.13=-Dhawtio.role=admins -wrapper.java.additional.14=-Dhawtio.rolePrincipalClasses=org.apache.activemq.jaas.GroupPrincipal -wrapper.java.additional.15=-Djava.security.auth.login.config="%ACTIVEMQ_CONF%/login.config" +wrapper.java.additional.12=-Djava.security.auth.login.config="%ACTIVEMQ_CONF%/login.config" # Uncomment to enable remote jmx #wrapper.java.additional.n=-Dcom.sun.management.jmxremote.port=1616 diff --git a/assembly/src/release/bin/win64/wrapper.conf b/assembly/src/release/bin/win64/wrapper.conf index 35c00b59cb..8c5bf474b1 100644 --- a/assembly/src/release/bin/win64/wrapper.conf +++ b/assembly/src/release/bin/win64/wrapper.conf @@ -56,10 +56,7 @@ wrapper.java.additional.8=-Dorg.apache.activemq.UseDedicatedTaskRunner=true wrapper.java.additional.9=-Djava.util.logging.config.file=logging.properties wrapper.java.additional.10=-Dactivemq.conf="%ACTIVEMQ_CONF%" wrapper.java.additional.11=-Dactivemq.data="%ACTIVEMQ_DATA%" -wrapper.java.additional.12=-Dhawtio.realm=activemq -wrapper.java.additional.13=-Dhawtio.role=admins -wrapper.java.additional.14=-Dhawtio.rolePrincipalClasses=org.apache.activemq.jaas.GroupPrincipal -wrapper.java.additional.15=-Djava.security.auth.login.config="%ACTIVEMQ_CONF%/login.config" +wrapper.java.additional.12=-Djava.security.auth.login.config="%ACTIVEMQ_CONF%/login.config" # Uncomment to enable remote jmx #wrapper.java.additional.n=-Dcom.sun.management.jmxremote.port=1616 diff --git a/assembly/src/release/conf/activemq.xml b/assembly/src/release/conf/activemq.xml index e09f474ffc..9f32bd90f5 100755 --- a/assembly/src/release/conf/activemq.xml +++ b/assembly/src/release/conf/activemq.xml @@ -28,12 +28,6 @@ - - - - diff --git a/assembly/src/release/conf/jetty.xml b/assembly/src/release/conf/jetty.xml index 9bb0343929..de326b9e3e 100644 --- a/assembly/src/release/conf/jetty.xml +++ b/assembly/src/release/conf/jetty.xml @@ -60,11 +60,6 @@ - - - - - @@ -99,17 +94,6 @@ - - - - - - - - - - - @@ -144,7 +128,6 @@ - diff --git a/assembly/src/release/docs/WebConsole-README.txt b/assembly/src/release/docs/WebConsole-README.txt index caa9c9f949..1e3cf7b1b2 100644 --- a/assembly/src/release/docs/WebConsole-README.txt +++ b/assembly/src/release/docs/WebConsole-README.txt @@ -1,28 +1,17 @@ Deploying the ActiveMQ-WebConsole ================================= -From ActiveMQ 5.9 onwards ActiveMQ ships with two web consoles: -- new console using hawtio -- old console - -The old console is deprecated and replaced with a new modern console based on hawtio (http://hawt.io) - -The old console is accessible at its usual location at: +From ActiveMQ 5.9 onwards ActiveMQ ships with a web console which +is accessible at its usual location at: http://localhost:8161/admin/ -And the new console is located at: - http://localhost:8161/hawtio/ - In the default configuration ActiveMQ automatically starts the web console in the -same VM as the broker. The console is accessibly under http://localhost:8161/hawtio/. +same VM as the broker. The console is accessibly under http://localhost:8161/admin/. The broker may ask for credentials to login the web console the first time. The default username and password is admin/admin. -In the new console using hawtio, you can configure the default users, in the -conf/users.properties, and conf/groups.properties files. - -In the old web console you can configure the default users, in the +In the web console you can configure the default users, in the conf/jetty-real.properties file. And in the conf/jetty.xml file you can configure to disable login for the web consoles. @@ -71,26 +60,6 @@ You can then use web:list to see the context-path the console is accessible, that is usually: http://localhost:8181/activemqweb -To install the new hawtio web console you install it as follows: - -If you use Karaf 2.3.3 or better: - - features:chooseurl hawtio - -For older releases you have to use addurl: - - features:addurl mvn:io.hawt/hawtio-karaf/1.2-M19/xml/features - -And then you can install hawtio simply by: - - features:install hawtio - -You can then use web:list to see the context-path the console is accessible, -that is usually: http://localhost:8181/hawtio - -See also: http://hawt.io/getstarted/index.html for details how to install hawtio. - - Master/Slave monitoring ----------------------- To configure the web console to monitor a master/slave configuration configure the jms/jmx diff --git a/assembly/src/release/examples/conf/jetty-demo.xml b/assembly/src/release/examples/conf/jetty-demo.xml index cf8d970d88..f407187a93 100644 --- a/assembly/src/release/examples/conf/jetty-demo.xml +++ b/assembly/src/release/examples/conf/jetty-demo.xml @@ -60,11 +60,6 @@ - - - - - @@ -104,17 +99,6 @@ - - - - - - - - - - - @@ -149,7 +133,6 @@ - diff --git a/assembly/src/release/webapps/index.html b/assembly/src/release/webapps/index.html index 8094416015..b64e5db60f 100644 --- a/assembly/src/release/webapps/index.html +++ b/assembly/src/release/webapps/index.html @@ -81,8 +81,7 @@

What do you want to do next?

diff --git a/pom.xml b/pom.xml index dedf65cf17..47c13d9f23 100755 --- a/pom.xml +++ b/pom.xml @@ -65,7 +65,6 @@ 1.0.0 1.9 1.18 - 1.2.1 0.1.8 1.8.0.12 4.2.5