on 02-15-2005 3:38 PM
Hi,
I need to make new scheduler task. I know(propably:) that i have to make some class implementing ISchedulerTask, ensure loading that class by class loader, but I dont know how can i make new item in Scheduler Tasks list(Sys.administration-> Sys.configuration-> ContentManagement-> Global Services-> Scheduler Tasks). So how can i make new record in this list?
thanks
JJ
Hi JJ,
you have to deliver the necessary config-framwork configuration together with your application (within the PAR file).
The easiest way (at least to start) is to use the KM wizard within Eclipse to create a new Scheduler Task. I didn't check this for EP6 if it works (I have only done this for EP5, as far as I remember, but that was without any documentation), but the KM wizards don't work from scratch normally. Some things must be added by hand.
If you got it that far, please come back if problems persist. The better forum would be KM.
Hope it helps
Detlev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi JJ,
I have no actual NWDS (SP9 or later) at hand, but the "plugins" for EP6 SP2 (I still work with most time) should be part of NWDS, also the KM wizards. So no extra plugins <i>should</i> be needed.
If this does not work, I could send you an eclipse produced empty scheduler example for 6.30, this at least should be near the thing you need (still some (empty)config structure could be needed, but this you should read from NWDS errors).
Hope it helps
Detlev
I tried to find that plugin in NWDS. I didnt find it neither on filesystem nor in NWDS. In case if this plugin is in NWDS I suppose that i should see this wizard somewhere in File-> New-> Other-> PortalApplication?(is it right?)
Could u please send me an empty scheduler or plugins(jars)? (juranj1@fel.cvut.cz)
thanks
JJ
Hi JJ,
> In case if this plugin is in NWDS I suppose
> that i should see this wizard somewhere in
> File-> New-> Other-> PortalApplication?(is it right?)
Almost. First create a Portal Application Project, after that, create a Portal Application Object (for the project created before); after that, there should appear differnt templates to choose from in the wizard, choose KM and after that, SchedulerTask.
Anyhow, I will send you the project, but probably it would be better to do it within NWDS.
Hope it helps
Detlev
Hi Detlev,
thank u very much for ur help. I tried to compile ur project and i uploaded it on EP6SR1 and i thought that i should now see new Scheduler Task in SystemAdministration-> SysConfig-> ContentManagement-> Global services-> Scheduler Tasks and that i should be able to add Time Tables.
But there is no new class in that list. So i suppose that i should select one of current classes and in that class i have to create a new configuration object with the same task name as in project? is it right? and is there any possibility to make new class of scheduler task?
thanks
JJ
only for info: in NWDS 2.0.6 there are not KM plugins
Hi,
that task is not there :(. In nwds there are no KM templates(and i dont have that plugins). But in the project u sent me there is in portalapp.xml some service RFServiceWrapper. But in project there is not that class which should implement this service so maybe problem is here?(i dont know how portal should know about that new task, only from existence of config directory in par or should be there some code for registration in that service class?)
thanks
JJ
Hi JJ,
> In nwds there are no KM templates
Hm
> (and i dont have that plugins)
As said, the KM wizards for NWDS are not distributed seperately.
> in project there is not that class
> which should implement this service
The portalapp.xml is definitely not sufficient, I just saw this. Sorry, this was created by the wizard, and the only Scheduler I have written I had manually deployed on EP5. And at the moment I don't have the time to check through...
> how portal should know about that new task, only from
> existence of config directory in par or should be
> there some code for registration in that service class
The SchedulerTask within the ConfigFramework first comes from the config dir, but it is possible/probable, that the class behind is checked (and, for problems with portalapp.xml etc., not working). Also see log files.
But if you want to go on, just go the "standard" way, search for a component which implements a SchedulerTask where you understand what it does, and look at it's deployed par (including decompiling etc.)...
Hope it helps
Detlev
Hi,
I tried a "standard" way but I was not successfull(propably because of my little experience ), I dont know how may i "read" generated configarchive files.
updated: I have i new task in task list, but task is never started(only things i have to do is to create a new instance of a task and to add some timetables, is it everything?)
thanks
(i am out of depth:( )
JJ
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.