1 Reply Latest reply on Mar 21, 2004 12:15 AM by Joe Barh

    Scheduler java.security.InvalidParameterException

    Larry Wilson Newbie

       

      "CasaDelNorte" wrote:
      "CasaDelNorte" wrote:
      When Jboss (3.2.3) starts up, with an active scheduler-service.xml deployed, it always fails with:

      ObjectName: jboss:service=Scheduler
      state: FAILED
      I Depend On:
      Depends On Me: org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute: name=SchedulableClass value=InventoryAvailability on mbean jboss:service=Scheduler; - nested throwable: (java.security.InvalidParameterException: Given class InventoryAvailability is not not found)

      Oddly, I can re-save the scheduler-service.xml in the deploy directory, and it works just fine:
      <!--
      | Availability Report
      -->
      <$mbean code="org.jboss.varia.scheduler.Scheduler"
      name=":service=Scheduler">
      <$attribute name="StartAtStartup">true</$attribute>
      <$attribute name="SchedulableClass">InventoryAvailability</$attribute>
      <$attribute name="SchedulableArguments">17,US</$attribute>
      <$attribute name="SchedulableArgumentTypes">int,java.lang.String</$attribute>
      <$attribute name="InitialStartDate">NOW</$attribute>
      <$attribute name="SchedulePeriod">6000</$attribute>
      <$attribute name="InitialRepetitions">2</$attribute>
      </$mbean>
      (I added the leading $ to force the code to appear here)

      Anyone have any ideas or hunches?

      Thanks!
      Larry


        • 1. Re: Scheduler java.security.InvalidParameterException
          Joe Barh Newbie


          I am having the same exact problem!!!

          21:38:16,590 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
          Cause: Incomplete Deployment listing:
          Packages waiting for a deployer:

          Incompletely deployed packages:

          MBeans waiting for classes:

          MBeans waiting for other MBeans:
          [ObjectName: jboss:service=Scheduler
          state: FAILED
          I Depend On:
          Depends On Me: org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute: name=SchedulableClass value=com.xxxx.util.ObjectMessageExceptionMonitor on mbean jboss:servic
          e=Scheduler; - nested throwable: (java.security.InvalidParameterException: Given class com.xxxx.util.ObjectMessageExceptionMonitor is not not found)]
          21:38:16,600 INFO [URLDeploymentScanner] Started jboss.deployment:type=DeploymentScanner,flavor=URL


          Any help from the JBoss guru would be more than welcome.

          Thx

          Joe