[jboss-dev-forums] [jBPM Development] - Re: SessionInfo and ProcessInstanceInfo tables are not getting updated when starting the process using JPAKnoweldgeService

uvijayreddy657 do-not-reply at jboss.com
Tue Sep 20 10:08:45 EDT 2011


uvijayreddy657 [http://community.jboss.org/people/uvijayreddy657] created the discussion

"Re: SessionInfo and ProcessInstanceInfo tables are not getting updated when starting the process using JPAKnoweldgeService"

To view the discussion, visit: http://community.jboss.org/message/627518#627518

--------------------------------------------------------------
I am creating EntityManagerFactory object using the below piece of code


EntityManagerFactory emf = Persistence.createEntityManagerFactory("WFJPAPersistenceUnit");
TaskService taskService = new TaskService(emf,SystemEventListenerFactory.getSystemEventListener());
TaskServiceSession taskSession = taskService.createSession();

if (taskServer == null || !taskServer.isRunning()) {
 taskServer = new MinaTaskServer(taskService);
 Thread thread = new Thread(taskServer);
 thread.start();
}



Because of this only, other tables like TASK, Content, I18NText, PeopleAssignement_BAS..etc tables are getting inserted with Task related data.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/627518#627518]

Start a new discussion in jBPM Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110920/d8936b9a/attachment.html 


More information about the jboss-dev-forums mailing list