Jeff Zhang [
http://community.jboss.org/people/jeff.zhang] modified the document:
"IronJacamar RHQ platform"
To view the document, visit:
http://community.jboss.org/docs/DOC-16378
--------------------------------------------------------------
h1. Goals
The goals of the IronJacamar RHQ plugin is to provide a RHQ 4 plugin for the IronJacamar
container which exposes the metrics and operations of the deployed resource adapters.
Second, it is to provide a RHQ platform for the standalone IronJacamar distribution using
the GWT based user interface as the new management UI.
h1. Design
1. RHQ 4 + Plugin + Embedded JCA
http://community.jboss.org/servlet/JiveServlet/showImage/102-16378-4-1145...
http://community.jboss.org/servlet/JiveServlet/downloadImage/102-16378-4-...
2. RHQ 4 + Plugin + Standalone JCA
http://community.jboss.org/servlet/JiveServlet/showImage/102-16378-4-1145...
http://community.jboss.org/servlet/JiveServlet/downloadImage/102-16378-4-...
3. JBoss AS 7 + Admin Console + Plugin + JCA Module
http://community.jboss.org/servlet/JiveServlet/showImage/102-16378-4-1145...
http://community.jboss.org/servlet/JiveServlet/downloadImage/102-16378-4-...
h1. Implementation
The management integration with IronJacamar must be built based on the
org.jboss.jca.core.api.management
package. A
org.jboss.jca.core.api.management.ManagementRepository
instance must be injected into the RHQ plugin in order to etablish the connection between
the plugin and the container.
Some important interface and class:
* org.jboss.jca.rhq.core.Discover interface to getManagementRepository
* org.jboss.jca.rhq.core.EmbeddedJcaDiscover in the test is Discover implement for
embedded JCA
* org.jboss.jca.rhq.core.BaseResourceComponent is Base class to implement basic method of
ResourceComponent interface
* IronJacamarResourceDiscoveryComponent and IronJacamarResourceComponent is
"root" RHQ components of inventory tree
h2. Code
To build rhq plugin for IronJacamar:
svn co
http://anonsvn.jboss.org/repos/jbossas/projects/jboss-jca/trunk/ jboss-jca
cd jboss-jca
ant rhq
h1. Supported metrics and operations
h1. How to run plugin on RHQ 4
* Download RHQ4 DR3 from
http://rhq-project.org/display/RHQ/Download
http://rhq-project.org/display/RHQ/Download
* unzip to empty directory
* Make sure Java JDK/JRE installed
* Start RHQ server
cd <RHQ_Server>/bin
./rhq-server.sh start
* browse
http://localhost:7080 http://localhost:7080
* Install RHQ database and do post-install (use h2 sql as test database and use standalone
agent)
* Download RHQ agent jar from Administrator -> Download and install it into a empty
directory
* login in to RHQ console (rhqadmin : rhqadmin)
* Administrator -> Plugin, Install ironjacamar-rhq-plugin.jar
* Start RHQ agent
cd <RHQ_Agent>/bin
./rhq-agent.sh
* Inventory -> Discovery Queue, find IronJacamar_AS7
* click "import" button on the bottom
* Inventory -> Servers, click IronJacamar_AS7
h1. Screenshots
http://community.jboss.org/servlet/JiveServlet/showImage/102-16378-4-1145...
http://community.jboss.org/servlet/JiveServlet/downloadImage/102-16378-4-...
h1. Links
*
http://www.rhq-project.org/display/RHQ/Home RHQ
*
http://community.jboss.org/docs/DOC-16363 Management console design for AS 7
*
http://community.jboss.org/docs/DOC-16376 Management console roadmap for AS 7
--------------------------------------------------------------
Comment by going to Community
[
http://community.jboss.org/docs/DOC-16378]
Create a new document in IronJacamar Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=102&am...]