<!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: jbpm-console don't start in jBPM 5.2
</h3>
<span style="margin-bottom: 10px;">
created by <a href="https://community.jboss.org/people/roger0681">Rogelio Di Pasquale</a> in <i>jBPM</i> - <a href="https://community.jboss.org/message/646120#646120">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 all,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I faced the same problems, when trying to install jbpm5 on a fresh JBoss 7. After lots of googling, reading forums, and editing xmls, I made it work.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>It is not a problem of files, but a configuration problem. When running ant install.demo, JBoss config files are edited.</p><p>If you try to copy war files to a fresh JBoss 7, you need to do some editing to standalone.xml:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>a) Add a deployment timeout value, because, at least using a slow computer, JBoss times out trying to deploy our war files:</p><p> <em><deployment-scanner name="default" path="deployments" scan-enabled="true" </em></p><p><em>scan-interval="5000" relative-to="jboss.server.base.dir"<strong> deployment-timeout="600"</strong>/></em></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>b) Add a security domain for jbpm-console, because it relies on JBoss security (just search for the default  security-domain, and add this tag after it):</p><p>                 <security-domain name="jbpm-console" cache-type="default"></p><p>                    <authentication></p><p>                        <login-module code="UsersRoles" flag="required"/></p><p>                    </authentication></p><p>                </security-domain></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>c) Also, you need to configure the datasource for jbpm (just add it after Example datasource):</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><datasource jndi-name="java:jboss/datasources/jbpmDS" pool-name="H2DS" enabled="true" jta="true" use-java-context="true" use-ccm="true"></p><p>                    <connection-url></p><p>                        jdbc:h2:tcp://localhost/~/test</p><p>                    </connection-url></p><p>                    <driver></p><p>                        h2</p><p>                    </driver></p><p>                    <pool></p><p>                        <prefill></p><p>                            false</p><p>                        </prefill></p><p>                        <use-strict-min></p><p>                            false</p><p>                        </use-strict-min></p><p>                        <flush-strategy></p><p>                            FailingConnectionOnly</p><p>                        </flush-strategy></p><p>                    </pool></p><p>                    <security></p><p>                        <user-name></p><p>                            sa</p><p>                        </user-name></p><p>                        <password></p><p>                            </p><p>                        </password></p><p>                    </security></p><p>                </datasource></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>d) At last, I commented jpa subsystem, because jbpm-gwt-console-server would never run (I don't know why).</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><strong><!--</strong></p><p><strong>        <subsystem xmlns="urn:jboss:domain:jpa:1.0"></strong></p><p>            <jpa default-datasource=""/></p><p>        </subsystem></p><p><strong>--></strong></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Thats all, folks. </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Then, when you run JBoss and log into jbpm-console, you need to have a task-server running.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Here is a link that addresses some of this problems: <a class="jive-link-external-small" href="http://kverlaen.blogspot.com/2011/07/jbpm5-on-as7-lightning.html">http://kverlaen.blogspot.com/2011/07/jbpm5-on-as7-lightning.html</a> (yes, mr krisv)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Roger</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/646120#646120">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>