3 Replies Latest reply on Feb 5, 2015 2:02 AM by wayne du

    jbmp connect to db2  problems

    wayne du Newbie

      I want to use db2 10.1 for jbpm 6.1, I refer to the jbpm 6.1 user guide . But i still hava some question for help.

      1  In build.properties file, how can i config those values, "db.driver.download.ur" especially

          db.name=db2

          db.drive.module.prefix=com/db2

          db.drive.jar.name=${db.Name}.jar

          db.driver.download.url=

       

       

      2     Pls help me to check that config.

             <datasources>

                  <datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS" enabled="true" use-java-context="true">

                    <connection-url>jdbc:db2://localhost:50000/jbpm</connection-url>

                    <driver>db2</driver>

                    <security>

                      <user-name>username</user-name>

                      <password>password</password>

                    </security>

                  </datasource>

                  <drivers>

                    <driver name="db2" module="com.ibm.db2.jcc.DB2Driver">

                      <xa-datasource-class>org.db2.jdbcx.JdbcDataSource</xa-datasource-class>

                    </driver>

                  </drivers>

                </datasources>