Blame SOURCES/fix_bundle_loading.patch

aa165c
# HG changeset patch
aa165c
# Parent 5d0c366a0fbe751f2185d3cdda3aae293da98611
aa165c
diff --git a/dev/multi-module-plugin-archetype/src/main/resources/archetype-resources/distribution/thermostat-plugin.xml b/dev/multi-module-plugin-archetype/src/main/resources/archetype-resources/distribution/thermostat-plugin.xml
aa165c
--- a/dev/multi-module-plugin-archetype/src/main/resources/archetype-resources/distribution/thermostat-plugin.xml
aa165c
+++ b/dev/multi-module-plugin-archetype/src/main/resources/archetype-resources/distribution/thermostat-plugin.xml
aa165c
@@ -39,6 +39,7 @@
aa165c
         <bundle><symbolic-name>org.apache.commons.logging</symbolic-name><version>${symbol_dollar}{commons-logging.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.httpcomponents.httpcore</symbolic-name><version>${symbol_dollar}{httpcomponents.core.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.httpcomponents.httpclient</symbolic-name><version>${symbol_dollar}{httpcomponents.client.version}</version></bundle>
aa165c
+        <bundle><symbolic-name>org.apache.httpcomponents.httpmime</symbolic-name><version>${httpcomponents.mime.version}</version></bundle>
aa165c
         <bundle><symbolic-name>${osgi.compendium.bundle.symbolic-name}</symbolic-name><version>${osgi.compendium.osgi-version}</version></bundle>
aa165c
         <bundle><symbolic-name>com.google.gson</symbolic-name><version>${symbol_dollar}{gson.version}</version></bundle>
aa165c
       </bundles>
aa165c
diff --git a/dev/schema-info-command/distribution/thermostat-plugin.xml b/dev/schema-info-command/distribution/thermostat-plugin.xml
aa165c
--- a/dev/schema-info-command/distribution/thermostat-plugin.xml
aa165c
+++ b/dev/schema-info-command/distribution/thermostat-plugin.xml
aa165c
@@ -62,6 +62,7 @@
aa165c
         <bundle><symbolic-name>com.redhat.thermostat.web.client</symbolic-name><version>${project.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.httpcomponents.httpcore</symbolic-name><version>${httpcomponents.core.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.httpcomponents.httpclient</symbolic-name><version>${httpcomponents.client.version}</version></bundle>
aa165c
+        <bundle><symbolic-name>org.apache.httpcomponents.httpmime</symbolic-name><version>${httpcomponents.mime.version}</version></bundle>
aa165c
         <bundle><symbolic-name>${osgi.compendium.bundle.symbolic-name}</symbolic-name><version>${osgi.compendium.osgi-version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.mongodb.mongo-java-driver</symbolic-name><version>${mongo-driver.osgi-version}</version></bundle>
aa165c
       </bundles>
aa165c
diff --git a/distribution/config/commands/agent-info.properties b/distribution/config/commands/agent-info.properties
aa165c
--- a/distribution/config/commands/agent-info.properties
aa165c
+++ b/distribution/config/commands/agent-info.properties
aa165c
@@ -4,6 +4,7 @@
aa165c
           com.redhat.thermostat.web.client=${project.version}, \
aa165c
           org.apache.httpcomponents.httpcore=${httpcomponents.core.version}, \
aa165c
           org.apache.httpcomponents.httpclient=${httpcomponents.client.version}, \
aa165c
+          org.apache.httpcomponents.httpmime=${httpcomponents.mime.version}, \
aa165c
           ${osgi.compendium.bundle.symbolic-name}=${osgi.compendium.osgi-version}, \
aa165c
           com.google.gson=${gson.version}, \
aa165c
           org.mongodb.mongo-java-driver=${mongo-driver.osgi-version}, \
3aaed5
diff --git a/distribution/config/commands/agent.properties b/distribution/config/commands/agent.properties
3aaed5
--- a/distribution/config/commands/agent.properties
3aaed5
+++ b/distribution/config/commands/agent.properties
3aaed5
@@ -3,6 +3,7 @@
3aaed5
           com.redhat.thermostat.web.client=${project.version}, \
3aaed5
           org.apache.httpcomponents.httpcore=${httpcomponents.core.version}, \
3aaed5
           org.apache.httpcomponents.httpclient=${httpcomponents.client.version}, \
3aaed5
+          org.apache.httpcomponents.httpmime=${httpcomponents.mime.version}, \
aa165c
           ${osgi.compendium.bundle.symbolic-name}=${osgi.compendium.osgi-version}, \
3aaed5
           com.google.gson=${gson.version}, \
3aaed5
           com.redhat.thermostat.process=${project.version}, \
3aaed5
diff --git a/distribution/config/commands/clean-data.properties b/distribution/config/commands/clean-data.properties
3aaed5
--- a/distribution/config/commands/clean-data.properties
3aaed5
+++ b/distribution/config/commands/clean-data.properties
3aaed5
@@ -4,6 +4,7 @@
3aaed5
           com.redhat.thermostat.web.client=${project.version}, \
3aaed5
           org.apache.httpcomponents.httpcore=${httpcomponents.core.version}, \
3aaed5
           org.apache.httpcomponents.httpclient=${httpcomponents.client.version}, \
3aaed5
+          org.apache.httpcomponents.httpmime=${httpcomponents.mime.version}, \
aa165c
           ${osgi.compendium.bundle.symbolic-name}=${osgi.compendium.osgi-version}, \
3aaed5
           com.google.gson=${gson.version}, \
3aaed5
           org.mongodb.mongo-java-driver=${mongo-driver.osgi-version}, \
3aaed5
diff --git a/distribution/config/commands/connect.properties b/distribution/config/commands/connect.properties
3aaed5
--- a/distribution/config/commands/connect.properties
3aaed5
+++ b/distribution/config/commands/connect.properties
3aaed5
@@ -10,6 +10,7 @@
3aaed5
           org.apache.commons.logging=${commons-logging.version}, \
3aaed5
           org.apache.httpcomponents.httpcore=${httpcomponents.core.version}, \
3aaed5
           org.apache.httpcomponents.httpclient=${httpcomponents.client.version}, \
3aaed5
+          org.apache.httpcomponents.httpmime=${httpcomponents.mime.version}, \
aa165c
           ${osgi.compendium.bundle.symbolic-name}=${osgi.compendium.osgi-version}, \
3aaed5
           com.google.gson=${gson.version}
3aaed5
 
3aaed5
diff --git a/distribution/config/commands/gui.properties b/distribution/config/commands/gui.properties
3aaed5
--- a/distribution/config/commands/gui.properties
3aaed5
+++ b/distribution/config/commands/gui.properties
aa165c
@@ -19,8 +19,11 @@
3aaed5
           com.redhat.thermostat.process=${project.version}, \
3aaed5
           org.apache.httpcomponents.httpcore=${httpcomponents.core.version}, \
3aaed5
           org.apache.httpcomponents.httpclient=${httpcomponents.client.version}, \
3aaed5
+          org.apache.httpcomponents.httpmime=${httpcomponents.mime.version}, \
aa165c
           ${osgi.compendium.bundle.symbolic-name}=${osgi.compendium.osgi-version}, \
aa165c
-          org.jboss.netty=${netty.version}
3aaed5
+          org.jboss.netty=${netty.version}, \
3aaed5
+          org.jfree.jcommon=${jcommon.osgi.version} , \
3aaed5
+          org.jfree.jfreechart=${jfreechart.osgi.version}
3aaed5
 
3aaed5
 description = launches the GUI client
3aaed5
 
aa165c
diff --git a/distribution/config/commands/list-agents.properties b/distribution/config/commands/list-agents.properties
aa165c
--- a/distribution/config/commands/list-agents.properties
aa165c
+++ b/distribution/config/commands/list-agents.properties
aa165c
@@ -4,6 +4,7 @@
aa165c
           com.redhat.thermostat.web.client=${project.version}, \
aa165c
           org.apache.httpcomponents.httpcore=${httpcomponents.core.version}, \
aa165c
           org.apache.httpcomponents.httpclient=${httpcomponents.client.version}, \
aa165c
+          org.apache.httpcomponents.httpmime=${httpcomponents.mime.version}, \
aa165c
           ${osgi.compendium.bundle.symbolic-name}=${osgi.compendium.osgi-version}, \
aa165c
           com.google.gson=${gson.version}, \
aa165c
           org.mongodb.mongo-java-driver=${mongo-driver.osgi-version}, \
3aaed5
diff --git a/distribution/config/commands/list-vms.properties b/distribution/config/commands/list-vms.properties
3aaed5
--- a/distribution/config/commands/list-vms.properties
3aaed5
+++ b/distribution/config/commands/list-vms.properties
3aaed5
@@ -4,6 +4,7 @@
3aaed5
           com.redhat.thermostat.web.client=${project.version}, \
3aaed5
           org.apache.httpcomponents.httpcore=${httpcomponents.core.version}, \
3aaed5
           org.apache.httpcomponents.httpclient=${httpcomponents.client.version}, \
3aaed5
+          org.apache.httpcomponents.httpmime=${httpcomponents.mime.version}, \
aa165c
           ${osgi.compendium.bundle.symbolic-name}=${osgi.compendium.osgi-version}, \
3aaed5
           com.google.gson=${gson.version}, \
3aaed5
           org.mongodb.mongo-java-driver=${mongo-driver.osgi-version}, \
3aaed5
diff --git a/distribution/config/commands/ping.properties b/distribution/config/commands/ping.properties
3aaed5
--- a/distribution/config/commands/ping.properties
3aaed5
+++ b/distribution/config/commands/ping.properties
3aaed5
@@ -5,6 +5,7 @@
3aaed5
           com.redhat.thermostat.web.client=${project.version}, \
3aaed5
           org.apache.httpcomponents.httpcore=${httpcomponents.core.version}, \
3aaed5
           org.apache.httpcomponents.httpclient=${httpcomponents.client.version}, \
3aaed5
+          org.apache.httpcomponents.httpmime=${httpcomponents.mime.version}, \
aa165c
           ${osgi.compendium.bundle.symbolic-name}=${osgi.compendium.osgi-version}, \
3aaed5
           com.google.gson=${gson.version}, \
3aaed5
           org.mongodb.mongo-java-driver=${mongo-driver.osgi-version}, \
3aaed5
diff --git a/distribution/config/commands/vm-info.properties b/distribution/config/commands/vm-info.properties
3aaed5
--- a/distribution/config/commands/vm-info.properties
3aaed5
+++ b/distribution/config/commands/vm-info.properties
3aaed5
@@ -4,6 +4,7 @@
3aaed5
           com.redhat.thermostat.web.client=${project.version}, \
3aaed5
           org.apache.httpcomponents.httpcore=${httpcomponents.core.version}, \
3aaed5
           org.apache.httpcomponents.httpclient=${httpcomponents.client.version}, \
3aaed5
+          org.apache.httpcomponents.httpmime=${httpcomponents.mime.version}, \
aa165c
           ${osgi.compendium.bundle.symbolic-name}=${osgi.compendium.osgi-version}, \
3aaed5
           com.google.gson=${gson.version}, \
3aaed5
           org.mongodb.mongo-java-driver=${mongo-driver.osgi-version}, \
3aaed5
diff --git a/distribution/config/commands/vm-stat.properties b/distribution/config/commands/vm-stat.properties
3aaed5
--- a/distribution/config/commands/vm-stat.properties
3aaed5
+++ b/distribution/config/commands/vm-stat.properties
aa165c
@@ -5,6 +5,7 @@
aa165c
           com.redhat.thermostat.client.core=${project.version}, \
3aaed5
           org.apache.httpcomponents.httpcore=${httpcomponents.core.version}, \
3aaed5
           org.apache.httpcomponents.httpclient=${httpcomponents.client.version}, \
3aaed5
+          org.apache.httpcomponents.httpmime=${httpcomponents.mime.version}, \
aa165c
           ${osgi.compendium.bundle.symbolic-name}=${osgi.compendium.osgi-version}, \
3aaed5
           com.google.gson=${gson.version}, \
3aaed5
           org.mongodb.mongo-java-driver=${mongo-driver.osgi-version}, \
3aaed5
diff --git a/distribution/config/osgi-export.properties b/distribution/config/osgi-export.properties
3aaed5
--- a/distribution/config/osgi-export.properties
3aaed5
+++ b/distribution/config/osgi-export.properties
3aaed5
@@ -32,20 +32,6 @@
3aaed5
 # library, but you are not obligated to do so.  If you do not wish
3aaed5
 # to do so, delete this exception statement from your version.
3aaed5
 
3aaed5
-# OSGi public API
3aaed5
-org.jfree.chart
3aaed5
-org.jfree.chart.axis
3aaed5
-org.jfree.chart.event
3aaed5
-org.jfree.chart.labels
3aaed5
-org.jfree.chart.plot
3aaed5
-org.jfree.chart.panel
3aaed5
-org.jfree.chart.renderer.xy
3aaed5
-org.jfree.data
3aaed5
-org.jfree.data.general
3aaed5
-org.jfree.data.time
3aaed5
-org.jfree.data.xy
3aaed5
-org.jfree.ui
3aaed5
-org.jfree.data.gantt
3aaed5
 sun.swing
3aaed5
 sun.swing.table
3aaed5
 
aa165c
@@ -61,11 +47,4 @@
3aaed5
 sun.jvmstat.monitor
3aaed5
 sun.jvmstat.monitor.event
aa165c
 
3aaed5
-# webservice command depends on jetty-jndi, which requires
3aaed5
-# javax.transaction and javax.mail. We don't use jndi stuff,
3aaed5
-# so we add those "fake" exports here.
3aaed5
-# javax.transaction is provided by the JVM, javax.mail is not
3aaed5
-# available.
3aaed5
-javax.transaction="1.1"
3aaed5
-javax.mail="1.4"
aa165c
 
3aaed5
diff --git a/distribution/scripts/thermostat b/distribution/scripts/thermostat
3aaed5
--- a/distribution/scripts/thermostat
3aaed5
+++ b/distribution/scripts/thermostat
aa165c
@@ -56,13 +56,10 @@
3aaed5
 
3aaed5
 # This is the minimal boot classpath thermostat needs. Other dependencies
3aaed5
 # will get started by the OSGi framework once that's up.
3aaed5
-SERVICE_CLASSPATH="${THERMOSTAT_LIBS}/org.apache.felix.framework-@felix.framework.version@.jar"
3aaed5
+SERVICE_CLASSPATH="${THERMOSTAT_LIBS}/org.apache.felix.framework.jar"
3aaed5
 SERVICE_CLASSPATH="${SERVICE_CLASSPATH}:${THERMOSTAT_LIBS}/thermostat-launcher-@project.version@.jar"
3aaed5
 SERVICE_CLASSPATH="${SERVICE_CLASSPATH}:${THERMOSTAT_LIBS}/thermostat-main-@project.version@.jar"
3aaed5
 SERVICE_CLASSPATH="${SERVICE_CLASSPATH}:${THERMOSTAT_LIBS}/thermostat-shared-config-@project.version@.jar"
3aaed5
-# FIXME: Remove once jfreechart is a real OSGi bundle upstream
3aaed5
-SERVICE_CLASSPATH="${SERVICE_CLASSPATH}:${THERMOSTAT_LIBS}/jfreechart-@jfreechart.version@.jar"
3aaed5
-SERVICE_CLASSPATH="${SERVICE_CLASSPATH}:${THERMOSTAT_LIBS}/jcommon-@jcommon.version@.jar"
aa165c
 # Needed to parse web.xml files without network connection See PR 2029.
aa165c
 SERVICE_CLASSPATH="${SERVICE_CLASSPATH}:${THERMOSTAT_HOME}/plugins/embedded-web-endpoint/jetty-schemas-@jetty-schemas.version@.jar"
3aaed5
 SERVICE_CLASSPATH="${TOOLS_JAR}:${SERVICE_CLASSPATH}"
aa165c
diff --git a/killvm/distribution/thermostat-plugin.xml b/killvm/distribution/thermostat-plugin.xml
aa165c
--- a/killvm/distribution/thermostat-plugin.xml
aa165c
+++ b/killvm/distribution/thermostat-plugin.xml
aa165c
@@ -80,6 +80,7 @@
aa165c
         <bundle><symbolic-name>org.apache.commons.logging</symbolic-name><version>${commons-logging.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.httpcomponents.httpcore</symbolic-name><version>${httpcomponents.core.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.httpcomponents.httpclient</symbolic-name><version>${httpcomponents.client.version}</version></bundle>
aa165c
+        <bundle><symbolic-name>org.apache.httpcomponents.httpmime</symbolic-name><version>${httpcomponents.mime.version}</version></bundle>
aa165c
         <bundle><symbolic-name>${osgi.compendium.bundle.symbolic-name}</symbolic-name><version>${osgi.compendium.osgi-version}</version></bundle>
aa165c
         <bundle><symbolic-name>com.google.gson</symbolic-name><version>${gson.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.jboss.netty</symbolic-name><version>${netty.version}</version></bundle>
3aaed5
diff --git a/main/src/main/resources/com/redhat/thermostat/main/impl/bootstrapbundles.properties b/main/src/main/resources/com/redhat/thermostat/main/impl/bootstrapbundles.properties
3aaed5
--- a/main/src/main/resources/com/redhat/thermostat/main/impl/bootstrapbundles.properties
3aaed5
+++ b/main/src/main/resources/com/redhat/thermostat/main/impl/bootstrapbundles.properties
aa165c
@@ -4,5 +4,6 @@
3aaed5
         thermostat-common-core-${project.version}.jar, \
3aaed5
         thermostat-plugin-validator-${project.version}.jar, \
3aaed5
         thermostat-launcher-${project.version}.jar, \
3aaed5
-        jline-${jline.version}.jar, \
aa165c
-        commons-cli-${commons-cli.version}.jar
3aaed5
+        jline2.jar, \
3aaed5
+        jansi.jar, \
aa165c
+        commons-cli.jar
aa165c
diff --git a/storage-profile/distribution/thermostat-plugin.xml b/storage-profile/distribution/thermostat-plugin.xml
aa165c
--- a/storage-profile/distribution/thermostat-plugin.xml
aa165c
+++ b/storage-profile/distribution/thermostat-plugin.xml
aa165c
@@ -68,6 +68,7 @@
aa165c
         <bundle><symbolic-name>${osgi.compendium.bundle.symbolic-name}</symbolic-name><version>${osgi.compendium.osgi-version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.httpcomponents.httpcore</symbolic-name><version>${httpcomponents.core.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.httpcomponents.httpclient</symbolic-name><version>${httpcomponents.client.version}</version></bundle>
aa165c
+        <bundle><symbolic-name>org.apache.httpcomponents.httpmime</symbolic-name><version>${httpcomponents.mime.version}</version></bundle>
aa165c
         <bundle><symbolic-name>com.google.gson</symbolic-name><version>${gson.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.mongodb.mongo-java-driver</symbolic-name><version>${mongo-driver.osgi-version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.commons.beanutils</symbolic-name><version>${commons-beanutils.version}</version></bundle>
aa165c
diff --git a/vm-gc/distribution/thermostat-plugin.xml b/vm-gc/distribution/thermostat-plugin.xml
aa165c
--- a/vm-gc/distribution/thermostat-plugin.xml
aa165c
+++ b/vm-gc/distribution/thermostat-plugin.xml
aa165c
@@ -74,6 +74,7 @@
aa165c
         <bundle><symbolic-name>org.apache.commons.logging</symbolic-name><version>${commons-logging.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.httpcomponents.httpcore</symbolic-name><version>${httpcomponents.core.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.httpcomponents.httpclient</symbolic-name><version>${httpcomponents.client.version}</version></bundle>
aa165c
+        <bundle><symbolic-name>org.apache.httpcomponents.httpmime</symbolic-name><version>${httpcomponents.mime.version}</version></bundle>
aa165c
         <bundle><symbolic-name>${osgi.compendium.bundle.symbolic-name}</symbolic-name><version>${osgi.compendium.osgi-version}</version></bundle>
aa165c
         <bundle><symbolic-name>com.google.gson</symbolic-name><version>${gson.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.jboss.netty</symbolic-name><version>${netty.version}</version></bundle>
3aaed5
diff --git a/vm-heap-analysis/distribution/thermostat-plugin.xml b/vm-heap-analysis/distribution/thermostat-plugin.xml
3aaed5
--- a/vm-heap-analysis/distribution/thermostat-plugin.xml
3aaed5
+++ b/vm-heap-analysis/distribution/thermostat-plugin.xml
aa165c
@@ -86,9 +86,12 @@
3aaed5
         <bundle><symbolic-name>org.apache.commons.logging</symbolic-name><version>${commons-logging.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.apache.httpcomponents.httpcore</symbolic-name><version>${httpcomponents.core.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.apache.httpcomponents.httpclient</symbolic-name><version>${httpcomponents.client.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.apache.httpcomponents.httpmime</symbolic-name><version>${httpcomponents.mime.version}</version></bundle>
aa165c
         <bundle><symbolic-name>${osgi.compendium.bundle.symbolic-name}</symbolic-name><version>${osgi.compendium.osgi-version}</version></bundle>
3aaed5
         <bundle><symbolic-name>com.google.gson</symbolic-name><version>${gson.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.jboss.netty</symbolic-name><version>${netty.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.jfree.jcommon</symbolic-name><version>${jcommon.osgi.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.jfree.jfreechart</symbolic-name><version>${jfreechart.osgi.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.servicemix.bundles.lucene</symbolic-name><version>${lucene.osgi-version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.servicemix.bundles.lucene-analyzers-common</symbolic-name><version>${lucene.osgi-version}</version></bundle>
3aaed5
       </bundles>
aa165c
@@ -142,9 +145,12 @@
3aaed5
         <bundle><symbolic-name>org.apache.commons.logging</symbolic-name><version>${commons-logging.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.apache.httpcomponents.httpcore</symbolic-name><version>${httpcomponents.core.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.apache.httpcomponents.httpclient</symbolic-name><version>${httpcomponents.client.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.apache.httpcomponents.httpmime</symbolic-name><version>${httpcomponents.mime.version}</version></bundle>
aa165c
         <bundle><symbolic-name>${osgi.compendium.bundle.symbolic-name}</symbolic-name><version>${osgi.compendium.osgi-version}</version></bundle>
3aaed5
         <bundle><symbolic-name>com.google.gson</symbolic-name><version>${gson.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.jboss.netty</symbolic-name><version>${netty.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.jfree.jcommon</symbolic-name><version>${jcommon.osgi.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.jfree.jfreechart</symbolic-name><version>${jfreechart.osgi.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.servicemix.bundles.lucene</symbolic-name><version>${lucene.osgi-version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.servicemix.bundles.lucene-analyzers-common</symbolic-name><version>${lucene.osgi-version}</version></bundle>
3aaed5
       </bundles>
aa165c
@@ -201,9 +207,12 @@
3aaed5
         <bundle><symbolic-name>org.apache.commons.logging</symbolic-name><version>${commons-logging.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.apache.httpcomponents.httpcore</symbolic-name><version>${httpcomponents.core.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.apache.httpcomponents.httpclient</symbolic-name><version>${httpcomponents.client.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.apache.httpcomponents.httpmime</symbolic-name><version>${httpcomponents.mime.version}</version></bundle>
aa165c
         <bundle><symbolic-name>${osgi.compendium.bundle.symbolic-name}</symbolic-name><version>${osgi.compendium.osgi-version}</version></bundle>
3aaed5
         <bundle><symbolic-name>com.google.gson</symbolic-name><version>${gson.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.jboss.netty</symbolic-name><version>${netty.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.jfree.jcommon</symbolic-name><version>${jcommon.osgi.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.jfree.jfreechart</symbolic-name><version>${jfreechart.osgi.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.servicemix.bundles.lucene</symbolic-name><version>${lucene.osgi-version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.servicemix.bundles.lucene-analyzers-common</symbolic-name><version>${lucene.osgi-version}</version></bundle>
3aaed5
       </bundles>
aa165c
@@ -254,9 +263,12 @@
3aaed5
         <bundle><symbolic-name>org.apache.commons.logging</symbolic-name><version>${commons-logging.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.apache.httpcomponents.httpcore</symbolic-name><version>${httpcomponents.core.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.apache.httpcomponents.httpclient</symbolic-name><version>${httpcomponents.client.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.apache.httpcomponents.httpmime</symbolic-name><version>${httpcomponents.mime.version}</version></bundle>
aa165c
         <bundle><symbolic-name>${osgi.compendium.bundle.symbolic-name}</symbolic-name><version>${osgi.compendium.osgi-version}</version></bundle>
3aaed5
         <bundle><symbolic-name>com.google.gson</symbolic-name><version>${gson.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.jboss.netty</symbolic-name><version>${netty.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.jfree.jcommon</symbolic-name><version>${jcommon.osgi.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.jfree.jfreechart</symbolic-name><version>${jfreechart.osgi.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.servicemix.bundles.lucene</symbolic-name><version>${lucene.osgi-version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.servicemix.bundles.lucene-analyzers-common</symbolic-name><version>${lucene.osgi-version}</version></bundle>
3aaed5
       </bundles>
aa165c
@@ -307,9 +319,12 @@
3aaed5
         <bundle><symbolic-name>org.apache.commons.logging</symbolic-name><version>${commons-logging.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.apache.httpcomponents.httpcore</symbolic-name><version>${httpcomponents.core.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.apache.httpcomponents.httpclient</symbolic-name><version>${httpcomponents.client.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.apache.httpcomponents.httpmime</symbolic-name><version>${httpcomponents.mime.version}</version></bundle>
aa165c
         <bundle><symbolic-name>${osgi.compendium.bundle.symbolic-name}</symbolic-name><version>${osgi.compendium.osgi-version}</version></bundle>
3aaed5
         <bundle><symbolic-name>com.google.gson</symbolic-name><version>${gson.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.jboss.netty</symbolic-name><version>${netty.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.jfree.jcommon</symbolic-name><version>${jcommon.osgi.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.jfree.jfreechart</symbolic-name><version>${jfreechart.osgi.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.servicemix.bundles.lucene</symbolic-name><version>${lucene.osgi-version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.servicemix.bundles.lucene-analyzers-common</symbolic-name><version>${lucene.osgi-version}</version></bundle>
3aaed5
       </bundles>
aa165c
@@ -360,9 +375,12 @@
3aaed5
         <bundle><symbolic-name>org.apache.commons.logging</symbolic-name><version>${commons-logging.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.apache.httpcomponents.httpcore</symbolic-name><version>${httpcomponents.core.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.apache.httpcomponents.httpclient</symbolic-name><version>${httpcomponents.client.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.apache.httpcomponents.httpmime</symbolic-name><version>${httpcomponents.mime.version}</version></bundle>
aa165c
         <bundle><symbolic-name>${osgi.compendium.bundle.symbolic-name}</symbolic-name><version>${osgi.compendium.osgi-version}</version></bundle>
3aaed5
         <bundle><symbolic-name>com.google.gson</symbolic-name><version>${gson.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.jboss.netty</symbolic-name><version>${netty.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.jfree.jcommon</symbolic-name><version>${jcommon.osgi.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.jfree.jfreechart</symbolic-name><version>${jfreechart.osgi.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.servicemix.bundles.lucene</symbolic-name><version>${lucene.osgi-version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.servicemix.bundles.lucene-analyzers-common</symbolic-name><version>${lucene.osgi-version}</version></bundle>
3aaed5
       </bundles>
aa165c
@@ -406,9 +424,12 @@
3aaed5
         <bundle><symbolic-name>org.apache.commons.logging</symbolic-name><version>${commons-logging.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.apache.httpcomponents.httpcore</symbolic-name><version>${httpcomponents.core.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.apache.httpcomponents.httpclient</symbolic-name><version>${httpcomponents.client.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.apache.httpcomponents.httpmime</symbolic-name><version>${httpcomponents.mime.version}</version></bundle>
aa165c
         <bundle><symbolic-name>${osgi.compendium.bundle.symbolic-name}</symbolic-name><version>${osgi.compendium.osgi-version}</version></bundle>
3aaed5
         <bundle><symbolic-name>com.google.gson</symbolic-name><version>${gson.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.jboss.netty</symbolic-name><version>${netty.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.jfree.jcommon</symbolic-name><version>${jcommon.osgi.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.jfree.jfreechart</symbolic-name><version>${jfreechart.osgi.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.servicemix.bundles.lucene</symbolic-name><version>${lucene.osgi-version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.servicemix.bundles.lucene-analyzers-common</symbolic-name><version>${lucene.osgi-version}</version></bundle>
3aaed5
       </bundles>
aa165c
diff --git a/vm-profiler/distribution/thermostat-plugin.xml b/vm-profiler/distribution/thermostat-plugin.xml
aa165c
--- a/vm-profiler/distribution/thermostat-plugin.xml
aa165c
+++ b/vm-profiler/distribution/thermostat-plugin.xml
aa165c
@@ -94,6 +94,7 @@
aa165c
                 <bundle><symbolic-name>org.apache.commons.logging</symbolic-name><version>${commons-logging.version}</version></bundle>
aa165c
                 <bundle><symbolic-name>org.apache.httpcomponents.httpcore</symbolic-name><version>${httpcomponents.core.version}</version></bundle>
aa165c
                 <bundle><symbolic-name>org.apache.httpcomponents.httpclient</symbolic-name><version>${httpcomponents.client.version}</version></bundle>
aa165c
+                <bundle><symbolic-name>org.apache.httpcomponents.httpmime</symbolic-name><version>${httpcomponents.mime.version}</version></bundle>
aa165c
                 <bundle><symbolic-name>${osgi.compendium.bundle.symbolic-name}</symbolic-name><version>${osgi.compendium.osgi-version}</version></bundle>
aa165c
             </bundles>
aa165c
         </command>
aa165c
diff --git a/web/endpoint-plugin/distribution/thermostat-plugin.xml b/web/endpoint-plugin/distribution/thermostat-plugin.xml
aa165c
--- a/web/endpoint-plugin/distribution/thermostat-plugin.xml
aa165c
+++ b/web/endpoint-plugin/distribution/thermostat-plugin.xml
aa165c
@@ -68,6 +68,7 @@
aa165c
         <bundle><symbolic-name>com.redhat.thermostat.web.client</symbolic-name><version>${project.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.httpcomponents.httpcore</symbolic-name><version>${httpcomponents.core.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.httpcomponents.httpclient</symbolic-name><version>${httpcomponents.client.version}</version></bundle>
aa165c
+        <bundle><symbolic-name>org.apache.httpcomponents.httpmime</symbolic-name><version>${httpcomponents.mime.version}</version></bundle>
aa165c
         <bundle><symbolic-name>${osgi.compendium.bundle.symbolic-name}</symbolic-name><version>${osgi.compendium.osgi-version}</version></bundle>
aa165c
         <bundle><symbolic-name>com.google.gson</symbolic-name><version>${gson.version}</version></bundle>
aa165c
         <bundle><symbolic-name>com.redhat.thermostat.process</symbolic-name><version>${project.version}</version></bundle>