<!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 Demo - MySQL db config + multiple JBOSS AS instances
</h3>
<span style="margin-bottom: 10px;">
created by <a href="https://community.jboss.org/people/villeit">Ville Itämaa</a> in <i>jBPM</i> - <a href="https://community.jboss.org/message/760986#760986">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;"> </p><p>I have been running and testing and exploring the JBPM demo successfully and setup the MySQL database according to the <a class="jive-link-external-small" href="http://docs.jboss.org/jbpm/v5.3/userguide/ch.installer.html#d0e559">guide</a> (Sections 3.7.2 and 3.7.3). </p><p>All went well until I started fiddle with the MySQL datastore (And I'm quite confident all of that is correct).</p><p>In the troubleshooting tips, it states that ensure you don't have multiple JBOSS AS running.</p><p>From the Ant output it looks like JBOSS AS 5 and JBOSS AS 7 are running in parallel (See output below).</p><p>So how do I turn one instance off (I guess JBOSS AS5 is the one I want to turn off)?</p><p>(My Java/Linux skills are not the strongest). </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Greatful for any help!</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>ant start.demo.db</p><p>Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-7-openjdk-i386/lib/tools.jar</p><p>Buildfile: /home/vilita/Downloads/jbpm-installer/build.xml</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>check.jboss.version:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>download.db.driver.check: <a class="" href="https://community.jboss.org/message/760986#760986#760986/echo">JBPM Demo - MySQL db config + multiple JBOSS AS instances</a> Checking if db driver jar has been downloaded ... </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>download.mysql.driver:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>install.db.files:</p><p>    <a class="" href="https://community.jboss.org/message/760986#760986#760986/mkdir">JBPM Demo - MySQL db config + multiple JBOSS AS instances</a> Created dir: /home/vilita/Downloads/jbpm-installer/jboss-as-7.0.2.Final/modules/com/mysql/main</p><p>     <a class="" href="https://community.jboss.org/message/760986#760986#760986/copy">JBPM Demo - MySQL db config + multiple JBOSS AS instances</a> Copying 1 file to /home/vilita/Downloads/jbpm-installer/jboss-as-7.0.2.Final/modules/com/mysql/main</p><p>     <a class="" href="https://community.jboss.org/message/760986#760986#760986/copy">JBPM Demo - MySQL db config + multiple JBOSS AS instances</a> Copying 1 file to /home/vilita/Downloads/jbpm-installer/jboss-as-7.0.2.Final/modules/com/mysql/main</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>start.jboss:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>check.jboss.version: </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>start.jboss5:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>check.jboss.version:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>start.jboss7:</p><p>  </p><p>start.human.task:</p><p>    <a class="" href="https://community.jboss.org/message/760986#760986#760986/javac">JBPM Demo - MySQL db config + multiple JBOSS AS instances</a> /home/vilita/Downloads/jbpm-installer/build.xml:844: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>BUILD FAILED</p><p>/home/vilita/Downloads/jbpm-installer/build.xml:844: Unable to find a javac compiler;</p><p>com.sun.tools.javac.Main is not on the classpath.</p><p>Perhaps JAVA_HOME does not point to the JDK.</p><p>It is currently set to "/usr/lib/jvm/java-7-openjdk-i386/jre"</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>// Ville</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/760986#760986">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>