渊 李 [
https://community.jboss.org/people/c1269355458] created the discussion
"Re: My jBPM5.2 doesn't work! Like this......"
To view the discussion, visit:
https://community.jboss.org/message/725534#725534
--------------------------------------------------------------
I promiss it.
I have added all the users when MinaTaskServer class started.
TaskService taskService = new TaskService(emfTask,
SystemEventListenerFactory.getSystemEventListener());
/*
* Add the required users
*/
TaskServiceSession taskSession =
taskService.createSession();
taskSession.addUser(new User("Administrator"));
taskSession.addGroup(new Group("Stuff"));
taskSession.addUser(new User("kvsi"));
taskSession.addGroup(new Group("Manager"));
taskSession.addUser(new User("john"));
taskSession.addUser(new User("krisv"));
/* Start Mina server for HT */
MinaTaskServer server = new MinaTaskServer(taskService);
Thread thread = new Thread(server);
thread.start();
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/725534#725534]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]