1 Reply Latest reply on Apr 4, 2006 1:33 PM by earniedyke

    Deploying a scheduled class

    earniedyke

      Greetings all.

      I am trying to deploy a simple class via the scheduler. When I start JBoss I get this error in the log:

      java.lang.ClassNotFoundException: No ClassLoaders found for: com.vrs.enterpriseintegrator.fwk.ScheduledRIMSTransactionProcessor

      The class is in a jar that is loaded later. What is the proper way to deploy this?

      Thanks!

      Earnie!



      I have the following configurations:

      In my scheduler-manage-service.xml

      true


      In my scheduler-service.xml

      true
      com.vrs.enterpriseintegrator.fwk.ScheduledRIMSTransactionProcessor
      NOW
      10000
      -1
      jboss.j2ee:service=EjbModule,module=EnterpriseIntegrator.jar


        • 1. Re: Deploying a scheduled class
          earniedyke

          Oops! Forgot about the tags.

          schedule-manager-service.xml

          <mbean code="org.jboss.varia.scheduler.ScheduleManager"
           name="jboss:service=ScheduleManager">
           <attribute name="StartAtStartup">true</attribute>
           </mbean>
          


          schedule-service.xml

          <mbean code="org.jboss.varia.scheduler.Scheduler"
           name=":service=RIMSTransactionProcessorScheduler">
           <attribute name="StartAtStartup">true</attribute>
           <attribute name="SchedulableClass">com.vrs.enterpriseintegrator.fwk.ScheduledRIMSTransactionProcessor</attribute>
           <attribute name="InitialStartDate">NOW</attribute>
           <attribute name="SchedulePeriod">10000</attribute>
           <attribute name="InitialRepetitions">-1</attribute>
           <depends>jboss.j2ee:service=EjbModule,module=EnterpriseIntegrator.jar</depends>
           </mbean>
           <!