[
https://jira.jboss.org/browse/JBPM-2894?page=com.atlassian.jira.plugin.sy...
]
Manuele Piastra commented on JBPM-2894:
---------------------------------------
Hi, I'm afraid I still need some help, because I still get the error.
this is our main configuration file
<?xml version="1.0" encoding="UTF-8"?>
<jbpm-configuration>
<import resource="jbpm.default.cfg.xml"/>
<import resource="jbpm.tx.hibernate.cfg.xml"/>
<import resource="jbpm.jpdl.cfg.xml"/>
</jbpm-configuration>
our hibernate conf file is the following:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property
name="hibernate.dialect">org.hibernate.dialect.OracleDialect</property>
<property
name="hibernate.connection.datasource">jdbc/SICI-CHK</property>
<property name="hibernate.cache.use_query_cache">false</property>
<property
name="hibernate.cache.use_second_level_cache">false</property>
<property
name="hibernate.transaction.factory_class">org.hibernate.transaction.CMTTransactionFactory</property>
<property
name="hibernate.TransactionManagerLookup">org.hibernate.transaction.WebSphereExtendedJTATransactionLookup</property>
<property
name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.WebSphereExtendedJTATransactionLookup</property>
<property
name="hibernate.TransactionManagerLookupStrategy">org.hibernate.transaction.WebSphereExtendedJTATransactionLookup</property>
<property name="hibernate.format_sql">true</property>
<property name="hibernate.show_sql">true</property>
<mapping resource="jbpm.repository.hbm.xml" />
<mapping resource="jbpm.execution.hbm.xml" />
<mapping resource="jbpm.history.hbm.xml" />
<mapping resource="jbpm.task.hbm.xml" />
<mapping resource="jbpm.identity.hbm.xml" />
</session-factory>
</hibernate-configuration>
we are using websphere 7.0.0.7 with ejb, container managed transaction and JTA.
Is is correct to import "jbpm.tx.hibernate.cfg.xml" or should we use the
"jbpm.tx.jta.cfg"? Do you see any wrong configuration in the file posted?
Thank you so much
DatabaseDbidGenerator and transition rollback
---------------------------------------------
Key: JBPM-2894
URL:
https://jira.jboss.org/browse/JBPM-2894
Project: jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 4.3
Environment: Websphere 7, oracle 10g
Reporter: Manuele Piastra
If method acquireDbidBlock of class DatabaseDbidGenerator is executed in a rollbacked
transition the db value is not updated. So there is a difference between field nextId of
class DatabaseDbidGenerator and value in database table jbpm4_property. Next restart there
is a primary key violation
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira