Hi,
I should mention that we use tasks without Mina server (or other), calling taskSession directly, inspirated by this discussion
http://community.jboss.org/message/595321
Not sure if this is really related to transaction problem.
My workitem handler which works with tasks looks like this:
public void executeWorkItem(WorkItem workItem, WorkItemManager manager) {
// create new task, get info from WF
// get task details from workitem
Task newTask = new Task();
String taskName = (String) workItem.getParameter("TaskName");
.....
taskSession.addTask(newTask, taskParameters);
}
What do you think?