I'm having trouble getting the @jmx.mbean descriptor tag to work. According to my understanding of the docs, I should be able to do this:

 * @jmx.mbean
 *   name="Importer:name=ImporterService"
 *   description="Importer service monitors and manages data load operations with external data sources."
 *   descriptor="name=\"StartAtStartup\" value=\"true\""
 *   descriptor="name=\"SchedulableClass\" value=\"com.legaledge.harmony.ejb.beans.ImporterServiceBean\""
 *   descriptor="name=\"InitialStartDate\" value=\"NOW\""
 *   descriptor="name=\"SchedulePeriod\" value=\"60000\""
 *   descriptor="name=\"InitialRepetitions\" value=\"-1\""

But, what I get in the generated jboss-service file is merely this:

  <mbean code="com.legaledge.harmony.ejb.beans.ImporterServiceBean"
         name="Importer:name=ImporterService"
         xmbean-dd="com/legaledge/harmony/ejb/beans/ImporterServiceBean.xml">
    <!--Importer service monitors and manages data load operations with external data sources.-->
  </mbean>
 
Which is just not helpful. Can anyone provide a hint or two on what I'm doing wrong here?
--
Zacharias J. Beckman
Far better it is to dare mighty things, to win glorious triumphs, even though checkered by failure, than to take rank with those poor spirits who neither enjoy nor suffer much, because they live in the gray twilight that knows neither victory nor defeat. -- Theodore Roosevelt

Reply via email to