Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-2818

Deploy Task Service as Jboss Service

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Unresolved
    • Major
    • None
    • 5.1.1.FINAL
    • drools-process-task
    • 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>

      Attachments

        Issue Links

          Activity

            People

              mproctor@redhat.com Mark Proctor
              cnicolai@redhat.com Cristiano Nicolai
              Archiver:
              rhn-support-ceverson Clark Everson

              Dates

                Created:
                Updated:
                Archived:

                PagerDuty