Repository: servicemix Updated Branches: refs/heads/servicemix-5.1.x 5472152f1 -> dea9db004
SM-2267: Provide working configuration for activemq-web-console (cherry picked from commit 3618da3fb96ee5c3c1586eb6cc8422147646a353) Project: http://git-wip-us.apache.org/repos/asf/servicemix/repo Commit: http://git-wip-us.apache.org/repos/asf/servicemix/commit/dea9db00 Tree: http://git-wip-us.apache.org/repos/asf/servicemix/tree/dea9db00 Diff: http://git-wip-us.apache.org/repos/asf/servicemix/diff/dea9db00 Branch: refs/heads/servicemix-5.1.x Commit: dea9db00452b0b6cbfceed7cee03725100f39103 Parents: 5472152 Author: Wim Verreydt <[email protected]> Authored: Mon May 5 10:00:20 2014 +0200 Committer: Gert Vanthienen <[email protected]> Committed: Wed May 14 11:10:34 2014 +0200 ---------------------------------------------------------------------- .../etc/org.apache.activemq.webconsole.cfg | 23 ++++++++++++++++++++ .../src/main/resources/etc/system.properties | 6 +---- 2 files changed, 24 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/servicemix/blob/dea9db00/assembly/src/main/resources/etc/org.apache.activemq.webconsole.cfg ---------------------------------------------------------------------- diff --git a/assembly/src/main/resources/etc/org.apache.activemq.webconsole.cfg b/assembly/src/main/resources/etc/org.apache.activemq.webconsole.cfg new file mode 100644 index 0000000..16e4adc --- /dev/null +++ b/assembly/src/main/resources/etc/org.apache.activemq.webconsole.cfg @@ -0,0 +1,23 @@ +## --------------------------------------------------------------------------- +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You under the Apache License, Version 2.0 +## (the "License"); you may not use this file except in compliance with +## the License. You may obtain a copy of the License at +## +## http://www.apache.org/licenses/LICENSE-2.0 +## +## Unless required by applicable law or agreed to in writing, software +## distributed under the License is distributed on an "AS IS" BASIS, +## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +## See the License for the specific language governing permissions and +## limitations under the License. +## --------------------------------------------------------------------------- + +webconsole.jms.url=${activemq.url} +webconsole.jmx.url=service:jmx:rmi:///jndi/rmi://localhost:1099/karaf-${karaf.name} +webconsole.jmx.user=smx +webconsole.jmx.password=smx +webconsole.jms.user=smx +webconsole.jms.password=smx \ No newline at end of file http://git-wip-us.apache.org/repos/asf/servicemix/blob/dea9db00/assembly/src/main/resources/etc/system.properties ---------------------------------------------------------------------- diff --git a/assembly/src/main/resources/etc/system.properties b/assembly/src/main/resources/etc/system.properties index d0f5e07..9e77cc0 100644 --- a/assembly/src/main/resources/etc/system.properties +++ b/assembly/src/main/resources/etc/system.properties @@ -114,11 +114,7 @@ activemq.jmx.password=smx # # Activemq Webconsole configuration # -webconsole.type=properties -webconsole.jms.url=${activemq.url} -webconsole.jmx.url=service:jmx:rmi:///jndi/rmi://localhost:1099/karaf-${karaf.name} -webconsole.jmx.user=smx -webconsole.jmx.password=smx +# This configuration moved to org.apache.activemq.webconsole.cfg javax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
