7.2. JBPM Integration Configuration

  1. To create a JBPM database, start the DatabaseInitializerMBean. (You will find the configuration settings for this MBean in the first configuration element of the SOA_ROOT/jboss-as/server/PROFILE/deploy/jbpm.esb/jbpm-service.xml file.)

    Warning

    The JbpmDS data source is defined in the jbpm-ds.xml file, located in SOA_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.
  2. 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>
    
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.