]
Thomas Diesler resolved JBPM-2013.
----------------------------------
Resolution: Duplicate Issue
Is this a duplicate of JBPM-2005 ?
possibly a missing example in docs
----------------------------------
Key: JBPM-2013
URL:
https://jira.jboss.org/jira/browse/JBPM-2013
Project: JBoss jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Documentation
Affects Versions: jBPM 3.2.3
Reporter: Darrin Mison
This exists in
http://docs.jboss.com/jbpm/v3.2/userguide/html_single/#configurationthepe...
and was included in the SOA docs
Should the code example be moved up before the "IMPORTANT" paragraph and the
"Like this:" be removed from that paragraph. Or is there a missing example
here?
7.2. Configuring the persistence service
7.2.1. The DbPersistenceServiceFactory
The DbPersistenceServiceFactory itself has 3 more configuration properties:
isTransactionEnabled, sessionFactoryJndiName and dataSourceJndiName. To specify any of
these properties in the jbpm.cfg.xml, you need to specify the service factory as a bean in
the factory element like this:
IMPORTANT: don't mix the short and long notation for configuring the factories. See
also Section 6.1, "Customizing factories". If the factory is just a new instance
of a class, you can use the factory attribute to refer to the factory class name. But if
properties in a factory must be configured, the long notation must be used and factory and
bean must be combined as nested elements. Like this:
<jbpm-context>
<service name="persistence">
<factory>
<bean
class="org.jbpm.persistence.db.DbPersistenceServiceFactory">
<field name="isTransactionEnabled"><false
/></field>
<field name="sessionFactoryJndiName">
<string value="java:/myHibSessFactJndiName" />
</field>
<field name="dataSourceJndiName">
<string value="java:/myDataSourceJndiName" />
</field>
</bean>
</factory>
</service>
...
</jbpm-context>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: