Miljenko Norsic [
http://community.jboss.org/people/mnorsic] created the discussion
"Re: Running humantasks with HumanTaskService(Running in JBoss)"
To view the discussion, visit:
http://community.jboss.org/message/627398#627398
--------------------------------------------------------------
Hi Rajan,
according to Hibernate docs, I suspect the problem might be because you are not using user
transaction (java:comp/UserTransaction). Please see the following topic:
https://forum.hibernate.org/viewtopic.php?t=970727&view=next&sid=...
https://forum.hibernate.org/viewtopic.php?t=970727&view=next&sid=....
Try the following:
UserTransaction ut = (UserTransaction) new
InitialContext().lookup("java:comp/UserTransaction");
ut.begin();
//....add users and groups
ut.commit();
Thanks,
Miljenko
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/627398#627398]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]