The XA-datasource configuration is not so immediate (for me it wasn't ). So please consider this datasource in case you use postgres.
open18JbpmDatasource
false
org.postgresql.xa.PGXADataSource
localhost
5432
jbpmOpen18
jbpm
jbpm