[
https://jira.jboss.org/browse/ISPN-675?page=com.atlassian.jira.plugin.sys...
]
Galder Zamarreño commented on ISPN-675:
---------------------------------------
There's a problem with this. Our rhq-plugin.xml is automatically generated as per
http://anonsvn.jboss.org/repos/infinispan/trunk/tools/src/main/java/org/i...
The problem is to do with org.rhq.helpers.pluginGen component used to generate the XML
file. It does not support generating XML like this:
<runs-inside>
<parent-resource-type name="JMX Server" plugin="JMX"/>
<parent-resource-type name="JBossAS Server" plugin="JBossAS"/>
<parent-resource-type name="JBossAS Server" plugin="JBossAS5"/>
</runs-inside>
Ian, could you guys improve the XML plugin generator so that it can generate these tags?
We currently use:
<version.rhq.plugingen>1.4.0.B01</version.rhq.plugingen>
Finally, note that the RHQ version currently used by the JOPR plugin is:
<version.rhq>1.2.0.GA</version.rhq>
Ian, would working against this version cause any problems?
Make Infinispan JOPR plugin friendly with AS environments
---------------------------------------------------------
Key: ISPN-675
URL:
https://jira.jboss.org/browse/ISPN-675
Project: Infinispan
Issue Type: Feature Request
Components: JMX, reporting and management
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
Fix For: 4.2.0.BETA1
Within the descriptor:
- Change top level from server to service
- Within the service add:
<parent-resource-type name="JMX Server" plugin="JMX"/>
<parent-resource-type name="JBossAS Server" plugin="JBossAS"/>
<parent-resource-type name="JBossAS Server"
plugin="JBossAS5"/>
Within source:
- From "implements ResourceComponent" should convert into "extend
MBeanResourceComponent" (like StatisticsComponent)
- You might be able to reduce the code with the above change
Base your work on what has been done in:
https://svn.jboss.org/repos/jopr/trunk/modules/plugins/hibernate
Test:
- Test with AS6 admin console (drop the plugin jar into the plugins subdirectory in the
admin console)
- Test with RHQ
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira