0 Replies Latest reply on Nov 14, 2012 7:23 AM by peter_courcoux

    Issue building 5.4.0.Final on linux

    Newbie

      Hi,

      I have downloaded the 5.4.0.Final tagged sources from https://github.com/droolsjbpm/jbpm/tags, extracted the folder and built using "mvn clean install -DskipTests".

       

      Building on windows 7 using java jdk1.7.0_05 I get a successful build.

       

      Building on ubuntu linux using the same jdk I get an error:

       

      [INFO] Building jBPM :: JPA Persistence 5.4.0.Final

      [INFO] ------------------------------------------------------------------------

      [INFO]

      [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ jbpm-persistence-jpa ---

      [INFO] Deleting /home/peter/projects/drools-jbpm-project/5.4.0.Final/jbpm-5.4.0.Final/jbpm-persistence-jpa/target

      [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 = [])

      [INFO]

      [INFO] --- maven-enforcer-plugin:1.0.1:enforce (default) @ jbpm-persistence-jpa ---

      [INFO]

      [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ jbpm-persistence-jpa ---

      [INFO] Using 'UTF-8' encoding to copy filtered resources.

      [INFO] Copying 5 resources

      [INFO]

      [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jbpm-persistence-jpa ---

      [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

      [INFO] -------------------------------------------------------------

      [ERROR] COMPILATION ERROR :

      [INFO] -------------------------------------------------------------

      [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

      [ERROR]  package javax.transaction

      /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

      [ERROR]  class ContainerManagedTransactionManager

      /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

      [INFO] 3 errors

       

      Does anyone know why this might occur and point me in the right direction to fixing it.

       

      I have tried building from both zip and tar archives on linux with identical results.

      Maven is 3.0.4 on both boxes.

       

      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.

       

      Any help much appreciated.

       

      Thanks,

       

      Peter