[jboss-user] [jBPM] - Re: My jBPM5.2 doesn't work! Like this......
渊 李
do-not-reply at jboss.com
Thu Mar 22 05:42:28 EDT 2012
渊 李 [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&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120322/98649074/attachment.html
More information about the jboss-user
mailing list