This content has been marked as final. Show 3 replies
What does your filter code look like?
I didn't ask the original question, but am having the same issue.
I have filter code that is attempting to check in documents that have been saved to a local directory. Right now I'm attempting to run the code every 5 minutes just to make sure it works. Eventually we'll want it to run once a week. The only service I am calling from the code is CHECKIN_NEW.
So, basically, the filter is spinning up the process to retrieve XML files from a news feed and save them to the local server. For each file I call a separate method that runs the CHECKIN_NEW service.
Every hour I see the "No handler for..." message. Do I need a handler because I'm calling CHECKIN_NEW?
I was able to solve this issue by updating the state of the event. HowToComponents - ScheduledEvent has the following method:
* Update the state of the event. Must be done at least once to tell the content server
* when the scehduled event is finished.
protected void update(String action, String msg, Workspace workspace) throws ServiceException, DataException
long curTime = System.currentTimeMillis();
ScheduledSystemEvents sse = IdcSystemLoader.getOrCreateScheduledSystemEvents(workspace);
sse.updateEventState(action, msg, curTime);
Making a call to update() when my scheduled event ran solved the issue for me.