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]

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Critical
    • None
    • 7.2.0.Final
    • Examples
    • None
    • NEW
    • NEW
    • 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

    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.

      Attachments

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

        Activity

          People

            elguardian@gmail.com Enrique González Martínez (Inactive)
            zangdi123456 Di Zang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: