Details
-
Bug
-
Resolution: Done
-
Major
-
jboss-fuse-6.2.1
-
None
-
%
-
- Create EAP domain with a server group containing at least two servers
- Setup an external BPEL database in full-ha profile (e.g. MySQL)
- Deploy "bpel-say-hello" quickstart into your server group
-
6.3 Sprint 2 (1-Feb - 26-Feb)
Description
When you deploy a BPEL application in domain mode to several servers you will get ConstraintViolationException exception:
09:54:23,182 ERROR [org.apache.ode.store.ProcessStoreImpl] (ProcessStoreImpl-1) Error persisting deployment record for {http://www.jboss.org/bpel/examples}SayHello-0; process will not be available after restart!: javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: could not execute batch ... Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'switchyard-bpel-say-hello_SayHello-0' for key 'PRIMARY'
This is caused by the following command which is executed once for each server.
11:31:34,828 INFO [stdout] (ProcessStoreImpl-1) Hibernate: insert into STORE_DU (DEPLOYDT, DEPLOYER, DIR, NAME) values (?, ?, ?, ?)
Attachments
Issue Links
- relates to
-
ENTESB-5185 BPEL - Domain mode - Postgres DB - Unable to deploy quickstart
- Closed