1 Reply Latest reply on Aug 24, 2007 5:26 PM by Elias Ross

    Scheduler - java.lang.ClassNotFoundException: No ClassLoader

    Sandesh Tallera Newbie

      Hi

      I have implemented a Scheduler-compatible class as per instructions on


      http://www.jboss.org/wiki/Wiki.jsp?page=Scheduler

      http://www.redhat.com/docs/manuals/jboss/jboss-eap-4.2/doc/Server_Configuration_Guide/Scheduling_Tasks-org.jboss.varia.scheduler.Scheduler_.html


      I'm getting a ClassNotFoundException at jboss startup:

      14:13:46,064 INFO [Scheduler] Failed to find: com.sennari.ra.scheduler.PScheduler
      java.lang.ClassNotFoundException: No ClassLoaders found for: com.sennari.ra.scheduler.PScheduler
      at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:198)
      at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:475)
      at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:377)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      at org.jboss.varia.scheduler.Scheduler.setSchedulableClass(Scheduler.java:505)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


      Also isolated attribute in ear-deployer.xml file is set to false. and all configuration is done in scheduler-service.xml file.

      Any help will be highly appreciated.

      Thanks
      Sandesh Tallera