<!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="http://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: JBPM5 compatibility with Tomcat and Maven
</h3>
<span style="margin-bottom: 10px;">
created by <a href="http://community.jboss.org/people/KrisVerlaenen">Kris Verlaenen</a> in <i>jBPM</i> - <a href="http://community.jboss.org/message/577010#577010">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>1. I don't think there's a problem with older versions of maven, I recommend you just give it a try, you only need to change the maven version in prerequisites in the parent pom to your version and try the build.  If it works, let me know and I'll lower the required maven version.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>2. There is no problem with that, although this is currently not supported out-of-the-box in the installer for example.  You would simply need to replace how it is currently configured for JBossAS with the tomcat equivalent.  To get you started, this is what you should do.  If anyone wants to improve the installer script to support tomcat as well, I would gladly accept the help <span> ;) </span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>If you run the installer for JBossAS, it generates and copies various artefacts.  You can get those to work on tomcat by doing:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>copy the jbpm-gwt-console.war and jbpm-gwt-console-server.war to TOMCAT_HOME/webapps</p><p><span>rename jbpm-gwt-console.war to jbpm-console.war (so it shows up on </span><a class="jive-link-external-small" href="http://localhost:8080/jbpm-console" target="_blank">http://localhost:8080/jbpm-console</a></p><p><span>rename jbpm-gwt-console.war to gwt-console-server.war (so it shows up on </span><a class="jive-link-external-small" href="http://localhost:8080/gwt-console-server" target="_blank">http://localhost:8080/gwt-console-server</a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>update TOMCAT_HOME/conf/tomcat-users.xml to include your users + roles</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>copy JBOSS_HOME/server/default/data/birt to TOMCAT_HOME/birt</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>copy h2.jar to TOMCAT_HOME/lib</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>update catalina.bat to set classpath variable jbpm.console.directory to the evaluation resources dir (unless you use guvnor as process repository)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>copy all necessary dependencies that are not in the default tomcat classpath to TOMCAT_HOME/lib (or in the WEB-INF/lib folder of the gwt server war)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Kris</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/577010#577010">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="http://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>