Show Table of Contents
7.2. JBPM Integration Configuration
- To create a JBPM database, start the
DatabaseInitializerMBean. (You will find the configuration settings for this MBean in the first configuration element of theSOA_ROOT/jboss-as/server/PROFILE/deploy/jbpm.esb/jbpm-service.xmlfile.)Warning
The JbpmDS data source is defined in the jbpm-ds.xml file, located inSOA_ROOT/jboss-as/server/PROFILE/deploy/jbpm.esb. By default, it uses a Hypersonic database. Always change this to a production-quality database in a live environment.Warning
The JBoss Enterprise SOA Platform also comes equipped with Hypersonic, an in-memory reference database. Use this in testing environments only. - Follow the example shown below:
<classpath codebase="deploy" archives="jbpm.esb"/> <classpath codebase="deploy/jbossesb.sar/lib" archives="jbossesb-rosetta.jar"/> <mbean code="org.jboss.internal.soa.esb.dependencies.DatabaseInitializer" name="jboss.esb:service=JBPMDatabaseInitializer"> <attribute name="Datasource">java:/JbpmDS</attribute> <attribute name="ExistsSql">select count(*) from JBPM_ID_USER</attribute> <attribute name="SqlFiles"> jbpm-sql/jbpm.jpdl.hsqldb.sql </attribute> <depends>jboss.jca:service=DataSourceBinding,name=JbpmDS</depends> <attribute name="UseEOL">true</attribute> </mbean> <mbean code="org.jboss.soa.esb.services.jbpm.configuration.JbpmService" name="jboss.esb:service=JbpmService"> </mbean>

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.