I created a Fulcrum.properties file and now we seem have access to the service but in the main method of my class I add a job to the initialized scheduler but this job seems dos not seem to be called, my main method finishes immeadiatly. Any ideas ?
Erik -----Original Message----- From: Kelvin Tan [mailto:[EMAIL PROTECTED]] Sent: maandag 17 december 2001 13:17 To: Turbine Users List Subject: Re: ScheduleService ----- Original Message ----- From: Kazandjian Erik <[EMAIL PROTECTED]> To: Turbine Users List (E-mail) <[EMAIL PROTECTED]> Sent: Monday, December 17, 2001 8:06 PM Subject: ScheduleService > Hello, > > We are trying to use the fulcrum schedular service. We managed to get the > database part working (at least we think we do) but now when we want to add > a job to the service we always get the following exception : > > java.lang.NullPointerException > at org.apache.fulcrum.BaseService.getCategory(BaseService.java:251) > at > org.apache.fulcrum.schedule.TurbineSchedulerService.addJob(TurbineSchedulerS > ervice.java:177) > at > com.siemens.square.ejb.workflow.scheduler.TestScheduler.main(TestScheduler.j > ava:43) > > When we take a look at the code it seems that the service is missing a name. > How must we initialize fulcrum in standalone mode in order to use the > schedulerService. Check out http://www.mail-archive.com/[email protected]/msg04970.html Regards, Kelvin -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
