I am also getting the same error. I am working on jbpm3.2.2\jbpm-jpdl-3.2.2 &
websphere 6. I am able to connect and give token.signal but at state-end i am
getting this error.
| org.jbpm.db.JobSession deleteJobsForProcessInstance
org.hibernate.TransactionException: Could not register synchronization
|
Can you please help me. I already running behind time. and saw all sites from
almost 2 weeks. but still not getting any solution.....
plz help me.
my jbpm.cfg.xml is
|
| <jbpm-configuration>
|
| <jbpm-context>
| <service name="persistence">
| <factory>
| <bean class="org.jbpm.persistence.db.DbPersistenceServiceFactory">
| <field name="isTransactionEnabled"><false /></field>
| <field name="isCurrentSessionEnabled"><false /></field>
| </bean>
| </factory>
| </service>
| <service name="tx" factory="org.jbpm.tx.TxServiceFactory" />
| <service name="message"
factory="org.jbpm.msg.db.DbMessageServiceFactory" />
| <service name="scheduler"
factory="org.jbpm.scheduler.db.DbSchedulerServiceFactory" />
| <service name="logging"
factory="org.jbpm.logging.db.DbLoggingServiceFactory" />
| <service name="authentication"
factory="org.jbpm.security.authentication.DefaultAuthenticationServiceFactory"
/>
| </jbpm-context>
|
| <!-- configuration resource files pointing to default configuration files
in jbpm-{version}.jar -->
| <string name="resource.hibernate.cfg.xml" value="hibernate.cfg.xml" />
| <!-- <string name="resource.hibernate.properties"
value="hibernate.properties" /> -->
| <string name="resource.business.calendar"
value="org/jbpm/calendar/jbpm.business.calendar.properties" />
| <string name="resource.default.modules"
value="org/jbpm/graph/def/jbpm.default.modules.properties" />
| <string name="resource.converter"
value="org/jbpm/db/hibernate/jbpm.converter.properties" />
| <string name="resource.action.types"
value="org/jbpm/graph/action/action.types.xml" />
| <string name="resource.node.types"
value="org/jbpm/graph/node/node.types.xml" />
| <string name="resource.parsers"
value="org/jbpm/jpdl/par/jbpm.parsers.xml" />
| <string name="resource.varmapping"
value="org/jbpm/context/exe/jbpm.varmapping.xml" />
|
| <bean name="jbpm.task.instance.factory"
class="org.jbpm.taskmgmt.impl.DefaultTaskInstanceFactoryImpl" singleton="true"
/>
| <bean name="jbpm.variable.resolver"
class="org.jbpm.jpdl.el.impl.JbpmVariableResolver" singleton="true" />
| <long name="jbpm.msg.wait.timout" value="5000" singleton="true" />
|
|
| </jbpm-configuration>
|
|
my hibernate.cfg.xml is as follows
| <property
name="hibernate.dialect">org.hibernate.dialect.Oracle9iDialect</property>
|
|
| <property
name="hibernate.cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property>
|
| <!-- Websphere -->
| <property name="hibernate.jdbc.batch_size">0</property>
| <property
name="hibernate.connection.datasource">jdbc/JbpmDS</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="transaction.factory_class">org.hibernate.transaction.CMTTransactionFactory</property>
| <property name="hibernate.show_sql">true</property>
|
|
| <property
name="hibernate.transaction.flush_before_completion">true</property>
|
Please help me ASAP
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099294#4099294
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099294
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user