Consortium
Activities
Projects
Forge
Events
Log-in
Register
Aspire :: ALE Server management with JMX
Space Menu
Consortium
|
Solutions
|
Middleware
|
Forge
|
MyObjectWeb
|
PDF
|
History
|
More Actions
View
Code
|
XML
|
Help
Documentation
|
XWiki Syntax
|
1 Aspire :: ALE Server management with JMX ---- #toc("" "" "true") ---- The ALE Server had 2 profiles * Tomcat profile : the ALEServer war is deployed in the Tomcat web container * OSGi profile: the ALEServer bundle is deployed in the Felix OGSi container with PaxWeb. Extra libraries and DLL/SO can be deployed dynamically without rebooting the server. This profile includes also sensors drivers deployed as bundles. This section describes the management of the ALE server profiles (with and without OSGi) with JMX. [JMX (Java Management eXtension)>http://en.wikipedia.org/wiki/Java_Management_Extensions] is the de-facto standard for managing and for monitoring Java applications and middlewares. The management is composed of 2 parts * MBean which are probes to manage/monitor the ALEServer elements and its extensions (sensors, ...). * consoles 1.1 ALEServer MBeans The ALEServer can be managed with the following MBeans: * <code>org.ow2.aspirerfid:type=aleserver,name=server</code> (class <code>org.ow2.aspirerfid.ale.server.mbean.AleServer</code>) provides general information about the ALEServer * <code>org.ow2.aspirerfid:type=aleserver,name=lrspec</code> (class <code>org.ow2.aspirerfid.ale.server.mbean.LRSpec</code>) manages LRSpec (add, remove) * <code>org.ow2.aspirerfid:type=aleserver,name=ecspec</code> (class <code>org.ow2.aspirerfid.ale.server.mbean.ECSpec</code>) manages ECSpec (add, remove) * <code>org.ow2.aspirerfid:type=aleserver,name=sensor</code> (class <code>org.ow2.aspirerfid.ale.server.mbean.Sensor</code>) provides informations on sensors activated on the OSGi part of the ALEServer. Remark: This MBean is activated only with the OSGi profile. 1.1 Consoles 1.1.1 VisualVM plugin for Aspire ALE Server The console uses to manage the ALEServer is the standard [VisualVM>https://visualvm.dev.java.net] with the Aspire ALEServer plugin The Aspire ALEServer plugin gathers in one panel the main operations available on the 4 MBeans previously described. {image:jvisualplugin-aleserver-1.jpg|600} [Additionnal plugins>https://visualvm.dev.java.net/plugins.html] can completed the management of the host : * OSGi plugin (bundles and shell) * Tomcat * Glassfish (which is also based on Felix since the version 3) 1.1 Misc *[More documentation on the VisualVM ...>Main.Documentation.E2EMngmt-VisualVM]