[jboss-user] [jBPM] - Re: TaskService Referential integrity constraint violation

Mauricio Salatino do-not-reply at jboss.com
Mon Aug 15 09:22:04 EDT 2011


Mauricio Salatino [http://community.jboss.org/people/salaboy21] created the discussion

"Re: TaskService Referential integrity constraint violation"

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

--------------------------------------------------------------
Hi there,
Usually this exception:
| 
| | Caused by: org.h2.jdbc.JdbcBatchUpdateException: Referential integrity constraint violation: "FK1EE418D2C122ED2: PUBLIC.PEOPLEASSIGNMENTS_POTOWNERS FOREIGN KEY(ENTITY_ID) REFERENCES PUBLIC.ORGANIZATIONALENTITY(ID)";  |
 |
 |
Makes reference to the "People" that you have loaded in your identity tables. Usually you will see this exceptions when you don't have an Administrator user loaded or some or your processes use an entity that is not loaded in that tables.
Make sure that you at least have your "Administrator" user loaded. The Task Client allows you to add Users as far as I remember with the addUser() method.
Cheers
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[http://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/20110815/8a233fa2/attachment.html 


More information about the jboss-user mailing list