[jboss-jira] [JBoss JIRA] Created: (JBRULES-2818) Deploy Task Service as Jboss Service
Cristiano Nicolai (JIRA)
jira-events at lists.jboss.org
Sun Dec 5 18:10:47 EST 2010
Deploy Task Service as Jboss Service
------------------------------------
Key: JBRULES-2818
URL: https://jira.jboss.org/browse/JBRULES-2818
Project: Drools
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: drools-process-task
Affects Versions: 5.1.1.FINAL
Environment: Jboss AS 5.1
Reporter: Cristiano Nicolai
Assignee: Mark Proctor
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>
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list