ACTIVEMQ6-15 - expose Jolokia in web server

https://issues.apache.org/jira/browse/ACTIVEMQ6-15

The Jolokia War Agent is now bootstrapped with the server so mBeans are accessible via Rest API's
This commit is contained in:
Andy Taylor 2014-12-02 09:54:10 +00:00
parent eb4f835477
commit 79a970bc7a
7 changed files with 31 additions and 5 deletions

View File

@ -179,6 +179,11 @@
<groupId>org.apache.geronimo.specs</groupId> <groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-servlet_3.0_spec</artifactId> <artifactId>geronimo-servlet_3.0_spec</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.jolokia</groupId>
<artifactId>jolokia-war</artifactId>
<type>war</type>
</dependency>
<!-- javadoc --> <!-- javadoc -->
<dependency> <dependency>
<groupId>org.apache.activemq</groupId> <groupId>org.apache.activemq</groupId>

View File

@ -84,6 +84,13 @@
<outputDirectory>web/api</outputDirectory> <outputDirectory>web/api</outputDirectory>
<unpack>true</unpack> <unpack>true</unpack>
</dependencySet> </dependencySet>
<dependencySet>
<includes>
<include>org.jolokia:jolokia-war:war</include>
</includes>
<outputDirectory>web</outputDirectory>
<unpack>false</unpack>
</dependencySet>
</dependencySets> </dependencySets>
<fileSets> <fileSets>
<!-- schema --> <!-- schema -->

View File

@ -26,7 +26,9 @@
<naming bindAddress="localhost" port="1099" rmiBindAddress="localhost" rmiPort="1098"/> <naming bindAddress="localhost" port="1099" rmiBindAddress="localhost" rmiPort="1098"/>
<web bind="http://localhost:8161" path="web"/> <web bind="http://localhost:8161" path="web">
<app url="jolokia" war="jolokia-war-1.2.3.war"/>
</web>
</broker> </broker>

View File

@ -26,7 +26,9 @@
<naming bindAddress="localhost" port="1099" rmiBindAddress="localhost" rmiPort="1098"/> <naming bindAddress="localhost" port="1099" rmiBindAddress="localhost" rmiPort="1098"/>
<web bind="http://localhost:8161" path="web"/> <web bind="http://localhost:8161" path="web">
<app url="jolokia" war="jolokia-war-1.2.3.war"/>
</web>
</broker> </broker>

View File

@ -26,7 +26,9 @@
<naming bindAddress="localhost" port="1099" rmiBindAddress="localhost" rmiPort="1098"/> <naming bindAddress="localhost" port="1099" rmiBindAddress="localhost" rmiPort="1098"/>
<web bind="http://localhost:8161" path="web"/> <web bind="http://localhost:8161" path="web">
<app url="jolokia" war="jolokia-war-1.2.3.war"/>
</web>
</broker> </broker>

View File

@ -26,7 +26,9 @@
<naming bindAddress="localhost" port="1099" rmiBindAddress="localhost" rmiPort="1098"/> <naming bindAddress="localhost" port="1099" rmiBindAddress="localhost" rmiPort="1098"/>
<web bind="http://localhost:8161" path="web"/> <web bind="http://localhost:8161" path="web">
<app url="jolokia" war="jolokia-war-1.2.3.war"/>
</web>
</broker> </broker>

View File

@ -368,6 +368,12 @@
<groupId>org.apache.geronimo.specs</groupId> <groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-servlet_3.0_spec</artifactId> <artifactId>geronimo-servlet_3.0_spec</artifactId>
<version>1.0</version> <version>1.0</version>
</dependency>
<dependency>
<groupId>org.jolokia</groupId>
<artifactId>jolokia-war</artifactId>
<type>war</type>
<version>1.2.3</version>
</dependency> </dependency>
<!-- needed to compile the tests --> <!-- needed to compile the tests -->
<dependency> <dependency>