JBoss Community

Re: ERROR deploying a jBPM-Web-Application

created by Ouadi BEL in jBPM - View the full discussion

Datasource configuration in "standalone.xml" file :

 

               <datasource jta="true" jndi-name="java:/jBPM5_WebApp_Example_DS" pool-name="MySqlDS_Pool" enabled="true" use-java-context="true" use-ccm="true">

                    <connection-url>jdbc:mysql://localhost:3306/DB_jBPM5_WebApp_Example</connection-url>

                    <driver>mysqlDriver</driver>

                    <security>

                        <user-name>root</user-name>

                        <password></password>

                    </security>

                </datasource>

 

 

                <drivers>

                    <driver name="h2" module="com.h2database.h2">

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

                    </driver>

                    <driver name="mysqlDriver" module="com.mysql">

                        <xa-datasource-class>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</xa-datasource-class>

                    </driver>

                </drivers>

 

module.xml file :

 

<module xmlns="urn:jboss:module:1.0" name="com.mysql">

 

   <resources>

     <resource-root path="mysql-connector-java-5.1.23-bin.jar"/>

   </resources>

 

 

   <dependencies>

      <module name="javax.api"/>

      <module name="javax.transaction.api"/>

    </dependencies>

 

</module>

Reply to this message by going to Community

Start a new discussion in jBPM at Community