<!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;">
Issue building 5.4.0.Final on linux
</h3>
<span style="margin-bottom: 10px;">
created by <a href="https://community.jboss.org/people/peter_courcoux">Peter Courcoux</a> in <i>jBPM Development</i> - <a href="https://community.jboss.org/message/776437#776437">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><span>I have downloaded the 5.4.0.Final tagged sources from </span><a class="jive-link-external-small" href="https://github.com/droolsjbpm/jbpm/tags" target="_blank">https://github.com/droolsjbpm/jbpm/tags</a><span>, extracted the folder and built using "mvn clean install -DskipTests".</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Building on windows 7 using java jdk1.7.0_05 I get a successful build.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Building on ubuntu linux using the same jdk I get an error:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="padding-left: 60px;">[INFO] Building jBPM :: JPA Persistence 5.4.0.Final</p><p style="padding-left: 60px;">[INFO] ------------------------------------------------------------------------</p><p style="padding-left: 60px;">[INFO] </p><p style="padding-left: 60px;">[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ jbpm-persistence-jpa ---</p><p style="padding-left: 60px;">[INFO] Deleting /home/peter/projects/drools-jbpm-project/5.4.0.Final/jbpm-5.4.0.Final/jbpm-persistence-jpa/target</p><p style="padding-left: 60px;">[INFO] Deleting /home/peter/projects/drools-jbpm-project/5.4.0.Final/jbpm-5.4.0.Final/jbpm-persistence-jpa (includes = [btm*, JPADroolsFlow.*.db], excludes = [])</p><p style="padding-left: 60px;">[INFO] </p><p style="padding-left: 60px;">[INFO] --- maven-enforcer-plugin:1.0.1:enforce (default) @ jbpm-persistence-jpa ---</p><p style="padding-left: 60px;">[INFO] </p><p style="padding-left: 60px;">[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ jbpm-persistence-jpa ---</p><p style="padding-left: 60px;">[INFO] Using 'UTF-8' encoding to copy filtered resources.</p><p style="padding-left: 60px;">[INFO] Copying 5 resources</p><p style="padding-left: 60px;">[INFO] </p><p style="padding-left: 60px;">[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jbpm-persistence-jpa ---</p><p style="padding-left: 60px;">[INFO] Compiling 17 source files to /home/peter/projects/drools-jbpm-project/5.4.0.Final/jbpm-5.4.0.Final/jbpm-persistence-jpa/target/classes</p><p style="padding-left: 60px;">[INFO] -------------------------------------------------------------</p><p style="padding-left: 60px;">[ERROR] COMPILATION ERROR : </p><p style="padding-left: 60px;">[INFO] -------------------------------------------------------------</p><p style="padding-left: 60px;">[ERROR] /home/peter/projects/drools-jbpm-project/5.4.0.Final/jbpm-5.4.0.Final/jbpm-persistence-jpa/src/main/java/org/jbpm/persistence/jta/ContainerManagedTransactionManager.java:[20,24] error: cannot find symbol</p><p style="padding-left: 60px;">[ERROR]  package javax.transaction</p><p style="padding-left: 60px;">/home/peter/projects/drools-jbpm-project/5.4.0.Final/jbpm-5.4.0.Final/jbpm-persistence-jpa/src/main/java/org/jbpm/persistence/jta/ContainerManagedTransactionManager.java:[50,14] error: cannot find symbol</p><p style="padding-left: 60px;">[ERROR]  class ContainerManagedTransactionManager</p><p style="padding-left: 60px;">/home/peter/projects/drools-jbpm-project/5.4.0.Final/jbpm-5.4.0.Final/jbpm-persistence-jpa/src/main/java/org/jbpm/persistence/jta/ContainerManagedTransactionManager.java:[53,31] error: cannot find symbol</p><p style="padding-left: 60px;">[INFO] 3 errors </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Does anyone know why this might occur and point me in the right direction to fixing it.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I have tried building from both zip and tar archives on linux with identical results.</p><p>Maven is 3.0.4 on both boxes.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>This is of particular interest as we have a problem running flows on our linux as7 server because of jta transaction issues, specifically, an exception when trying to join a transaction. While the two problems may be totally unrelated, it is possible that they are in that both are jta and linux issues.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Any help much appreciated.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Thanks,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Peter</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/776437#776437">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>