<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
<table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
<tbody>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
<tbody>
<tr>
<td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
<h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
<!-- To have a header image/logo replace the name below with your img tag -->
<!-- Email clients will render the images when the message is read so any image -->
<!-- must be made available on a public server, so that all recipients can load the image. -->
<a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
</td>
</tr>
<tr>
<td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
Re: Example Mina & Human task list
</h3>
<span style="margin-bottom: 10px;">
created by <a href="https://community.jboss.org/people/ouadi_dev">Ouadi BEL</a> in <i>jBPM</i> - <a href="https://community.jboss.org/message/800930#800930">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>Hi <span style="color: #555555; font-family: 'Lucida Sans', 'Lucida Sans Unicode', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; background-color: #eef4f9;">roxy1987</span>,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>After configuring the "webApplication2" for using MySQL, when I want to start JBoss AS 7.1.1 for deploying the web application , I have these ERRORS, and I don't know what's the problem !</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>This is the error message :</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><pre class="jive-pre"><code class="jive-code">
=========================================================================
00:38:09,470 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA
00:38:09,763 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA
00:38:09,843 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
00:38:11,268 INFO  [org.xnio] XNIO Version 3.0.3.GA
00:38:11,288 INFO  [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)
00:38:11,307 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
00:38:11,325 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.3.GA
00:38:11,374 INFO  [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
00:38:11,389 INFO  [org.jboss.as.configadmin] (ServerService Thread Pool -- 26) JBAS016200: Activating ConfigAdmin Subsystem
00:38:11,443 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem.
00:38:11,508 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 38) JBAS011800: Activating Naming Subsystem
00:38:11,572 INFO  [org.jboss.as.osgi] (ServerService Thread Pool -- 39) JBAS011940: Activating OSGi Subsystem
00:38:11,573 INFO  [org.jboss.as.connector] (MSC service thread 1-2) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
00:38:11,607 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013101: Activating Security Subsystem
00:38:11,658 INFO  [org.jboss.as.naming] (MSC service thread 1-1) JBAS011802: Starting Naming Service
00:38:11,693 INFO  [org.jboss.as.security] (MSC service thread 1-2) JBAS013100: Current PicketBox version=4.0.7.Final
00:38:11,755 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension
00:38:11,760 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-3) JBAS015400: Bound mail session [java:jboss/mail/Default]
00:38:11,778 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
00:38:11,840 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
00:38:12,190 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-3) JBoss Web Services - Stack CXF Server 4.0.2.GA
00:38:12,308 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-2) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080
00:38:12,983 INFO  [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on /127.0.0.1:9999
00:38:12,984 INFO  [org.jboss.as.remoting] (MSC service thread 1-1) JBAS017100: Listening on /127.0.0.1:4447
00:38:13,036 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-1) JBAS015012: Started FileSystemDeploymentService for directory /home/ouadi/programing_tools/servres/JBoss/jboss-as-7.1.1.Final/standalone/deployments
00:38:13,204 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) JBAS010400: Bound data source [java:/jBPM5_WebApp_Example_DS]
00:38:13,212 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
00:38:13,322 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "WebApplication2.war"
00:38:15,668 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry activation.jar in "/content/WebApplication2.war/WEB-INF/lib/mail-1.4.jar"  does not point to a valid jar for a Class-Path reference.
00:38:15,810 INFO  [org.jboss.as.jpa] (MSC service thread 1-1) JBAS011401: Read persistence.xml for org.jbpm.persistence.jpa
00:38:15,813 INFO  [org.jboss.as.jpa] (MSC service thread 1-1) JBAS011401: Read persistence.xml for org.jbpm.task
00:38:15,828 INFO  [org.jboss.as.jpa] (MSC service thread 1-1) JBAS011401: Read persistence.xml for org.jbpm.persistence.jpa
00:38:16,096 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."WebApplication2.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."WebApplication2.war".INSTALL: Failed to process phase INSTALL of deployment "WebApplication2.war"
          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_15]
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_15]
          at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_15]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011446: Failed to add persistence unit service for org.jbpm.persistence.jpa
          at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.deployPersistenceUnit(PersistenceUnitDeploymentProcessor.java:383)
          at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.addPuService(PersistenceUnitDeploymentProcessor.java:258)
          at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.handleWarDeployment(PersistenceUnitDeploymentProcessor.java:194)
          at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.deploy(PersistenceUnitDeploymentProcessor.java:118)
          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
          ... 5 more
Caused by: org.jboss.msc.service.DuplicateServiceException: Service jboss.persistenceunit."WebApplication2.war#org.jbpm.persistence.jpa" is already registered
          at org.jboss.msc.service.ServiceRegistrationImpl.setInstance(ServiceRegistrationImpl.java:154) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
          at org.jboss.msc.service.ServiceControllerImpl.startInstallation(ServiceControllerImpl.java:227) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
          at org.jboss.msc.service.ServiceContainerImpl.install(ServiceContainerImpl.java:560) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
          at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:201) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
          at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:2228) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
          at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:201) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
          at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:2228) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
          at org.jboss.msc.service.ServiceBuilderImpl.install(ServiceBuilderImpl.java:307) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
          at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.deployPersistenceUnit(PersistenceUnitDeploymentProcessor.java:374)
          ... 9 more
00:38:16,140 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "WebApplication2.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"WebApplication2.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"WebApplication2.war\".INSTALL: Failed to process phase INSTALL of deployment \"WebApplication2.war\""}}
00:38:16,143 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014777:   Services which failed to start:      service jboss.deployment.unit."WebApplication2.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."WebApplication2.war".INSTALL: Failed to process phase INSTALL of deployment "WebApplication2.war"
00:38:16,147 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"WebApplication2.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"WebApplication2.war\".INSTALL: Failed to process phase INSTALL of deployment \"WebApplication2.war\""}}}}
00:38:16,210 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped deployment WebApplication2.war in 64ms
</code></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>And this is my "persistence.xml" file :</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><pre class="jive-pre"><code class="jive-code jive-xml"><span class="jive-xml-tag"><?xml version="1.0" encoding="UTF-8" standalone="yes"?></span>
<span class="jive-xml-tag"><span><persistence version="1.0" xsi:schemaLocation="</span><a class="jive-link-external-small" href="http://java.sun.com/xml/ns/persistence" rel="nofollow" target="_blank">http://java.sun.com/xml/ns/persistence</a><span> </span><a class="jive-link-external-small" href="http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" rel="nofollow" target="_blank">http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd</a><span>
</span><a class="jive-link-external-small" href="http://java.sun.com/xml/ns/persistence/orm" rel="nofollow" target="_blank">http://java.sun.com/xml/ns/persistence/orm</a><span> </span><a class="jive-link-external-small" href="http://java.sun.com/xml/ns/persistence/orm_1_0.xsd" rel="nofollow" target="_blank">http://java.sun.com/xml/ns/persistence/orm_1_0.xsd</a><span>" xmlns:orm="</span><a class="jive-link-external-small" href="http://java.sun.com/xml/ns/persistence/orm" rel="nofollow" target="_blank">http://java.sun.com/xml/ns/persistence/orm</a><span>" xmlns:xsi="</span><a class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a><span>" xmlns="</span><a class="jive-link-external-small" href="http://java.sun.com/xml/ns/persistence" rel="nofollow" target="_blank">http://java.sun.com/xml/ns/persistence</a><span>"></span></span>
          <span class="jive-xml-tag"><persistence-unit name="org.jbpm.persistence.jpa" transaction-type="JTA"></span>
        <span class="jive-xml-tag"><provider></span>org.hibernate.ejb.HibernatePersistence<span class="jive-xml-tag"></provider></span>
        <span class="jive-xml-tag"><jta-data-source></span>java:jboss/datasources/jBPM5_WebApp_Example_DS<span class="jive-xml-tag"></jta-data-source></span>
              <span class="jive-xml-tag"><class></span>org.drools.persistence.info.SessionInfo<span class="jive-xml-tag"></class></span>
        <span class="jive-xml-tag"><class></span>org.drools.persistence.info.WorkItemInfo<span class="jive-xml-tag"></class></span>
        <span class="jive-xml-tag"><class></span>org.jbpm.process.audit.ProcessInstanceLog<span class="jive-xml-tag"></class></span>
        <span class="jive-xml-tag"><class></span>org.jbpm.process.audit.NodeInstanceLog<span class="jive-xml-tag"></class></span>
        <span class="jive-xml-tag"><class></span>org.jbpm.process.audit.VariableInstanceLog<span class="jive-xml-tag"></class></span>
              <span class="jive-xml-tag"><class></span>org.jbpm.persistence.processinstance.ProcessInstanceInfo<span class="jive-xml-tag"></class></span>
        <span class="jive-xml-tag"><class></span>org.jbpm.persistence.processinstance.ProcessInstanceEventInfo<span class="jive-xml-tag"></class></span>
        <span class="jive-xml-tag"><class></span>org.jbpm.task.Task<span class="jive-xml-tag"></class></span>
                    <span class="jive-xml-tag"><class></span>org.jbpm.task.Comment<span class="jive-xml-tag"></class></span>
                    <span class="jive-xml-tag"><class></span>org.jbpm.task.Attachment<span class="jive-xml-tag"></class></span>
                    <span class="jive-xml-tag"><class></span>org.jbpm.task.I18NText<span class="jive-xml-tag"></class></span>
                    <span class="jive-xml-tag"><class></span>org.jbpm.task.SubTasksStrategy<span class="jive-xml-tag"></class></span>
                    <span class="jive-xml-tag"><class></span>org.jbpm.task.Deadline<span class="jive-xml-tag"></class></span>
                    <span class="jive-xml-tag"><class></span>org.jbpm.task.Escalation<span class="jive-xml-tag"></class></span>
                    <span class="jive-xml-tag"><class></span>org.jbpm.task.Reassignment<span class="jive-xml-tag"></class></span>
                    <span class="jive-xml-tag"><class></span>org.jbpm.task.Notification<span class="jive-xml-tag"></class></span>
                    <span class="jive-xml-tag"><class></span>org.jbpm.task.BooleanExpression<span class="jive-xml-tag"></class></span>
                    <span class="jive-xml-tag"><class></span>org.jbpm.task.User<span class="jive-xml-tag"></class></span>
                    <span class="jive-xml-tag"><class></span>org.jbpm.task.PeopleAssignments<span class="jive-xml-tag"></class></span>          
        <span class="jive-xml-tag"><properties></span>
            <span class="jive-xml-tag"><property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/></span>
            <span class="jive-xml-tag"><property name="hibernate.connection.driver_class" value="com.mysql.jdbc.Driver"/></span>
            <span class="jive-xml-tag"><property name="hibernate.connection.url" value="jdbc:mysql://localhost:3306/DB_jBPM5_WebApp_Example" /></span>
            <span class="jive-xml-tag"><property name="hibernate.connection.username" value="root"/></span>
            <span class="jive-xml-tag"><property name="hibernate.connection.password" value="pass"/></span>
            <span class="jive-xml-tag"><property name="hibernate.connection.autocommit" value="true"/></span>
            <span class="jive-xml-tag"><property name="hibernate.max_fetch_depth" value="3"/></span>
            <span class="jive-xml-tag"><property name="hibernate.hbm2ddl.auto" value="update" /></span>
            <span class="jive-xml-tag"><property name="hibernate.show_sql" value="false" /></span>
            <span class="jive-xml-comment"><!--
            <span class="jive-xml-tag"><property name="hibernate.transaction.manager_lookup_class" value=" org.hibernate.transaction.WebSphereExtendedJTATransactionLookup"/></span>
            -->
        <span class="jive-xml-tag"></properties></span>
    <span class="jive-xml-tag"></persistence-unit></span>
    <span class="jive-xml-tag"><persistence-unit name="org.jbpm.task"></span>
        <span class="jive-xml-tag"><provider></span>org.hibernate.ejb.HibernatePersistence<span class="jive-xml-tag"></provider></span>
        <span class="jive-xml-tag"><class></span>org.jbpm.task.Attachment<span class="jive-xml-tag"></class></span>
        <span class="jive-xml-tag"><class></span>org.jbpm.task.Content<span class="jive-xml-tag"></class></span>
        <span class="jive-xml-tag"><class></span>org.jbpm.task.BooleanExpression<span class="jive-xml-tag"></class></span>
        <span class="jive-xml-tag"><class></span>org.jbpm.task.Comment<span class="jive-xml-tag"></class></span>
        <span class="jive-xml-tag"><class></span>org.jbpm.task.Deadline<span class="jive-xml-tag"></class></span>
        <span class="jive-xml-tag"><class></span>org.jbpm.task.Delegation<span class="jive-xml-tag"></class></span>
        <span class="jive-xml-tag"><class></span>org.jbpm.task.Escalation<span class="jive-xml-tag"></class></span>
        <span class="jive-xml-tag"><class></span>org.jbpm.task.Group<span class="jive-xml-tag"></class></span>
        <span class="jive-xml-tag"><class></span>org.jbpm.task.I18NText<span class="jive-xml-tag"></class></span>
        <span class="jive-xml-tag"><class></span>org.jbpm.task.Notification<span class="jive-xml-tag"></class></span>
        <span class="jive-xml-tag"><class></span>org.jbpm.task.EmailNotification<span class="jive-xml-tag"></class></span>
        <span class="jive-xml-tag"><class></span>org.jbpm.task.EmailNotificationHeader<span class="jive-xml-tag"></class></span>
        <span class="jive-xml-tag"><class></span>org.jbpm.task.PeopleAssignments<span class="jive-xml-tag"></class></span>
        <span class="jive-xml-tag"><class></span>org.jbpm.task.Reassignment<span class="jive-xml-tag"></class></span>
        <span class="jive-xml-tag"><class></span>org.jbpm.task.Status<span class="jive-xml-tag"></class></span>
        <span class="jive-xml-tag"><class></span>org.jbpm.task.Task<span class="jive-xml-tag"></class></span>
        <span class="jive-xml-tag"><class></span>org.jbpm.task.TaskData<span class="jive-xml-tag"></class></span>
        <span class="jive-xml-tag"><class></span>org.jbpm.task.SubTasksStrategy<span class="jive-xml-tag"></class></span>
        <span class="jive-xml-tag"><class></span>org.jbpm.task.OnParentAbortAllSubTasksEndStrategy<span class="jive-xml-tag"></class></span>
        <span class="jive-xml-tag"><class></span>org.jbpm.task.OnAllSubTasksEndParentEndStrategy<span class="jive-xml-tag"></class></span>
        <span class="jive-xml-tag"><class></span>org.jbpm.task.User<span class="jive-xml-tag"></class></span>
        <span class="jive-xml-tag"><class></span>org.drools.persistence.info.SessionInfo<span class="jive-xml-tag"></class></span>
        <span class="jive-xml-tag"><class></span>org.drools.persistence.info.WorkItemInfo<span class="jive-xml-tag"></class></span>
              <span class="jive-xml-tag"><class></span>org.jbpm.persistence.processinstance.ProcessInstanceInfo<span class="jive-xml-tag"></class></span>
        <span class="jive-xml-tag"><class></span>org.jbpm.persistence.processinstance.ProcessInstanceEventInfo<span class="jive-xml-tag"></class></span>
        <span class="jive-xml-tag"><properties></span>
            <span class="jive-xml-tag"><property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/></span>
            <span class="jive-xml-tag"><property name="hibernate.connection.driver_class" value="com.mysql.jdbc.Driver"/></span>
            <span class="jive-xml-tag"><property name="hibernate.connection.url" value="jdbc:mysql://localhost:3306/DB_jBPM5_WebApp_Example" /></span>
            <span class="jive-xml-tag"><property name="hibernate.connection.username" value="root"/></span>
            <span class="jive-xml-tag"><property name="hibernate.connection.password" value="pass"/></span>
            <span class="jive-xml-tag"><property name="hibernate.connection.autocommit" value="true"/></span>
            <span class="jive-xml-tag"><property name="hibernate.max_fetch_depth" value="3"/></span>
            <span class="jive-xml-tag"><property name="hibernate.hbm2ddl.auto" value="update" /></span>
            <span class="jive-xml-tag"><property name="hibernate.show_sql" value="false" /></span>
            <!--
            <span class="jive-xml-tag"><property name="hibernate.transaction.manager_lookup_class" value=" org.hibernate.transaction.WebSphereExtendedJTATransactionLookup"/></span>
            --></span>
        <span class="jive-xml-tag"></properties></span>
    <span class="jive-xml-tag"></persistence-unit></span>
