Hi all,

the JBoss class loader cannot find my Scheduler class, even if I specify the jar 
containing the Scheduler class in the depends tag.  
I thought this would set the right deploy order between the service xml and the jar 
file.

What else has to be done? Moving the stuff to the lib directory is not really a 
solution.

Thank you for every hint.

My scheduler-service.xml

..
  | <mbean code="org.jboss.varia.scheduler.Scheduler" name=":service=Scheduler">
  |       <attribute name="StartAtStartup">true</attribute>
  |       <attribute name="SchedulableClass">mypackage.MyScheduler</attribute>
  |       <attribute name="SchedulableArguments">Schedulabe Test,12345</attribute>
  |       <attribute name="SchedulableArgumentTypes">java.lang.String,int</attribute>
  |       <attribute name="InitialStartDate">NOW</attribute>
  |       <attribute name="SchedulePeriod">10000</attribute>
  |       <attribute name="InitialRepetitions">10</attribute>
  |       <depends>jboss.j2ee:module=myjar.jar,service=EjbModule</depends>
  | </mbean>
  | ..

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842713#3842713

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842713


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to