Details
-
Feature Request
-
Resolution: Unresolved
-
Major
-
None
-
5.1.1.FINAL
-
None
Description
Deploy a new Jboss Service (.sar) with the required jars to start the MinaTaskServer and manage it using admin-console.
The drools-process-task jar shouldn't package the persistence.xml file because will cause the server to try to deploy the persistence unit.
In order to have the mbean exposed in the admin-console I included the following in the rhq-plugin.xml:
<service name="Drools Task Server"
description="Drools Task Server"
displayName="Drools Task Server"
discovery="org.rhq.plugins.jmx.MBeanResourceDiscoveryComponent"
class="org.rhq.plugins.jmx.MBeanResourceComponent">
<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>
<plugin-configuration>
<c:simple-property name="objectName" readOnly="true" default="org.drools:type=DroolsTaskServer"/>
</plugin-configuration>
<operation name="start" displayName="Start" />
<operation name="stop" displayName="Stop" />
</service>