Hi,
We've been running into issues where our vOrchestrator appliance will not execute workflows that are recurrently scheduled at later times. Manually executing the workflow works, even the initial run works but recurring schedules fail to start. It complains about a missing userToken and we have no idea what's wrong. This is the log for a single workflow:
2012-11-27 07:00:00.518+0100 TRACE [VSOFactoryClient] JMS Received (edit) : ch.dunes.model.task.Task@367dd26e[id=ff8080813a78a95d013a96d8d3cb0027,name=example,state=2] Registered : null
2012-11-27 07:00:00.518+0100 TRACE [VSOFactoryClient] JMS Received (edit) : ch.dunes.model.task.Task@7e824fb4[id=ff8080813a78a95d013a96d8d3cb0027,name=example,state=2] Registered : null
2012-11-27 07:00:00.519+0100 TRACE [VSOFactoryClient] Received change on an object not registered in the factory !
2012-11-27 07:00:00.518+0100 TRACE [VSOFactoryClient] Received change on an object not registered in the factory !
2012-11-27 07:00:00.533+0100 ERROR [Execution] Unable to execute a workflow, userToken is null
2012-11-27 07:00:00.533+0100 WARN [TaskRunner] Unable to execute workflow from task
ch.dunes.util.DunesServerException: Unable to execute a workflow, userToken is null
at ch.dunes.workflow.engine.mbean.WorkflowEngine.executeNewWorkflow(WorkflowEngine.java:508)
at ch.dunes.workflow.engine.mbean.WorkflowEngine.executeNewWorkflowFromTask(WorkflowEngine.java:126)
at com.vmware.o11n.service.tasks.TaskRunner.execute(TaskRunner.java:78)
at com.vmware.o11n.service.tasks.RunnableTask.doRun(RunnableTask.java:67)
at ch.dunes.mbean.util.scheduler.SchedulableRunnable.run(SchedulableRunnable.java:154)
at ch.dunes.mbean.util.scheduler.ThreadPool$Worker.run(ThreadPool.java:236)
2012-11-27 07:00:00.534+0100 WARN [RunnableTask] ==== Task 'example' failed
2012-11-27 07:00:00.542+0100 TRACE [VSOFactoryClient] JMS Received (edit) : ch.dunes.model.task.Task@5e33b2e7[id=ff8080813a78a95d013a96d8d3cb0027,name=example,state=-1] Registered : null
2012-11-27 07:00:00.543+0100 TRACE [VSOFactoryClient] Received change on an object not registered in the factory !
2012-11-27 07:00:00.543+0100 TRACE [VSOFactoryClient] JMS Received (edit) : ch.dunes.model.task.Task@14268c02[id=ff8080813a78a95d013a96d8d3cb0027,name=example,state=-1] Registered : null
2012-11-27 07:00:00.544+0100 TRACE [VSOFactoryClient] Received change on an object not registered in the factory !
2012-11-27 07:00:00.547+0100 INFO [TaskCenter] Removing task 'example' to schedule
2012-11-27 07:00:00.563+0100 TRACE [VSOFactoryClient] JMS Received (edit) : ch.dunes.model.task.Task@e2ef9bd[id=ff8080813a78a95d013a96d8d3cb0027,name=example,state=1] Registered : null
2012-11-27 07:00:00.563+0100 TRACE [VSOFactoryClient] Received change on an object not registered in the factory !
2012-11-27 07:00:00.564+0100 TRACE [VSOFactoryClient] JMS Received (edit) : ch.dunes.model.task.Task@2e0dee91[id=ff8080813a78a95d013a96d8d3cb0027,name=example,state=1] Registered : null
2012-11-27 07:00:00.564+0100 TRACE [VSOFactoryClient] Received change on an object not registered in the factory !
2012-11-27 07:00:00.567+0100 INFO [TaskCenter] Adding recurrent task 'example' to schedule [Wed Nov 28 07:00:00 CET 2012]
Can anyone clarify this issue for us? It would be much appreciated.
Regards,
Ivo