Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-6427

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [jee-tx-context.xml]

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Explained
    • Affects Version/s: 7.2.0.Final
    • Fix Version/s: None
    • Component/s: Examples
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      1.I change pom.xml from "spring-jbpm-app" of project

      <kie.version>6.5.0-SNAPSHOT</kie.version>
      <jbpm.version>6.5.0.Final</jbpm.version>

      into

      <kie.version>7.2.0-SNAPSHOT</kie.version>
      <jbpm.version>7.2.0.Final</jbpm.version>

      2. clean projects
      3. deploy war
      4. run tomcat

      Show
      1.I change pom.xml from "spring-jbpm-app" of project <kie.version>6.5.0-SNAPSHOT</kie.version> <jbpm.version>6.5.0.Final</jbpm.version> into <kie.version>7.2.0-SNAPSHOT</kie.version> <jbpm.version>7.2.0.Final</jbpm.version> 2. clean projects 3. deploy war 4. run tomcat
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      According to "20.3.2. jBPM services with Spring" from jBPM Documentation. I download the example from "https://github.com/mswiderski/spring-jbpm-app".
      I can make it run.
      But when I change jBPM6.5.jar into jBPM7.1/7.2/7.3, there are some bugs, as follows:

      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [jee-tx-context.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: No JTA UserTransaction available - specify either 'userTransaction' or 'userTransactionName' or 'transactionManager' or 'transactionManagerName'

      The jBPM6.5 & jBPM7.1 have the same config of JTA, I think JTA is right.

      The attachment are configuration files.

        Gliffy Diagrams

          Attachments

          1. jpa-context.xml
            1 kB
          2. jee-tx-context.xml
            1 kB
          3. jbpm-persistence.xml
            4 kB
          4. jbpm-context.xml
            4 kB
          5. context.xml
            2 kB

            Activity

              People

              • Assignee:
                elguardian Enrique González Martínez
                Reporter:
                zangdi123456 Di Zang
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: