<!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;">
    JBPM 5.3  - Human Task WAR deployment issue
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/shekhargod">shekhar g</a> in <i>jBPM Development</i> - <a href="https://community.jboss.org/message/752897#752897">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,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I have successfully deployed following WARs on Jboss 7.0.1.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>designer, drools-guvnor, jbpm-gwt-console, jbpm-gwt-console-server</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>However, I receive an exception while deploying human task WAR (jbpm-human-task-war).</p><p><span style="font-size: 10pt;">&#160; </span></p><p><span style="font-size: 10pt;"><p><span style="font-size: 10pt;">&#160; </span></p><p><span style="font-size: 10pt;"><p>ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/jbpm-human-task-war]] (MSC service thread 1-1) StandardWrapper.Throwable: </p><span style=": ; font-size: 2;"><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p></span></span></p></span></p><p><span style="text-decoration: underline;"><span style="color: #000080; font-size: 10pt; text-decoration: underline;"><span style="color: #000080; font-size: 10pt; text-decoration: underline;">javax.persistence.PersistenceException:&#160; </span></span></span><span style="font-size: 10pt;"><strong><strong>No Persistence provider for </strong>EntityManager named org.jbpm.task</strong><a class="jive-link-anchor-small">#</a><a class="jive-link-anchor-small">#</a><a class="jive-link-anchor-small">#</a></span><span style=": ; font-size: 2;"><p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p></p></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I <span style="font-size: 10pt;"><span style="font-size: 10pt;"> have modified persistence.xml to connect to </span>SQL Server data source.</span></p><p><span style="font-size: 10pt;"></span></p><p><span style="font-family: monospace; font-size: 13px;"><span class="webkit-html-tag">&lt;persistence<span class="webkit-html-attribute"><span class="Apple-converted-space"> </span><span class="webkit-html-attribute-name">xmlns:orm</span>="<span class="webkit-html-attribute-value"><a class="jive-link-external-small" href="http://java.sun.com/xml/ns/persistence/orm" target="_blank">http://java.sun.com/xml/ns/persistence/orm</a></span>"</span><span class="webkit-html-attribute"><span class="Apple-converted-space"> </span><span class="webkit-html-attribute-name">xmlns:xsi</span>="<span class="webkit-html-attribute-value"><a class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>-</span></span></span></span></p><p><span style="font-family: monospace; font-size: 13px;"><span class="webkit-html-tag"><span class="webkit-html-attribute"><span class="webkit-html-attribute-value">instance</span>"</span><span class="webkit-html-attribute"><span class="Apple-converted-space"> </span><span class="webkit-html-attribute-name">xmlns</span>="<span class="webkit-html-attribute-value"><a class="jive-link-external-small" href="http://java.sun.com/xml/ns/persistence" target="_blank">http://java.sun.com/xml/ns/persistence</a></span>"</span><span class="webkit-html-attribute"><span class="Apple-converted-space"> </span><span class="webkit-html-attribute-name">version</span>="<span class="webkit-html-attribute-value">1.0</span>"</span><span class="webkit-html-attribute"><span class="webkit-html-attribute-name">xsi:schemaLocation</span>="<span class="webkit-html-attribute-value"><a class="jive-link-external-small" href="http://java.sun.com/xml/ns/persistence" 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" 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" 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" target="_blank">http://java.sun.com/xml/ns/persistence/orm_1_0.xsd</a></span>"</span>&gt;</span></span></p><div class="collapsible-content" style="margin-left: 1em;"><span class="text"></span><div class="collapsible" id="collapsible1"><div class="expanded"><div class="line"><span class="button collapse-button" style="width: 10px; display: inline-block; background-position: 0% 0%; height: 10px; margin-left: -10px; vertical-align: bottom; cursor: pointer;"></span><span class="webkit-html-tag">&lt;persistence-unit<span class="webkit-html-attribute"><span class="Apple-converted-space"> </span><span class="webkit-html-attribute-name">name</span>="<span class="webkit-html-attribute-value">org.jbpm.task</span>"</span><span class="webkit-html-attribute"><span class="Apple-converted-space"> </span><span class="webkit-html-attribute-name">transaction-type</span>="<span class="webkit-html-attribute-value">JTA</span>"</span>&gt;</span></div><div class="collapsible-content" style="margin-left: 1em;"><span class="text"></span><div class="line"><span class="webkit-html-tag">&lt;provider&gt;</span><span class="text">org.hibernate.ejb.HibernatePersistence</span><span class="webkit-html-tag">&lt;/provider&gt;</span></div><span class="text"></span><div class="line"><span class="webkit-html-tag">&lt;jta-data-source&gt;</span><span class="text">java:jboss/datasources/jbpmDS</span><span class="webkit-html-tag">&lt;/jta-data-source&gt;</span></div><span class="text"></span><div class="line"><span class="webkit-html-tag">&lt;mapping-file&gt;</span><strong><span class="text">META-INF/Taskorm.xml</span></strong><span class="webkit-html-tag">&lt;/mapping-file&gt;</span></div><span class="text"></span><div class="line"><span class="webkit-html-tag">&lt;class&gt;</span><span class="text">org.jbpm.task.Attachment</span><span class="webkit-html-tag">&lt;/class&gt;</span></div><span class="text"></span><div class="line"><span class="webkit-html-tag">&lt;class&gt;</span><span class="text">org.jbpm.task.BooleanExpression</span><span class="webkit-html-tag">&lt;/class&gt;</span></div><span class="text"></span><div class="line"><span class="webkit-html-tag">&lt;class&gt;</span><span class="text">org.jbpm.task.Comment</span><span class="webkit-html-tag">&lt;/class&gt;</span></div><span class="text"></span><div class="line"><span class="webkit-html-tag">&lt;class&gt;</span><span class="text">org.jbpm.task.Content</span><span class="webkit-html-tag">&lt;/class&gt;</span></div><span class="text"></span><div class="line"><span class="webkit-html-tag">&lt;class&gt;</span><span class="text">org.jbpm.task.Deadline</span><span class="webkit-html-tag">&lt;/class&gt;</span></div><span class="text"></span><div class="line"><span class="webkit-html-tag">&lt;class&gt;</span><span class="text">org.jbpm.task.Delegation</span><span class="webkit-html-tag">&lt;/class&gt;</span></div><span class="text"></span><div class="line"><span class="webkit-html-tag">&lt;class&gt;</span><span class="text">org.jbpm.task.EmailNotification</span><span class="webkit-html-tag">&lt;/class&gt;</span></div><span class="text"></span><div class="line"><span class="webkit-html-tag">&lt;class&gt;</span><span class="text">org.jbpm.task.EmailNotificationHeader</span><span class="webkit-html-tag">&lt;/class&gt;</span></div><span class="text"></span><div class="line"><span class="webkit-html-tag">&lt;class&gt;</span><span class="text">org.jbpm.task.Escalation</span><span class="webkit-html-tag">&lt;/class&gt;</span></div><span class="text"></span><div class="line"><span class="webkit-html-tag">&lt;class&gt;</span><span class="text">org.jbpm.task.Group</span><span class="webkit-html-tag">&lt;/class&gt;</span></div><span class="text"></span><div class="line"><span class="webkit-html-tag">&lt;class&gt;</span><span class="text">org.jbpm.task.I18NText</span><span class="webkit-html-tag">&lt;/class&gt;</span></div><span class="text"></span><div class="line"><span class="webkit-html-tag">&lt;class&gt;</span><span class="text">org.jbpm.task.Notification</span><span class="webkit-html-tag">&lt;/class&gt;</span></div><span class="text"></span><div class="line"><span class="webkit-html-tag">&lt;class&gt;</span><span class="text">org.jbpm.task.OnAllSubTasksEndParentEndStrategy</span><span class="webkit-html-tag">&lt;/class&gt;</span></div><span class="text"></span><div class="line"><span class="webkit-html-tag">&lt;class&gt;</span><span class="text">org.jbpm.task.OnParentAbortAllSubTasksEndStrategy</span><span class="webkit-html-tag">&lt;/class&gt;</span></div><span class="text"></span><div class="line"><span class="webkit-html-tag">&lt;class&gt;</span><span class="text">org.jbpm.task.PeopleAssignments</span><span class="webkit-html-tag">&lt;/class&gt;</span></div><span class="text"></span><div class="line"><span class="webkit-html-tag">&lt;class&gt;</span><span class="text">org.jbpm.task.Reassignment</span><span class="webkit-html-tag">&lt;/class&gt;</span></div><span class="text"></span><div class="line"><span class="webkit-html-tag">&lt;class&gt;</span><span class="text">org.jbpm.task.Status</span><span class="webkit-html-tag">&lt;/class&gt;</span></div><span class="text"></span><div class="line"><span class="webkit-html-tag">&lt;class&gt;</span><span class="text">org.jbpm.task.SubTasksStrategy</span><span class="webkit-html-tag">&lt;/class&gt;</span></div><span class="text"></span><div class="line"><span class="webkit-html-tag">&lt;class&gt;</span><span class="text">org.jbpm.task.Task</span><span class="webkit-html-tag">&lt;/class&gt;</span></div><span class="text"></span><div class="line"><span class="webkit-html-tag">&lt;class&gt;</span><span class="text">org.jbpm.task.TaskData</span><span class="webkit-html-tag">&lt;/class&gt;</span></div><span class="text"></span><div class="line"><span class="webkit-html-tag">&lt;class&gt;</span><span class="text">org.jbpm.task.User</span><span class="webkit-html-tag">&lt;/class&gt;</span></div><span class="text"></span><div class="collapsible" id="collapsible2"><div class="expanded"><div class="line"><span class="button collapse-button" style="width: 10px; display: inline-block; background-position: 0% 0%; height: 10px; margin-left: -10px; vertical-align: bottom; cursor: pointer;"></span><span class="webkit-html-tag">&lt;properties&gt;</span></div><div class="collapsible-content" style="margin-left: 1em;"><span class="text"></span><div class="line"><span class="webkit-html-tag">&lt;property<span class="webkit-html-attribute"><span class="Apple-converted-space"> </span><span class="webkit-html-attribute-name">name</span>="<span class="webkit-html-attribute-value">hibernate.dialect</span>"</span><span class="webkit-html-attribute"><span class="Apple-converted-space"> </span><span class="webkit-html-attribute-name">value</span>="<span class="webkit-html-attribute-value">org.hibernate.dialect.<strong>SQLServerDialect</strong></span>"</span>/&gt;</span></div><span class="text"></span><div class="line"><span class="webkit-html-tag">&lt;property<span class="webkit-html-attribute"><span class="Apple-converted-space"> </span><span class="webkit-html-attribute-name">name</span>="<span class="webkit-html-attribute-value">hibernate.max_fetch_depth</span>"</span><span class="webkit-html-attribute"><span class="Apple-converted-space"> </span><span class="webkit-html-attribute-name">value</span>="<span class="webkit-html-attribute-value">3</span>"</span>/&gt;</span></div><span class="text"></span><div class="line"><span class="webkit-html-tag">&lt;property<span class="webkit-html-attribute"><span class="Apple-converted-space"> </span><span class="webkit-html-attribute-name">name</span>="<span class="webkit-html-attribute-value">hibernate.hbm2ddl.auto</span>"</span><span class="webkit-html-attribute"><span class="Apple-converted-space"> </span><span class="webkit-html-attribute-name">value</span>="<span class="webkit-html-attribute-value">create</span>"</span>/&gt;</span></div><span class="text"></span><div class="line"><span class="webkit-html-tag">&lt;property<span class="webkit-html-attribute"><span class="Apple-converted-space"> </span><span class="webkit-html-attribute-name">name</span>="<span class="webkit-html-attribute-value">hibernate.show_sql</span>"</span><span class="webkit-html-attribute"><span class="Apple-converted-space"> </span><span class="webkit-html-attribute-name">value</span>="<span class="webkit-html-attribute-value">true</span>"</span>/&gt;</span></div><span class="text"></span><div class="line"><span class="webkit-html-tag">&lt;property<span class="webkit-html-attribute"><span class="Apple-converted-space"> </span><span class="webkit-html-attribute-name">name</span>="<span class="webkit-html-attribute-value">hibernate.transaction.manager_lookup_class</span>"</span><span class="webkit-html-attribute"><span class="Apple-converted-space"> </span><span class="webkit-html-attribute-name">value</span>="<span class="webkit-html-attribute-value">org.jbpm.integration.console.JBPMTransactionManager</span>"</span>/&gt;</span></div><span class="text"></span></div><div class="line"><span class="webkit-html-tag">&lt;/properties&gt;</span></div></div></div><span class="text"></span></div><div class="line"><span class="webkit-html-tag">&lt;/persistence-unit&gt;</span></div></div></div><span class="text"></span></div><p><div class="line"><span class="webkit-html-tag">&lt;/persistence&gt;</span></div></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-size: 10pt;"></span>Also, I do not see <strong>Taslorm.xml </strong>in META-INF folder of the human task WAR (jbpm-human-task-war)<a class="jive-link-anchor-small">#</a><a class="jive-link-anchor-small">#</a><a class="jive-link-anchor-small">#</a><a class="jive-link-anchor-small">#</a><a class="jive-link-anchor-small">#</a><a class="jive-link-anchor-small">#</a></p><p><span style="font-size: 10pt;"><strong></strong></span></p><p><span style="font-size: 10pt;">How can this issue be resolved?</span></p><p><span style="font-size: 10pt;"></span></p><p><span style="font-size: 10pt;"></span>Thank you.</p><p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p></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/752897#752897">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM Development at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>