AnsweredAssumed Answered

configuration of process engine

Question asked by fahad1 on Apr 3, 2014
Latest reply on Apr 7, 2014 by trademak
how can i configure process engine in activiti cfg xml file so that The processes should deploy in memory and not in DB type h2. Or how can I configure my own db.

book cdi app from activiti in action has the following configuration. Can someone tel me how to change it?

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns=""

    <!– lookup the JTA-Transaction manager –>
  <bean id="transactionManager" class="org.springframework.jndi.JndiObjectFactoryBean">
    <property name="jndiName" value="java:jboss/TransactionManager"></property>
    <property name="resourceRef" value="true" />

  <!– process engine configuration –>
  <bean id="processEngineConfiguration" class="org.activiti.cdi.CdiJtaProcessEngineConfiguration">
    <property name="dataSourceJndiName" value="java:jboss/datasources/ExampleDS" />
    <property name="databaseType" value="h2" />
    <property name="transactionManager" ref="transactionManager" />
    <property name="transactionsExternallyManaged" value="true" />
    <property name="databaseSchemaUpdate" value="true" />
    <property name="customPostBPMNParseListeners">
        <bean class="org.activiti.cdi.impl.event.CdiEventSupportBpmnParseListener" />