I'm having trouble getting the SchedulerService to recognize my ScheduledJob
class.
- The scheduler is clearly running, since it generates the error below.
- I added the TURBINE_SCHEDULED_JOB to my database and added a row for this
task.  It seems that this worked correctly since it is trying to start the
right job ("TestJob")
- As you can see, the modules.packages contains the proper path
"com.transpose.scheduledjobs" and it is trying to load the proper class
"TestJob".
- I have verified that the file TestJob.class really does exist in my
project under
jakarta-tomcat-4.0.1/webapps/bob/WEB-INF/classes/com/transpose/scheduledjobs
/TestJob.class.
- I checked that TestJob is extending a class that extends ScheduledJob, and
it implements
   public void run(JobEntry job) throws Exception;

I don't see why it cannot find the class, but I get the error below in my
turbine.log file.  Any help would be greatly appreciated!

--------------------------------
[Fri Feb 15 14:46:30 EST 2002] -- ERROR -- Error in WorkerThread for
sheduled job #1, task: TestJob
 Exception:  java.lang.ClassNotFoundException:

 Requested ScheduledJob not found: TestJob
 Turbine looked in the following modules.packages path:
 [com.transpose.scheduledjobs, org.apache.turbine.flux.modules,
org.apache.turbine.modules]

 Stack Trace follows:
 java.lang.ClassNotFoundException:

 Requested ScheduledJob not found: TestJob
 Turbine looked in the following modules.packages path:
 [com.transpose.scheduledjobs, org.apache.turbine.flux.modules,
org.apache.turbine.modules]

 at java.lang.Throwable.fillInStackTrace(Native Method)
 at java.lang.Throwable.fillInStackTrace(Compiled Code)
 at java.lang.Throwable.<init>(Compiled Code)
 at java.lang.Exception.<init>(Compiled Code)
 at java.lang.ClassNotFoundException.<init>(Compiled Code)
 at org.apache.turbine.modules.ScheduledJobLoader.getInstance(Compiled Code)
 at org.apache.turbine.modules.ScheduledJobLoader.exec(Compiled Code)
 at org.apache.turbine.services.schedule.WorkerThread.run(Compiled Code)
 at java.lang.Thread.run(Compiled Code)
--------------------------------

Thanks,

Bob Swerdlow
Chief Operating Officer
Transpose, LLC
[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to