<span class="jive-xml-tag"></persistence></span>
</code></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Datasource configuration in "standalone.xml" file :</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><datasource jta="true" jndi-name="java:/jBPM5_WebApp_Example_DS" pool-name="MySqlDS_Pool" enabled="true" use-java-context="true" use-ccm="true"></p><p>                    <connection-url>jdbc:mysql://localhost:3306/DB_jBPM5_WebApp_Example</connection-url></p><p>                    <driver>mysqlDriver</driver></p><p>                    <security></p><p>                        <user-name>root</user-name></p><p>                        <password></password></p><p>                    </security></p><p>                </datasource></p><p>                </p><p>                </p><p>                <drivers></p><p>                    <driver name="h2" module="com.h2database.h2"></p><p>                        <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class></p><p>                    </driver></p><p>                    <driver name="mysqlDriver" module="com.mysql"></p><p>                        <xa-datasource-class>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</xa-datasource-class></p><p>                    </driver></p><p>                </drivers></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>====</p><p>module.xml file :</p><p>===</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><module xmlns="urn:jboss:module:1.0" name="com.mysql"></p><p>   <resources></p><p>     <resource-root path="mysql-connector-java-5.1.23-bin.jar"/></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   </resources> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   <dependencies></p><p>      <module name="javax.api"/></p><p>      <module name="javax.transaction.api"/></p><p>    </dependencies></p><p></module></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Can you help me please.</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/800930#800930">going to Community</a></p>
<p style="margin: 0;">Start a new discussion in jBPM at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>